gsd:plan-review-convergence

gsd:plan-review-convergence is a command for Claude Code from mrboups/xbrain. It costs 26 tokens per session (838 once invoked), scanned A, a copy of gsd:plan-review-convergence, MIT.

A repeatable workflow that sends a project plan to several AI reviewers, applies their feedback, and checks it again until no high-priority concerns remain.

In plain words
What is it for?
Use it to review project phases with multiple AI tools and iterate on the plan until reviewers agree or the process needs escalation.
Why use it?
It helps catch serious planning problems before implementation and keeps revisions focused on unresolved risks.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: names the AskUserQuestion tool; mentions Codex; mentions Gemini CLI.

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/mrboups/xbrain/plan-review-convergence
Clone the repo
git clone --depth 1 https://github.com/mrboups/xbrain

Made for: Claude Code.

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 gsd:plan-review-convergence

README.md
[![agentmods](https://agentmods.dev/badge/commands/mrboups/xbrain/plan-review-convergence.svg)](https://agentmods.dev/commands/mrboups/xbrain/plan-review-convergence)
Your own site
<a href="https://agentmods.dev/commands/mrboups/xbrain/plan-review-convergence"><img src="https://agentmods.dev/badge/commands/mrboups/xbrain/plan-review-convergence.svg" alt="Measured on agentmods" height="20"></a>
Per session 26 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 838 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 89% copy Near-identical to another mod 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.00026 $0.00838
Opus 5 $0.00013 $0.00419
Sonnet 5 $0.00005 $0.00168
Haiku 4.5 $0.00003 $0.00084

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

Security

Grade A, and why

gsd:plan-review-convergence 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.

Origin

This is a copy

89% identical to gsd:plan-review-convergence — 11 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/gsd/plan-review-convergence.md · 59 lines

What it actually says

Flow: Agent→Skill("gsd-plan-phase") → Agent→Skill("gsd-review") → check HIGHs → Agent→Skill("gsd-plan-phase --reviews") → Agent→Skill("gsd-review") → ... → Converge or escalate

Replaces gsd-plan-phase's internal gsd-plan-checker with external AI reviewers (codex, gemini, etc.). Each step runs inside an isolated Agent that calls the corresponding existing Skill — orchestrator only does loop control.

Orchestrator role: Parse arguments, validate phase, spawn Agents for existing Skills, check HIGHs, stall detection, escalation gate.

<execution_context> @D:/VSC/xbrain/.claude/get-shit-done/workflows/plan-review-convergence.md @D:/VSC/xbrain/.claude/get-shit-done/references/revision-loop.md @D:/VSC/xbrain/.claude/get-shit-done/references/gates.md @D:/VSC/xbrain/.claude/get-shit-done/references/agent-contracts.md </execution_context>

<runtime_note> Copilot (VS Code): Use vscode_askquestions wherever this workflow calls AskUserQuestion. They are equivalent — vscode_askquestions is the VS Code Copilot implementation of the same interactive question API. Do not skip questioning steps because AskUserQuestion appears unavailable; use vscode_askquestions instead. </runtime_note>

Flags:

  • --codex — Use Codex CLI as reviewer (default if no reviewer specified)
  • --gemini — Use Gemini CLI as reviewer
  • --claude — Use Claude CLI as reviewer (separate session)
  • --opencode — Use OpenCode as reviewer
  • --ollama — Use local Ollama server as reviewer (OpenAI-compatible, default host http://localhost:11434; configure model via review.models.ollama)
  • --lm-studio — Use local LM Studio server as reviewer (OpenAI-compatible, default host http://localhost:1234; configure model via review.models.lm_studio)
  • --llama-cpp — Use local llama.cpp server as reviewer (OpenAI-compatible, default host http://localhost:8080; configure model via review.models.llama_cpp)
  • --all — Use all available CLIs and running local model servers
  • --max-cycles N — Maximum replan→review cycles (default: 3)

Feature gate: This command requires workflow.plan_review_convergence=true. Enable with: gsd config-set workflow.plan_review_convergence true

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 · 59 lines · 26 tokens per session scan A ca438fd1da43

Subscribe to this mod's changes

gsd:plan-review-convergence is a command published in the GitHub repository mrboups/xbrain (2 stars, last pushed 21d ago), licensed MIT. It adds 26 tokens to every session and 838 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 89% identical to gsd:plan-review-convergence, differing in 11 lines, and is treated as a copy.