version

A command that compares the installed version of the ai-sdlc plugin with the newest version published in its marketplace. It checks the marketplace immediately instead of using the usual 24-hour cache.

In plain words
What is it for?
Use it to verify an update, investigate missing or changed features, and see the installed version, latest version, check time, and status.
Why use it?
It shows whether the plugin is outdated when a feature behaves differently from its documentation. It also distinguishes an old installation from a failed marketplace check.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/ai-sdlc-framework/ai-sdlc/version
Clone the repo
git clone --depth 1 https://github.com/ai-sdlc-framework/ai-sdlc
Per session 24 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 541 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00024 $0.00541
Opus 5 $0.00012 $0.00270
Sonnet 5 $0.00005 $0.00108
Haiku 4.5 $0.00002 $0.00054

Measured 2d ago against content hash 0bb695a4c382, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

version scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

ai-sdlc-plugin/commands/version.md · 72 lines

What it actually says

Show the installed ai-sdlc plugin version, the latest published version on the marketplace, and whether the install is up to date. Bypasses the 24h cache used by the SessionStart staleness nag (AISDLC-89) — every run re-fetches marketplace.json from main.

When to run this

  • After you've ignored the SessionStart nag for a few sessions and want to re-check whether you're still behind.
  • After running /plugin update ai-sdlc && /reload-plugins, to confirm the install actually advanced.
  • When debugging "why doesn't /<some-feature> work?" — the answer is often that the plugin is older than the documented version.

Output

ai-sdlc plugin
- Installed: v0.8.1
- Latest: v0.8.1
- Last checked: just now
- Status: ✓ up to date

When stale:

ai-sdlc plugin
- Installed: v0.7.0
- Latest: v0.8.1
- Last checked: just now
- Status: ⚠ stale — run /plugin update ai-sdlc && /reload-plugins

When the marketplace can't be reached:

ai-sdlc plugin
- Installed: v0.8.1
- Latest: unknown (fetch failed)
- Status: ? could not reach marketplace.json

Implementation contract

Run the version-check hook in print mode and surface its output verbatim:

node "${CLAUDE_PLUGIN_ROOT}/hooks/check-plugin-version.js" --print

The hook respects AI_SDLC_DISABLE_VERSION_CHECK=1 — if the operator has opted out of the SessionStart nag, this command will print ai-sdlc plugin version check disabled (AI_SDLC_DISABLE_VERSION_CHECK=1) and exit. That's intentional — opt-out is opt-out across both surfaces.

Notes

  • This command never mutates the install. To actually update, run /plugin update ai-sdlc && /reload-plugins.
  • Last checked reflects the cache freshness AFTER this command refreshes it — so it always says "just now" on a successful fetch.
  • Network failures don't fail the command. They just report Status: ? could not reach marketplace.json.
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 72 lines · 24 tokens per session scan A 0bb695a4c382

Subscribe to this mod's changes

version is a command published in the GitHub repository ai-sdlc-framework/ai-sdlc (92 stars, last pushed 9d ago), licensed Apache-2.0. It adds 24 tokens to every session and 541 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.