Agent plans
A collection of Agent Skills π‘
npx -y skills add josbert-m/skills --skill agent-plansAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
2 things to look at
- no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.
- 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.
What its author says it does
Copied from the file, not written here
Manages a FIFO queue of markdown plan files in docs/plans/ (or a custom directory) to coordinate work between humans and agents. Use this skill whenever the user says "work on the next plan", "execute the next task", "check the plans", "what's next to do", or whenever you need to pick up a task from a structured plan queue. Each plan goes through the states pending β review β approved β completed, keeping humans in control of every step.
The file declares its own license as MIT. That is the authorβs claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.7 KB, 981 tokens by cl100k_base, as published. Nobody here has run it
Agent Plans
A FIFO plan queue system where humans write instructions and agents plan, execute, and report back β one task at a time.
Overview of the flow
pending β (agent adds ## Task) β review β (human approves) β approved β (agent executes) β completed
Humans write ## Instructions. Agents write ## Task and ## Execution. Humans stay in control at every handoff.
Step 1 β Find the next plan
Run the helper script (path relative to the skill root):
node scripts/plan.js next
# Custom directory:
node scripts/plan.js next --dir path/to/plans
The script returns JSON. Parse the action field to know what to do:
action | Meaning |
|---|---|
"execute" | An approved plan is ready β go work on it |
"plan" | A pending plan needs a ## Task written |
"none" | Nothing to do β tell the user |
The script also returns filePath β the absolute path to the target file. Always use it.
Step 2a β If action is "execute" (approved plan)
- Read the file at
filePath - Read the
## Tasksection carefully β this is what you must do - Do the work
- Update the file:
- Change
status: approvedβstatus: completedin the YAML frontmatter - Append a
## Executionsection at the end, summarizing what you did (be brief and precise β this is for the human's log)
- Change
Execution summary format (keep it short):
## Execution
Brief description of what was done. List key files created/modified if relevant.
- Tell the user the task is complete and what you did.
Step 2b β If action is "plan" (pending plan)
- Read the file at
filePath - Read the
## Instructionssection β understand what the human wants - Think through the approach
- Update the file:
- Change
status: pendingβstatus: reviewin the YAML frontmatter - Append a
## Tasksection describing what you plan to do (brief, precise, actionable)
- Change
Task format (keep it short β this is your plan, not the execution):
## Task
Brief description of the approach. What will be created, changed, or implemented. No fluff.
- Tell the user you've written the task plan and it's ready for their review. Remind them to change the status to
approvedwhen they're happy with it.
Step 2c β If action is "none"
Tell the user there are no approved or pending plans to work on. Suggest running:
node scripts/plan.js status
...so they can see the current state of all plans.
Plan file format
---
name: short-kebab-name
description: One-line summary of what this plan achieves
status: pending | review | approved | completed
---
# Optional long title
Optional summary paragraph.
## Instructions
What the human wants done. Written by the human.
## Task
What the agent plans to do. Written by the agent when status moves pending β review.
## Execution
What the agent did. Written by the agent when status moves approved β completed.
File naming convention: NNNN-short-description.md β e.g. 0001-create-auth-endpoints.md. The numeric prefix determines FIFO order. Always create new plans with the next available number.
Checking status (for humans)
node scripts/plan.js status
node scripts/plan.js status --dir path/to/plans
This prints a human-friendly summary of all plans with their current status.
Key rules
- Always process one plan at a time β the script selects the oldest eligible plan (FIFO)
- Priority order:
approvedbeforependingβ always finish approved work before planning new tasks - Never skip the script β always run
plan.js nextfirst; don't guess which file to work on - Never change status to
approvedβ that's the human's job - Keep
## Taskand## Executionbrief β precision over verbosity, saves tokens and is easier to read - Edit frontmatter in place β only change the
status:line, leave everything else untouched
What ships with it: 1 file
5.8 KB alongside SKILL.md, 1 of them executable
scripts/
- plan.jsruns5.8 KB