plan-editing-conventions

plan-editing-conventions is a skill for Claude Code from closedloop-ai/claude-plugins. It costs 35 tokens per session (1,134 once invoked), scanned A, original, Apache-2.0.

A set of rules for editing plan.json, a JSON file that stores an implementation plan in both readable text and structured task lists. It defines task formats, required fields, complexity labels, and how the two representations should stay aligned.

In plain words
What is it for?
Use it when creating or modifying plan.json files, including their content, acceptance criteria, pending tasks, completed tasks, questions, gaps, and amendments.
Why use it?
It prevents malformed or contradictory plan files that automated tools cannot read reliably. It also encourages concise tasks with concrete paths and without unsupported time estimates.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

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

Good fit Use it when creating or modifying plan.json files, including their content, acceptance criteria, pending tasks, completed tasks, questions, gaps, and amendments.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/closedloop-ai/claude-plugins/plan-editing-conventions
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 plan-editing-conventions
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 13 skills, 6 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 plan-editing-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/plan-editing-conventions/github.svg)](https://agentmods.dev/skills/closedloop-ai/claude-plugins/plan-editing-conventions)
Your own site
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/plan-editing-conventions"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/plan-editing-conventions/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 plan-editing-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/closedloop-ai/claude-plugins/plan-editing-conventions"><img src="https://agentmods.dev/badge/skills/closedloop-ai/claude-plugins/plan-editing-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 35 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,134 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.00035 $0.01134
Opus 5.5 $0.00014 $0.00454
Sonnet 5.5 $0.00007 $0.00227
Haiku 4.5 $0.00003 $0.00113

Measured 1mo ago against content hash 7ffab148d786, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-editing-conventions 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 1mo 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.

plugins/code/skills/plan-editing-conventions/SKILL.md · 157 lines

How it starts

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

Plan Editing Conventions

Conventions for creating and modifying implementation plans stored as plan.json.

Plan Structure Rules

  • Keep prose concise and actionable; include concrete file paths (relative/path.ts)
  • Never include time estimates. Use qualitative Complexity per task: S (≤ ~120 LOC), M (~120–300 LOC), L (> ~300 LOC)
  • Do not hardcode colors or tokens; reference semantic tokens when citing UI work

plan.json Format

The plan is stored as plan.json with these key fields:

{
  "content": "# Implementation Plan\n\n## Stage 1: ...\n\n### T-1.1: Task Title\n...",
  "acceptanceCriteria": [...],
  "pendingTasks": [...],
  "completedTasks": [...],
  "manualTasks": [...],
  "openQuestions": [...],
  "answeredQuestions": [...],
  "gaps": [...],
  "amendments": [...]
}
  • content: The full markdown plan as a JSON string with escaped newlines (\n). This is the human-readable plan text.
  • Structured arrays: Mirror the plan content for programmatic access (pendingTasks, completedTasks, etc.)

Editing plan.json Content Field

CRITICAL: The content field is a JSON string. When editing:

  • Use \n escape sequences for newlines, NOT literal line breaks
  • Ensure proper JSON escaping of quotes and special characters
  • After editing, always sync plan.md via the code:extract-plan-md skill

Task Format

Tasks use the T-X.Y ID convention where X is the stage number and Y is the task number within that stage.

Each task in the plan content should follow this structure:

### T-X.Y: [Task Title]

**Files:** `path/to/file.ext`
**Complexity:** S | M | L
**AC Refs:** AC-001, AC-002

**Description:** Brief description of what this task accomplishes.

**Implementation Details:**

[Include one or more of the following as appropriate:]

**Mapping Table:** (for distribution/transformation tasks)
| Source | Target | Notes |
|--------|--------|-------|
| category_a | target_file_a.md | Section: XYZ |
| category_b | target_file_b.md | Section: ABC |

**Algorithm:** (for logic-heavy tasks)
1. Load input from `source_path`
2. Parse using `specific_method()`
3. For each item:
   a. Transform using pattern X
   b. Validate against schema Y
4. Write output to `target_path`

**Code Template:** (for new file creation)
```python

Read the full file on GitHub · 157 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. 1mo ago First seen · 157 lines · 35 tokens per session scan A 7ffab148d786

Subscribe to this mod's changes

plan-editing-conventions is a skill published in the GitHub repository closedloop-ai/claude-plugins (122 stars, last pushed today), licensed Apache-2.0. It adds 35 tokens to every session and 1,134 once invoked, about $0.0001 per session on Opus 5.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.