Skip to content
Back to skills

Extract Plan Md

ASecurity

Sync plan.md with plan.json content. MUST be used after ANY edit to plan.json to keep plan.md in sync. Triggers: - After editing plan.json with Edit tool (REQUIRED - always sync after edits) - User asks to "sync plan.md", "update plan.md", "extract the md from a plan" - Converting plan.json to markdown or viewing plan as standalone markdown IMPORTANT: Whenever plan.json is modified, plan.md must be updated to match.

  • 121 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added May 26, 2026
toolspythonbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned May 27, 2026

npx -y skills add closedloop-ai/claude-plugins --skill extract-plan-md --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Extract Plan Md?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Extract Plan Md
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/closedloop-ai-extract-plan-md/badge)](https://www.skillsdirectory.com/skills/closedloop-ai-extract-plan-md)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: extract-plan-md
description: |
  Sync plan.md with plan.json content. MUST be used after ANY edit to plan.json to keep plan.md in sync.

  Triggers:
  - After editing plan.json with Edit tool (REQUIRED - always sync after edits)
  - User asks to "sync plan.md", "update plan.md", "extract the md from a plan"
  - Converting plan.json to markdown or viewing plan as standalone markdown

  IMPORTANT: Whenever plan.json is modified, plan.md must be updated to match.
---

# 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:

```bash
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:**
```bash
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:**
```bash
python3 ${CLAUDE_SKILL_DIR}/scripts/extract.py ~/work/plan.json
# Creates/updates ~/work/plan.md
```

Files in this skill

  • SKILL.md1.7 KB
  • scripts/extract.py1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.