coplan
Skill0 starsChanged 5 months agoMITView on GitHub
The "plan" loop. Break a non-trivial task into clear, tracked, verifiable steps before building, and adapt the plan as work reveals new information. Use when starting any feature, refactor, or bug fix that isn't a one-liner. Mandatory leg of a full cycle; runs standalone too. Pairs with cochangelog (the plan and its changelog cross-reference each other).
In this repository20 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- new-skillSkill
- cobuildSkill
- cochallengeSkill
- cochangelogSkill
- coconsolidateSkill
- cocreatorSkill
- cocritiqueSkill
- codebugSkill
- codirectSkill
- codrawSkill
- cohardenSkill
- colearnSkill
- coresearchSkill
- cospecifySkill
- costudySkill
- cotestSkill
- cotranslateSkill
- my-skillSkill
The file
We split this skill into the rules it gives an agent
2 rules. About 0 are common, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 52
When the planned work ships, cochangelog records it.
- Distinctive: line 90
Update the plan live — don't wait until the end.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
coplan — plan the work
The doer is coplanner. This is the mandatory plan loop that feeds the core make → check → learn engine. Turn a vague goal into concrete, verifiable steps.
When to Use
- Starting a feature, refactor, or bug fix that's more than a one-liner.
- The task feels too large or ambiguous, or spans multiple files/systems.
- You want a tracked list so nothing is forgotten.
How to Use
- Recall first — run
colearnto pull any lessons relevant to this task. - Understand the goal and constraints. For high-blast-radius work, shape it with
EnterPlanMode/codirectbefore decomposing. - Decompose into small, actionable items (each completable in ~2 hours).
- Track with
TaskCreate/TaskUpdateso progress is visible live. - Prioritize by dependency and impact; execute one item at a time.
- Update the plan as you learn; review at completion.
Native tooling
EnterPlanMode (shape the approach) · TaskCreate / TaskUpdate (track todos) · /loop
(self-paced passes on a long plan) · hand the built result to cotest, and a recurring lesson
to colearn.
Memory Bank
Storage: Resolve
workspaceRootfrom.agents/workspace/cocreation.yaml(default.agents). Inlocal, write the full record to<workspaceRoot>/skills/<name>/memory-bank/and refresh its index. Inlinear-primary, write the human-facing artifact through the active backend and keep provider metadata, links, and the local navigation/index cache; never write project records into the plugin cache.
Save each plan as YYYY-MM-DD-kebab-title.md:
.agents/skills/coplan/memory-bank/2026-06-26-fix-login-bug.mdCopy _template.md, keep its frontmatter (title, date, status, optional changelog) filled.
PLAN.md is the auto-generated index — never edit it by hand. After changes:
node .agents/skills/coplan/index.mjs.
Pairing with a changelog (cross-reference)
When the planned work ships, cochangelog records it. Link the two both ways: the plan's
frontmatter gets changelog: <changelog-record.md>, the changelog's gets plan: <this-record.md>.
/cocreator wires this automatically when running coplan → core loop → cochangelog.
Todo Format
---
title: Task name
date: YYYY-MM-DD
status: todo
changelog:
---
# Plan: [Task Name]
- **Goal**: [What are we trying to achieve?]
- **Constraints**: [Time, tech, or business limits]
- **Todos**:
- [ ] Step 1
- [ ] Step 2
- **Completed**:
- [x] Step 0
- **Blockers**: [Anything preventing progress]
- **Notes**: [Observations as work progresses]Self-eval gate (close the loop)
- All todos done, output verified → PASS to
cochangelog(and link it). - New info breaks the plan → re-loop: revise and keep going.
- Blocked / needs a decision → escalate to the human.
- Scope ballooning → cut scope to fit the appetite; don't grow the box (default: cancel, not extend).
Principles
- Each todo completable in under 2 hours.
- Update the plan live — don't wait until the end.
- Mark blockers immediately.
- Close the loop: review what went well and what didn't, and feed lessons to
colearn.
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.

