version
Display the current AIWG version, release channel, and installation path
- License 许可
- MIT
- 所属仓库
- jmagly/aiwg
- 最近更新
- 2026-11-11
- Stars
- ★ 229
- Forks
- 36
01 前言 Front Matter
- name
- version
- namespace
- aiwg
- platforms
- [ "all" ]
- description
- Display the current AIWG version, release channel, and installation path
03 SKILL.md 正文
AIWG 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 aiwg version |
| Channel query | "which channel am I on" | Run aiwg version |
| Install info | "where is aiwg installed" | Run aiwg version |
| Currency check | "is this the latest version" | Run aiwg version, then aiwg sync --dry-run |
| Build info | "show version and build" | Run aiwg version |
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,nightly, ordev - 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
04 同仓库更多 Skills
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
host-hardening
Read-only system hardening baseline and plan-first host hardening recommendations for SSH, Docker bind addresses, firewall persistence, datastores, exporters and audit retention.
exposure-analysis
Read-only firewall analysis and effective host exposure reconstruction for Docker published ports, UFW bypass, stale rules, CDN scope, IPv6 asymmetry and external probe allowlists.
fixture-skill
Exercise rule delivery.
pi-local
Pi-local duplicate-precedence fixture.