save-plan

save-plan is a skill for Claude Code, Codex from mir-am/skills-agents-ai-coding. It costs 22 tokens per session (588 once invoked), scanned A, original, MIT.

A workflow for saving or updating an agent's current plan as a Markdown file in the project's .opencode/plans/ folder.

In plain words
What is it for?
Use it when a user asks to record a plan or when a completed plan needs to be persisted under a topic-based filename.
Why use it?
It keeps the plan in the project so it can be reviewed or reused instead of existing only in the conversation.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions OpenCode.

Good fit Use it when a user asks to record a plan or when a completed plan needs to be persisted under a topic-based filename.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/mir-am/skills-agents-ai-coding/save-plan
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add mir-am/skills-agents-ai-coding --skill save-plan
Clone the repo
git clone --depth 1 https://github.com/mir-am/skills-agents-ai-coding

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for save-plan

README.md
[![agentmods](https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/save-plan/github.svg)](https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/save-plan)
Your own site
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/save-plan"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/save-plan/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for save-plan

Your own site · 80×15
<a href="https://agentmods.dev/skills/mir-am/skills-agents-ai-coding/save-plan"><img src="https://agentmods.dev/badge/skills/mir-am/skills-agents-ai-coding/save-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 22 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 588 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00022 $0.00588
Opus 5 $0.00011 $0.00294
Sonnet 5 $0.00004 $0.00118
Haiku 4.5 $0.00002 $0.00059

Measured 9d ago against content hash 975d02e5a2f3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

save-plan scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/save-plan/SKILL.md · 60 lines

How it starts

The opening of the file, as written. The whole thing — 60 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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/.

Read the full file on GitHub · 60 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 60 lines · 22 tokens per session scan A 975d02e5a2f3

Subscribe to this mod's changes

save-plan is a skill published in the GitHub repository mir-am/skills-agents-ai-coding (2 stars, last pushed 4mo ago), licensed MIT. It adds 22 tokens to every session and 588 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

skill-creator

Create, improve, evaluate, benchmark skills. Use when authoring a new skill, updating an existing one, running evals, or optimizing a skill's description for triggering. Don't use for invoking skills, writing prose, or scaffolding Python projects.

luongnv89/asm · 54 tokens

run-agent

Configures and runs agents with different adapters including Claude, OpenAI, CrewAI, Lyzr, and GitHub Models. Supports local execution, remote git repos, and one-shot prompts. Use when the user wants to run an agent, switch LLM providers, configure adapter settings, or launch agents from git repositories.

open-gitagent/opengap · 68 tokens

skill-index-updater

Add GitHub skill repos to the ASM index: clone, audit, eval, regenerate index, rebuild catalog, open PR. Use when given GitHub URLs to onboard. Don't use for authoring (skill-creator), improving (skill-auto-improver), or install (asm install).

luongnv89/asm · 63 tokens

regulatory-analysis

Analyzes documents and processes against FINRA, SEC, Federal Reserve, and CFPB regulatory frameworks. Identifies compliance gaps, classifies findings by severity, and recommends remediation. Use when performing compliance audits, regulatory reviews, gap analyses, or verifying policy adherence to financial regulations.

open-gitagent/opengap · 59 tokens

export-agent

Converts agent definitions between frameworks — exports to Claude Code, OpenAI, CrewAI, Lyzr, and GitHub Models formats, and imports from Claude, Cursor, and CrewAI projects. Use when the user wants to convert an agent, migrate to another framework, export to LangChain/AutoGen/CrewAI, or import from existing…

open-gitagent/opengap · 76 tokens

manage-skills

Searches the SkillsMP registry, installs skills locally or globally, creates custom skills with SKILL.md frontmatter, and manages the skill lifecycle. Use when the user wants to find skills, add new capabilities, install a skill, browse available skills, create a custom skill, or manage the skills system.

open-gitagent/opengap · 65 tokens