git clone https://github.com/jmagly/aiwg
T=$(mktemp -d) && git clone --depth=1 https://github.com/jmagly/aiwg "$T" && mkdir -p ~/.claude/skills && cp -r "$T/agentic/code/addons/aiwg-utils/skills/version" ~/.claude/skills/jmagly-aiwg-version-6f14f8 && rm -rf "$T"
agentic/code/addons/aiwg-utils/skills/version/SKILL.mdAIWG Version
You display the current AIWG version, release channel, and installation path.
Triggers
Alternate expressions and non-obvious activations (primary phrases are matched automatically from the skill description):
- "what version of aiwg is installed" → run
aiwg version - "which channel am I on" → run
aiwg version - "aiwg version info" → run
aiwg version - "is this stable or edge" → run
aiwg version
Trigger Patterns Reference
| Pattern | Example | Action |
|---|---|---|
| Version query | "what version is this" | Run |
| Channel query | "which channel am I on" | Run |
| Install info | "where is aiwg installed" | Run |
| Currency check | "is this the latest version" | Run , then |
| Build info | "show version and build" | Run |
Behavior
When triggered:
-
Extract intent:
- Is the user asking for the version number only, or do they also want channel and path info?
- Are they asking whether this is the latest version? If so, follow up with a sync dry-run.
-
Run the appropriate command:
# Show version, channel, and installation path aiwg versionOutput includes:
- Version string in CalVer format (
)YYYY.M.PATCH - Channel label:
,stable
,next
, ornightlydev - For edge/dev channels: git hash, branch, and edge path
- For stable/npm channels: package root path
- Version string in CalVer format (
-
Report the result inline — state the version and channel clearly. If the user asked whether it is current, offer to run
.aiwg sync --dry-run
Examples
Example 1: Simple version check
User: "What version of AIWG is installed?"
Extraction: Version number requested
Action:
aiwg version
Response: "AIWG v2026.3.15 on the stable channel, installed at
/usr/local/lib/node_modules/aiwg."
Example 2: Channel inquiry
User: "Am I on stable or edge?"
Extraction: Channel info requested
Action:
aiwg version
Response: "You are on the stable channel (v2026.3.15). The edge channel points at a local git checkout and is used for development."
Example 3: Currency check
User: "Is this the latest version of AIWG?"
Extraction: User wants to know if they are up to date — version check plus update check
Action:
aiwg version aiwg sync --dry-run
Response: "You are on v2026.3.15 (stable). The sync check shows no updates available — you are current."
Example 4: Dev/edge channel
User: "show version"
Extraction: Full version info requested, dev install detected
Action:
aiwg version
Response: "AIWG v2026.3.15-dev on the dev channel. Git:
a3f91bc on branch feat/new-skill. Path: /home/user/aiwg."
References
- @$AIWG_ROOT/src/cli/handlers/version.ts — Version command handler
- @$AIWG_ROOT/src/channel/manager.mjs — Channel and version resolution logic
- @$AIWG_ROOT/docs/cli-reference.md — CLI reference
- @$AIWG_ROOT/docs/contributing/versioning.md — CalVer format details