planner-setup
Skill1 starsChanged 37 days agoMITView on GitHub
Set up or change Planner's config for the user — add the folders their plans live in and match Planner's layout rules to how those folders are organised. Use when the user asks to install, set up or configure Planner, add or remove a docs folder, or says Planner is not showing their plans.
- Installs packages
In this repository4 other files it gives its agents.
- docs/agents.mdAGENTS.md
- site/llms.txtllms.txt
- link-planSkill
- visualiseSkill
The file
We split this skill into the rules it gives an agent
7 rules. About 0 are common, 1 is distinctive, and 6 are 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.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- could be automatic: a setting could enforce it
- Very specific: line 19
If planner is not installed: npm install -g @limyuquan/planner (needs Node.js 20.19 or newer).
- Very specific: line 23
Find the folders: Ask the user where their agents write plans, or look for them (docs/, plans/, .agents/docs/, .claude/docs/ in their …
- Very specific: line 24
Look at how each folder is organised: before configuring it: list two or three levels (find <folder> -maxdepth 3 -type d | head -40) and …
- Distinctive: line 47
Never delete or move the user's plan files.
- Very specific: line 48
Keep ~ in paths under the home folder, so the config can move between machines.
- Very specific: line 49
Do not change docTypes (badge names and colours) unless the user asks.
- Very specific: line 50
If planner config check reports an error in the file, fix that first.
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 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
planner-setup
Planner reads one or more docs folders and shows the plans in them. Its config is one JSON file; the planner config commands read, change and check it, so you never have to guess whether an edit worked.
planner config path # where the config file is
planner config show # the whole file
planner config add <folder> # add a docs folder (--name <name> to choose its name)
planner config remove <name> # remove one
planner config check # validate, then print what each folder holds
planner config schema # the JSON schema, with a description of every keyIf planner is not installed: npm install -g @limyuquan/planner (needs Node.js 20.19 or newer).
Steps
- Find the folders. Ask the user where their agents write plans, or look for them (
docs/,plans/,.agents/docs/,.claude/docs/in their projects). Each project's folder becomes one docs folder; do not merge projects into one. - Look at how each folder is organised before configuring it: list two or three levels (
find <folder> -maxdepth 3 -type d | head -40) and note:- are tasks inside status folders like
active/anddone/, or directly in the folder? - does each task keep its plans in a sub-folder like
plans/, or in the task folder itself? - how are phase folders named (
phase-1-setup,01-setup,step-1…)? - which file types are the plans (
html,md,pdf…)?
- are tasks inside status folders like
- Add each folder with
planner config add <folder> --name <short-name>. Names are lowercase with dashes (my-app) and appear in the sidebar and in links. Match the layout. The defaults expect
active/anddone/status folders, aplans/folder per task, andphase-<n>-<name>phase folders. Where a folder differs, edit the config file and put the differing keys on that folder's entry (they override the shared ones for that folder only):{ "name": "my-app", "path": "~/code/my-app/docs/plans", "statusFolders": null, "plansFolder": "", "phasePattern": "^(?<num>\\d+)-(?<slug>.+)$" }statusFolders:{"active": "...", "done": "..."}, ornullwhen tasks sit directly in the folderplansFolder: the sub-folder of a task holding its plans, or""for the task folder itselfphasePattern: a regular expression with a(?<num>...)group, and optionally(?<slug>...)fileTypes: extensions without the dot
Change a shared key at the top level only when every folder uses the same convention.
- Check, and fix until it matches. Run
planner config check. For each folder it prints tasks, phases and docs, phase folders the pattern misses, and file types it leaves out. Compare with what you saw in step 2; a folder with0 tasksalmost always has the wrongstatusFoldersorplansFolder. Repeat until every folder finds what is really there. The command exits non-zero while anything is wrong. - Show the user. A running Planner picks up the change by itself. Start it if needed (
planner), then show a plan withplanner open '<link>'(see thelink-planskill for link shapes) and tell them which folders you added and what each one holds.
Rules
- Never delete or move the user's plan files; only the config changes.
- Keep
~in paths under the home folder, so the config can move between machines. - Do not change
docTypes(badge names and colours) unless the user asks. - If
planner config checkreports an error in the file, fix that first; until then Planner keeps using the last valid settings.
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.

