extract-plan-md

extract-plan-md is a skill for Claude Code from closedloop-ai/claude-plugins. It costs 99 tokens per session (437 once invoked), scanned A, original, Apache-2.0.

A synchronization script that turns the plan content stored in plan.json, a structured project-plan file, into plan.md, a readable Markdown file.

In plain words
What is it for?
Use it after editing plan.json, changing tasks or statuses, or when someone asks to extract or review the plan as Markdown.
Why use it?
It prevents the Markdown copy from becoming outdated after the JSON plan changes. It also gives people a simpler format to read and share.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_SKILL_DIR} variable.

Part of the code plugin — 15 skills, 7 commands, 23 agents, 7 hooks shipped together

Good fit Use it after editing plan.json, changing tasks or statuses, or when someone asks to extract or review the plan as Markdown.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/closedloop-ai/claude-plugins/extract-plan-md
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 closedloop-ai/claude-plugins --skill extract-plan-md
Clone the repo
git clone --depth 1 https://github.com/closedloop-ai/claude-plugins

Made for: Claude Code.

Or install code, the plugin that ships this one along with the rest of its 15 skills, 7 commands, 23 agents, 7 hooks.

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 extract-plan-md

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/extract-plan-md.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/extract-plan-md)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/extract-plan-md"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/extract-plan-md.svg" alt="Measured on agentmods" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 437 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.00099 $0.00437
Opus 5 $0.00049 $0.00218
Sonnet 5 $0.00020 $0.00087
Haiku 4.5 $0.00010 $0.00044

Measured today against content hash 52a03d96cd64, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

extract-plan-md 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 today.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/extract.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

plugins/code/skills/extract-plan-md/SKILL.md · 57 lines

What it actually says

Extract Plan MD

Sync plan.md with plan.json content. Use this skill after ANY edit to plan.json.

IMPORTANT: When to Use

REQUIRED after plan.json edits:

  • After using the Edit tool on plan.json → run this skill to sync plan.md
  • After programmatically modifying plan.json content field
  • After plan amendments, task status changes, or any plan modifications

Also use for:

  • User requests to sync/extract/convert plan.json to markdown
  • Reviewing a plan outside of the JSON structure
  • Sharing the plan with others who don't need the structured JSON fields

Usage

To sync plan.md with plan.json:

python3 ${CLAUDE_SKILL_DIR}/scripts/extract.py /path/to/plan.json

The script:

  1. Reads the plan.json file
  2. Extracts the content key (which contains the full markdown plan)
  3. Fixes any escaped line breaks (\n -> actual newlines)
  4. Writes to plan.md in the same directory as the plan.json

Examples

After editing plan.json, sync plan.md:

python3 ${CLAUDE_SKILL_DIR}/scripts/extract.py .closedloop-ai/work/plan.json
# Updates .closedloop-ai/work/plan.md to match

Extract from a specific plan:

python3 ${CLAUDE_SKILL_DIR}/scripts/extract.py ~/work/plan.json
# Creates/updates ~/work/plan.md
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. today First seen · 57 lines · 99 tokens per session scan A 52a03d96cd64

Subscribe to this mod's changes

extract-plan-md is a skill published in the GitHub repository closedloop-ai/claude-plugins (103 stars, last pushed yesterday), licensed Apache-2.0. It adds 99 tokens to every session and 437 once invoked, about $0.0005 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-09-07.

Related

Other skills, from other repositories