status

A command that shows the current progress and status of a Forge task system, including work phases, tasks, errors, checkpoints, and token usage.

In plain words
What is it for?
Use it to check Forge progress, remaining tasks, budget usage, active checkpoints, errors, autonomy state, or other stored run details.
Why use it?
It gathers status from Forge's records into one view, so you do not need to inspect each progress source separately.

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/lucasduys/forge/status
Clone the repo
git clone --depth 1 https://github.com/LucasDuys/forge
Per session 5 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,063 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.00005 $0.01063
Opus 5 $0.00003 $0.00531
Sonnet 5 $0.00001 $0.00213
Haiku 4.5 $0.00001 $0.00106

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

Security

Grade A, and why

status 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.

commands/status.md · 109 lines

How it starts

The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Forge Status

First-Run Wizard (R004.AC3)

Before anything else, fire the one-shot token-reduction wizard. Idempotent — prints once on first install, then no-ops forever. Suppressed when /forge:watch is rendering its own banner (R004.AC6).

node "${CLAUDE_PLUGIN_ROOT}/scripts/forge-wizard.cjs" --forge-dir .forge

Present a unified Forge dashboard. If the user passed --json anywhere in the command arguments, emit machine-readable JSON instead of the formatted view.

Data sources

Run these commands and combine their output. Always pass --forge-dir .forge.

  1. node ${CLAUDE_PLUGIN_ROOT}/scripts/forge-tools.cjs headless query --forge-dir .forge --json
    • Authoritative snapshot from T011: phase, current_task, completed/remaining task counts, lock_status, active_checkpoints, last_error, token totals.
  2. node ${CLAUDE_PLUGIN_ROOT}/scripts/forge-tools.cjs budget-status --forge-dir .forge --json
    • Per-task token ledger plus session budget summary and iteration count.
  3. Read .forge/state.md directly for fields the headless query does not surface (autonomy, depth, blocked_reason, last heartbeat timestamp).
  4. Read .forge/capabilities.json if it exists to count MCP servers and skills.
  5. Check whether .forge/.forge-loop.json exists -- if so, the autonomous loop is currently active.
  6. Check whether .forge/.forge-debug.log exists and is non-empty.
  7. List .forge/checkpoints/*.json (if the directory exists) to surface any in-progress task checkpoints.

JSON mode

If the user passed --json, output a single JSON object with these top-level keys merged from the sources above. Do not pretty-format with extra commentary.

{
  "phase": "...",
  "spec": "...",
  "current_task": "...",
  "task_status": "...",
  "iteration": N,
  "max_iterations": N,
  "tasks": { "completed": N, "remaining": N, "total": N },
  "tokens": { "used": N, "budget": N, "percent": N, "remaining": N },
  "per_task_budgets": [ ... from budget-status ... ],
  "lock_status": "free|held|stale",
  "active_checkpoints": N,
  "last_error": "...",
  "depth": "...",
  "autonomy": "...",
  "loop_active": true|false,
  "debug_log_has_entries": true|false,
  "blocked_reason": "..." | null,
  "capabilities": { "mcp_servers": N, "skills": N }
}

Read the full file on GitHub · 109 lines

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 · 109 lines · 5 tokens per session scan A a7d197c77e5f

Subscribe to this mod's changes

status is a command published in the GitHub repository LucasDuys/forge (55 stars, last pushed 1mo ago), licensed MIT. It adds 5 tokens to every session and 1,063 once invoked, about $0.0000 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.