Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add zebbern/agent-collab/plugin install goalWrote 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.
[](https://agentmods.dev/commands/zebbern/agent-collab/step)<a href="https://agentmods.dev/commands/zebbern/agent-collab/step"><img src="https://agentmods.dev/badge/commands/zebbern/agent-collab/step/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.
<a href="https://agentmods.dev/commands/zebbern/agent-collab/step"><img src="https://agentmods.dev/badge/commands/zebbern/agent-collab/step.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00008 | $0.00955 |
| Opus 5.5 | $0.00003 | $0.00382 |
| Sonnet 5.5 | $0.00002 | $0.00191 |
| Haiku 4.5 | $0.00001 | $0.00096 |
Grade A, and why
step 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 2mo 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.
What it actually says
Advance the goal one increment. One increment per invocation — when step 7
completes, stop. Do not start another increment; repetition is the user's
call (or /loop while they watch).
- Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" next [slug] --json. If it refuses (goal blocked/done, an item already in progress, nothing todo), surface the reason verbatim and stop. - Announce the increment in one line — what it is and whether you intend to delegate it.
- Run
node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" start <slug> <itemId>. - Execute with judgment: trivial work stays local; otherwise delegate via
the
codex-delegation/cursor-delegationskills. Analysis and implementation are separate delegations when both are needed, within the goal'sbudget.perStepDelegations(advisory: say so if you exceed it). - Verify through the project's own gates (this repo:
npm run verify) and land the change as a PR; the user merges. - If delegated work fails verification: refine the brief with the failure evidence and re-delegate once (it counts against the step budget). If it
fails again, record the item as blocked:
node "${CLAUDE_PLUGIN_ROOT}/scripts/goal-companion.mjs" record <slug> <itemId> --disposition blocked --notes "<evidence>" - Record the real disposition (
mergedwith--pr <n>and--delegate, ordiscarded/blockedwith--notes), show the one-line output ofstatus, and stop.
Unattended (scheduled) operation
The same one-increment choreography can be driven without a human watching —
by /loop or a Claude Code scheduled agent. Only the trigger changes; the
architecture does not. Extra rails for that mode:
- One writer per project. Prevent overlapping scheduled wakes and manual
/goal:stepinvocations. If another runner may still be active, stop before changing goal state. - Branch naming. Do the increment's work on a branch named
goal/<slug>/<itemId>, so a later wake can find its PR mechanically. - An unattended step never merges PRs. It opens the PR, leaves the item in-progress, and stops. Merging stays human.
- Reconcile before stepping. On wake, if an item is in-progress, find its
PR from the project's repository before doing anything else:
gh pr list --state all --head "goal/<slug>/<itemId>" --json number,state,headRefName,mergedAt. Require exit code 0 and a JSON array containing exactly one PR with a positive integernumberandheadRefNameexactly equal togoal/<slug>/<itemId>. A failed query, invalid or incomplete JSON, no PR, multiple PRs, a different head branch, or inconsistentstate/mergedAtis unresolved: report the evidence and stop without recording a disposition or starting another item. Never infer a disposition from an absent PR or choose among multiple PRs.state: MERGEDwith a non-nullmergedAt→record <slug> <itemId> --disposition merged --pr <n>.state: CLOSEDwithmergedAt: null→record <slug> <itemId> --disposition discarded --notes "PR #<n> closed without merge".state: OPENwithmergedAt: null→ stop and wait; do not start another increment. Any other state is unresolved. After recording merged or discarded, showstatusand stop this wake; only a later invocation may select another item.
- Blocked halts the loop. A blocked goal stops every subsequent wake until a human resolves it — exactly as in attended mode.
- Budget stays advisory, but every delegation is still announced into the session log, so the wake's transcript carries the same disclosure a watching user would have seen.
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.
- 2mo ago Changed · +15 lines d433d3f00f81
- 3mo ago First seen · 51 lines · 8 tokens per session scan A d418b5a12348
step is a command published in the GitHub repository zebbern/agent-collab (35 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 8 tokens to every session and 955 once invoked, about $0.0000 per session on Opus 5.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.
step compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| stepzebbern/agent-collab | Command | 35 | 2mo ago | Apache-2.0 | A | 8 | Claude Code |
| deps-updatetravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 5 | Claude Code |
| security-scantravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 6 | Claude Code |
| test-suitetravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 7 | Claude Code |
| assemble-teamtravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 25 | Claude Code |
| runtravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 19 | Claude Code |
| standardize-claude-mdtravisjneuman/.claude | Command | 115 | yesterday | MIT | A | 18 | Claude Code |