status

status is a command for Claude Code from danielraffel/generous-corp-marketplace. It costs 5 tokens per session (851 once invoked), scanned A, original, MIT.

A command that reports the state of workflow chains, meaning sequences of automated steps. It shows chains currently running and recently completed ones, including their step, location, process status, and result.

In plain words
What is it for?
Checking active chains, reviewing completed chains, detecting dead processes, and finding the commands used to list or run available chains.
Why use it?
It makes it easier to see whether an automated sequence is still running, finished successfully, or stopped unexpectedly.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the chainer plugin — 5 commands shipped together

Good fit Checking active chains, reviewing completed chains, detecting dead processes, and finding the commands used to list or run available chains.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/danielraffel/generous-corp-marketplace/status
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.

Clone the repo
git clone --depth 1 https://github.com/danielraffel/generous-corp-marketplace

Made for: Claude Code.

Or install chainer, the plugin that ships this one along with the rest of its 5 commands.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for status

README.md
[![agentmods](https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/status/github.svg)](https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/status)
Your own site
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/status"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/status/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for status

Your own site · 80×15
<a href="https://agentmods.dev/commands/danielraffel/generous-corp-marketplace/status"><img src="https://agentmods.dev/badge/commands/danielraffel/generous-corp-marketplace/status.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
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 851 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00005 $0.00851
Opus 5 $0.00003 $0.00426
Sonnet 5 $0.00001 $0.00170
Haiku 4.5 $0.00001 $0.00085

Measured 9d ago against content hash 3938b0320591, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, 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 9d 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.

plugins/chainer/commands/status.md · 121 lines

How it starts

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

Chainer: Chain Status

Display currently running chains and recently completed chains.

User Communication: Be concise. Show status directly without "Let me check..." narration.

Step 1: Read State File

Check for the chainer state file at .claude/chainer-state.json.

If the file doesn't exist, display:

No chains have been run yet.

Use /chainer:list to see available chains
Use /chainer:run <chain-name> to execute a chain

Step 2: Parse State

The state file format:

{
  "running_chains": [
    {
      "chain": "plan-and-implement",
      "started": "2025-01-05T10:30:00Z",
      "cwd": "~/worktrees/oauth",
      "current_step": 2,
      "total_steps": 2,
      "step_name": "implement",
      "pid": 12345
    }
  ],
  "completed_chains": [
    {
      "chain": "plan-only",
      "started": "2025-01-05T09:00:00Z",
      "completed": "2025-01-05T09:15:00Z",
      "cwd": "~/worktrees/billing",
      "success": true
    }
  ]
}

Step 3: Check Process Status

For each running chain:

  1. Check if the process (PID) is still alive using ps -p <pid>
  2. If not alive, move it to completed_chains with success=false
  3. Update the state file

Step 4: Display Status

Format output like this:

┌─────────────────────────────────────────┐
│ Chainer Status                          │
├─────────────────────────────────────────┤
│ Running Chains (1)                      │
│                                         │
│ 🔄 plan-and-implement (oauth)           │
│    Step 2/2: implement                  │
│    Directory: ~/worktrees/oauth         │
│    Running: 10 min                      │
│    PID: 12345                           │
├─────────────────────────────────────────┤
│ Recently Completed (3)                  │
│                                         │
│ ✅ plan-only (billing)                  │
│    Completed 5 min ago                  │
│    Duration: 15 min                     │
│    Directory: ~/worktrees/billing       │
│                                         │
│ ✅ implement-only (payments)            │
│    Completed 1 hour ago                 │
│    Duration: 45 min                     │
│    Directory: ~/worktrees/payments      │
│                                         │
│ ❌ plan-and-implement (subscriptions)   │
│    Failed 2 hours ago                   │
│    Duration: 30 min                     │
│    Directory: ~/worktrees/subscriptions │
└─────────────────────────────────────────┘

💡 Tip: Recently completed shows last 10 chains

Read the full file on GitHub · 121 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. 9d ago First seen · 121 lines · 5 tokens per session scan A 3938b0320591

Subscribe to this mod's changes

status is a command published in the GitHub repository danielraffel/generous-corp-marketplace (11 stars, last pushed 10d ago), licensed MIT. It adds 5 tokens to every session and 851 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.