Plan -> Critique (iterate) -> Execute -> Archive Iterative plan review and execution workflow for Claude Code, Agy (Gemini CLI), and GitHub Copilot CLI.
> /plugin marketplace add serbanghita/claude-code-plan-critique> /plugin install plan@serbanghita
What's inside
Plan -> Critique (iterate) -> Execute -> Archive
Iterative plan review and execution workflow for Claude Code, Agy (Gemini CLI), and GitHub Copilot CLI. They enable you to work with multiple written plans while keeping full control of the feedback loop from the LLM.
For detailed agent-specific setup, configuration, and workflows:
Add the marketplace and install the plugin from within Claude Code:
/plugin marketplace add serbanghita/plan-critique-skills
/plugin install plan@serbanghita
Installed as a plugin, skills are namespaced under plan:
/plan:create, /plan:critique, /plan:cycle, /plan:execute, /plan:archive.
Manual install via git clone:
git clone https://github.com/serbanghita/plan-critique-skills.git && \
mkdir -p .claude/skills && \
cp -r plan-critique-skills/skills/* .claude/skills/ && \
cp plan-critique-skills/working-agreement.md .claude/ && \
rm -rf plan-critique-skills
Manual install skills are invoked bare: /create, /critique, /cycle, /execute, /archive.
See the Claude Code Guide for full configuration details.
Workspace installation (recommended):
git clone https://github.com/serbanghita/plan-critique-skills.git && \
mkdir -p .gemini/skills && \
cp -r plan-critique-skills/.gemini/skills/* .gemini/skills/ && \
cp plan-critique-skills/working-agreement.md .gemini/ && \
rm -rf plan-critique-skills
Global installation (available in all workspaces):
git clone https://github.com/serbanghita/plan-critique-skills.git && \
mkdir -p ~/.gemini/config/skills && \
cp -r plan-critique-skills/.gemini/skills/* ~/.gemini/config/skills/ && \
rm -rf plan-critique-skills
Agy skills carry the plan- prefix:
/plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive.
See the Agy Guide for full configuration details.
Add the marketplace and install the plugin from your terminal:
copilot plugin marketplace add serbanghita/plan-critique-skills
copilot plugin install plan@serbanghita
The same commands work from within an active session as /plugin marketplace add ... and /plugin install ....
Manual install via git clone:
git clone https://github.com/serbanghita/plan-critique-skills.git && \
mkdir -p .github/skills && \
cp -r plan-critique-skills/.github/skills/* .github/skills/ && \
cp plan-critique-skills/working-agreement.md . && \
rm -rf plan-critique-skills
Copilot skills carry the plan- prefix:
/plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive.
Verify with copilot skill list, and reload during a session with /skills reload.
See the GitHub Copilot CLI Guide for full configuration details.
| Feature | Claude Code | Agy (Gemini CLI) | GitHub Copilot CLI |
|---|---|---|---|
| Plugin Skill Names | /plan:create, /plan:critique, /plan:cycle, /plan:execute, /plan:archive | /plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive | /plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive |
| Manual Skill Names | /create, /critique, /cycle, /execute, /archive | /plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive | /plan-create, /plan-critique, /plan-cycle, /plan-execute, /plan-archive |
| Skill Storage | skills/ or .claude/skills/ | .gemini/skills/ or ~/.gemini/config/skills/ | .github/skills/ |
| Config File | .claude/plan-critique-config.json | .gemini/plan-critique-config.json (fallback .claude/) | .copilot/plan-critique-config.json (fallback .claude/) |
| Session Key | $PPID (process ID) | $PPID (process ID) | COPILOT_AGENT_SESSION_ID |
| Project Standards | CLAUDE.md | GEMINI.md, AGENTS.md, CLAUDE.md | .github/copilot-instructions.md, AGENTS.md, CLAUDE.md |
create ──► edit 'plan.md' ──► critique ──► read 'critique.md', update 'plan.md'
▲ │
└──────── iterate until satisfied ────┘
│
▼
execute ──► archive
The flow is identical across all agents:
plan.md template.plan.md with requirements, affected files, and verification steps.critique.md.plan.md, and re-critique until satisfied.Steps 1 to 4 can also be run in one pass with the cycle skill, which drafts the plan only when you have not
written one, then critiques and merges up to three times and stops for your approval before anything is executed.
It merges only the obvious changes on its own and asks you about the rest.
CLAUDE.md, GEMINI.md, AGENTS.md, or .github/copilot-instructions.md).| Skill | Purpose | What it does |
|---|---|---|
| create | Initialize | Create a new plan directory in [plansFolder]/[plan name]/plan.md. |
| critique | Review | Adversarial review of the plan. Produces critique.md with verified evidence. |
| cycle | Loop | Draft (only if needed), critique and merge up to cycleIterations times, asking before any non-obvious change, then stop for approval. |
| execute | Implementation | Parse the plan into steps, confirm, and execute each step with verification. |
| archive | Finalize | Move completed plan to [plansFolder]/archived/ and clean up. |
working-agreement.md holds standing rules that bind the create, critique, cycle, and execute phases. They are read at
the start of each run and override any conflicting instruction inside the skill:
CONFIRMED or UNVERIFIED) and proof.Co-Authored-By), commit only when requested.Edit working-agreement.md to customize rules for your team.
You can work on multiple plans simultaneously in separate terminals. Each session tracks its own current plan via
session files in .planning/.sessions/:
$PPID).COPILOT_AGENT_SESSION_ID.Each terminal auto-selects its active plan when running critique or execute skills.
Add .planning/.sessions/ to your .gitignore.
Many AI coding tools offer built-in plan modes where the LLM writes the plan and you approve or reject it.
This workflow inverts that model:
See ghita.org/blog/claude-code-plan-critique for background.
Token cost estimates for skills:
SKILL.md body loads).
working-agreement.md: Adds ~700 tokens on invoke to create, critique, and execute runs.Created by Serban Ghita under MIT License.
FAQ
plan is a Claude Code plugin with 5 hand-picked skills for development work, indexed on Flowy. Install it with the command on its page. It includes archive, create, critique. Its skills do not fire on their own yet. Request auto-invocation to have Flowy route them as you prompt. Free and open source.
Is this plugin yours?
Claim it with GitHubSubmit a pluginPromote it