status

A command that reports detailed information about the current coding workspace, including its project, purpose, owner, dates, and linked work items.

In plain words
What is it for?
Use it when you need to identify a workspace, review its metadata and notes, list linked pull requests or tickets, or check live pull-request status.
Why use it?
It gathers workspace details and related notes in one place instead of making you inspect several files and references manually.

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/mdsakalu/agent-plugins/status
Clone the repo
git clone --depth 1 https://github.com/mdsakalu/agent-plugins
Per session 6 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 550 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.00006 $0.00550
Opus 5 $0.00003 $0.00275
Sonnet 5 $0.00001 $0.00110
Haiku 4.5 $0.00001 $0.00055

Measured 2d ago against content hash 69294558e9ba, 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.

workspace/commands/status.md · 44 lines

What it actually says

Show detailed status for a workspace.

Resolve the metarepo path by reading ~/.claude/workspace-config.json and expanding ~ to $HOME.

The user's request: $ARGUMENTS

Steps

  1. Read ~/.claude/workspace-config.json to get the metarepo path. Expand ~ to $HOME.
  2. Determine which workspace to report on:
    • If the user specified <repo>/<workspace>, use it directly
    • If just <workspace>, search across all repos
    • If no argument, try to infer from cwd: check if cwd matches */repos/<repo>/<workspace>* and extract both
    • If unable to determine, list available workspaces and ask
  3. Read workspace metadata from <metarepo>/notes/<repo>/<workspace>/workspace.json:
    • Show: repo, name, type, purpose, owner, created date, retired status
  4. Show all references from workspace.json:
    • For PRs: show number, URL, JJ change_id, branch
    • Optionally get live PR status: gh pr view <number> --json state,title --repo <github_owner>/<github_repo>
    • For Jira tickets: show ticket key
  5. Read notes summary from <metarepo>/notes/<repo>/<workspace>/README.md (first ~10 lines).
  6. List other files in the notes directory.
  7. If the workspace directory exists at <metarepo>/repos/<repo>/<workspace>/, run from it:
    jj log --limit 5
    jj status
    
  8. Read .repo.json from <metarepo>/repos/<repo>/ for GitHub owner/repo info (used for PR lookups).
  9. Present all information in a well-organized format.

Important

  • Always resolve metarepo from ~/.claude/workspace-config.json, never hardcode paths.
  • Workspace metadata is in notes/<repo>/<workspace>/workspace.json (source of truth).
  • Workspace code lives at repos/<repo>/<workspace>/.
  • Handle missing workspaces gracefully — if the directory is gone but notes exist, show available metadata.
  • If jj commands fail, report the error but still show metadata from workspace.json.
  • Read .repo.json for GitHub owner/repo to use with gh pr view.
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 · 44 lines · 6 tokens per session scan A 69294558e9ba

Subscribe to this mod's changes

status is a command published in the GitHub repository mdsakalu/agent-plugins (4 stars, last pushed 2mo ago), licensed MIT. It adds 6 tokens to every session and 550 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-31.