plan-first
Skill0 starsChanged 7 months agoMITView on GitHub
Force agent to declare structured plan before tool execution. Activated by Cockpit's UserPromptSubmit hook for plan-worthy tasks.
11 other projects use a version of this.
Adopted by
Most recently taken up by
- fvkmizel/soulkeepertheir own version, first seen Nov 8, 2026
- Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agenttheir own version, first seen Nov 1, 2026
- AndrewBrown-USDA/aigb-skills-usdatheir own version, first seen Oct 31, 2026
- randommonicle/claude-skillstheir own version, first seen Oct 25, 2026
- nadavnaveh/skillstheir own version, first seen Oct 25, 2026
- hongshuxifan321/plan-firsttheir own version, first seen Oct 21, 2026
Other versions11 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 11
- duncan-buildroom/freeskills★ 65same name
- hongshuxifan321/plan-first★ 43same name
- Hvftpie13/Flashmind_Gemini-3.8-Flash_Smart-agent★ 39same name
- randommonicle/claude-skills★ 27same name
- AndrewBrown-USDA/aigb-skills-usda★ 7same name
- dfedoryshchev/weftworks★ 5same name
- nadavnaveh/skills★ 2same name
- fvkmizel/soulkeeper★ 0same name
- justomsharma/github-resume-assistant★ 0same name
- kartykk/agent-ready★ 0same name
1 more not listed
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository4 other files it gives its agents.
- assumptionSkill
- briefSkill
- decision-markerSkill
- thoughtSkill
The file
Files
Plan-First
Cockpit's first principle: before any tool call, the agent declares a structured plan. This solves spec.md §2 FM1 (pre-execution blindness).
Behavior
For plan-worthy tasks (filtered by Haiku judge in UserPromptSubmit hook), agent must output a <cockpit-plan> block before any tool call. Format adapts to task complexity (2 tiers).
Tier 1 — Simple task (1-3 steps)
<cockpit-plan>
- 1. [step] (using [tool])
- 2. [step] (using [tool])
- ETA: ~Xmin
</cockpit-plan>Tier 2 — Detailed task (multi-step)
<cockpit-plan>
Goal: [one-line objective]
Steps:
- 1. [step] (using [tool])
- 2. [step] (using [tool])
- 3. ...
ETA: ~Xmin
Key decisions: [step numbers where meaningful choices happen]
Assumptions: [non-trivial assumptions only — skip if none]
</cockpit-plan>Why this exists
Without Plan-First, users hit Enter and don't know what the agent is about to do until it's already executing. With Plan-First, users see the approach before any tool runs and catch wrong assumptions before they propagate.
Behavior is hook-driven
This skill is loaded automatically by Cockpit's UserPromptSubmit hook. Claude doesn't invoke it manually. The hook also performs β verification in PreToolUse: if no <cockpit-plan> block exists when first tool call arrives, the tool call is denied with reason "Output cockpit-plan first" — Claude retries with plan included.
Plan is informational, not gating
Per design decision Friction Option ① and α/β = β:
- Plan must be output (β-enforced via PreToolUse deny)
- User does not approve plan (Haiku judge already classified it as plan-worthy)
- Agent proceeds to tool calls immediately after plan
User's authority over plan-worthy classification is via /cockpit on/off/auto slash command (controls global mode).
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

