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.
npx agentmods add commands/bacsystem/parallel-plan-executor/run-plangit clone --depth 1 https://github.com/bacsystem/parallel-plan-executorWhat 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 | $0.00017 | $0.02349 |
| Opus 5 | $0.00009 | $0.01175 |
| Sonnet 5 | $0.00003 | $0.00470 |
| Haiku 4.5 | $0.00002 | $0.00235 |
Grade A, and why
run-plan 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 161 lines — stays where its author put it; the contents beside it link to each section on GitHub.
What this command does
Runs the parallel-plan-executor Workflow against a cys:plan implementation plan,
executing its independent tasks in parallel instead of one at a time.
REPO = ${CLAUDE_PLUGIN_ROOT}
Steps
-
Parse
$ARGUMENTSas up to three whitespace-separated tokens:plan-path,repo-path,integration-branch. Any of the three that's missing or ambiguous — ask the user for it in plain language before continuing. Do not guess a plan path, a target repo, or a branch name. -
Check for leftover state from an interrupted run: check whether
<repo-path>/.cys/state.jsonexists. If it does not, continue normally — step 4 below usesbin/parse-plan.jsas usual.- If it exists, read it:
- If its
planPathmatches<plan-path>exactly: tell the user which tasks are alreadydone/failed/pending per the file, and ask whether to continue with only what's left (step 4 below then usesbin/plan-remainder.jsinstead ofbin/parse-plan.js) or start fresh (delete<repo-path>/.cys/state.jsonfirst; step 4 then usesbin/parse-plan.jsas usual). - If its
planPathdoes not match: warn the user there's incomplete state from a different, unrelated run and ask how to proceed (look at it first / delete it and continue / stop) — never decide silently.
- If its
- If it exists, read it:
-
Sanity-check before running anything:
- Confirm
plan-pathexists and looks like an approved plan (has### Task N:blocks). If it looks like a spec instead of a plan, say so and stop. - Confirm
repo-pathis a git repo with a clean working tree (git status). If it's dirty, tell the user and stop — don't run against uncommitted work. - Confirm
integration-branchis an ephemeral feature branch (e.g.feature/<name>), notdevelop/main/masterdirectly. If the user asked for one of those directly, warn them (mainline should never take agent merges directly) and confirm they really want that before proceeding.
- Confirm
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.
- yesterday First seen · 161 lines · 0 tokens per session scan A 2bfbe2019fbe
run-plan is a command published in the GitHub repository bacsystem/parallel-plan-executor (2 stars, last pushed 1mo ago), licensed MIT. It adds 17 tokens to every session and 2,349 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-31.
Other commands, from other repositories
pr-address
Address PR review comments on current branch.
plan-save
Save the current session's plan to GitHub as an issue.
enforce_standards
CRITICAL: Before running the code standards enforcer, we must prepare the stack properly and abort if there are merge conflicts.
OPSX: Sync
Sync delta specs from a change to main specs.
context
项目上下文管理:初始化 .context 目录、记录决策日志、压缩归档、查看历史.
OPSX: Verify
Verify implementation matches change artifacts before archiving.