agentleFS
mir-ammir-am/skills-agents-ai-coding/skills/save-plan/SKILL.md

save-plan

Skill2 starsChanged 42 days agoMITView on GitHub

Save or update the agent's current plan to .opencode/plans/ in the working project

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

11 rules. About 0 are common, 8 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈8

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Create .opencode/plans/ directory in the project if it doesn't exist

    line 13
  2. Distinctive:

    Write the final plan the agent has devised as freeform markdown — agent decides structure and content

    line 15
  3. Distinctive:

    If a plan file for the same topic already exists, overwrite it with the latest version

    line 16
  4. Distinctive:

    Use this skill when:

    line 21
  5. Distinctive:

    Keep it concise (3-5 words max)

    line 37
  6. Very specific:

    If .opencode/plans/<filename>.md already exists → overwrite with the latest plan

    line 41
  7. Distinctive:

    No need to prompt the user.

    line 42
  8. Distinctive:

    Write exactly the plan that was discussed/devised in the conversation

    line 46
  9. Distinctive:

    Do not add boilerplate or enforce a fixed template.

    line 47
  10. Distinctive:

    No plan devised yet: Do not save. Tell the user there is no plan to save yet and offer to devise one first.

    line 55
  11. Very specific:

    Unclear topic: Use plan.md as the filename, or ask the user for a one-word topic if context is truly ambiguous.

    line 56

≈ “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.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

What I do

  • Create .opencode/plans/ directory in the project if it doesn't exist
  • Derive a topic-based filename in kebab-case from the plan subject (e.g. add-csv-export.md)
  • Write the final plan the agent has devised as freeform markdown — agent decides structure and content
  • If a plan file for the same topic already exists, overwrite it with the latest version
  • Confirm the saved file path to the user

When to use me

Use this skill when:

  • User asks to save, record, or write down the current plan
  • User asks to update an existing plan with latest changes
  • Agent has finished devising a plan and the user wants it persisted

Workflow

  1. Create directory:
    mkdir -p .opencode/plans
  2. Derive filename:
    • Extract the main topic or subject of the plan from conversation context
    • Format as kebab-case: <topic>.md
    • Examples: add-csv-export.md, refactor-auth-module.md, migrate-to-postgres.md
    • Keep it concise (3-5 words max)
    • Fallback: plan.md if topic is unclear
  3. Check for existing file:
    • If .opencode/plans/<filename>.md already exists → overwrite with the latest plan
    • No need to prompt the user; silent overwrite is the expected behavior
  4. Write plan:
    • Content is freeform markdown — the agent decides the structure based on the plan it devised
    • Write exactly the plan that was discussed/devised in the conversation
    • Do not add boilerplate or enforce a fixed template; let the plan speak for itself
  5. Confirm to user:
    • Report the file path: .opencode/plans/<filename>.md
    • State whether it was created or updated

Edge Cases

  • No plan devised yet: Do not save. Tell the user there is no plan to save yet and offer to devise one first.
  • Unclear topic: Use plan.md as the filename, or ask the user for a one-word topic if context is truly ambiguous.
  • Not a git repo / no project root: Save relative to the current working directory; .opencode/plans/ still works.
  • Multiple unrelated plans in one session: Each gets its own topic-based filename and can coexist in .opencode/plans/.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.