plan-protocol

plan-protocol is a skill for Claude Code, Codex from kdcokenny/ocx. It costs 14 tokens per session (1,881 once invoked), scanned A, original, MIT.

A set of rules for writing and updating implementation plans for multi-step coding work. It defines the plan structure, task statuses, numbering, and source citations.

In plain words
What is it for?
Use it to create plans for larger changes, track work across phases, and document research-based decisions. It is not intended for small fixes or simple one-off tasks.
Why use it?
It keeps complex work organized and records why important decisions were made. It also helps show what is done, in progress, and still waiting.

Skill for Claude CodeCodex

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

Good fit Use it to create plans for larger changes, track work across phases, and document research-based decisions. It is not intended for small fixes or simple one-off tasks.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kdcokenny/ocx/plan-protocol
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 kdcokenny/ocx --skill plan-protocol
Clone the repo
git clone --depth 1 https://github.com/kdcokenny/ocx

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 plan-protocol

README.md
[![agentmods](https://agentmods.dev/badge/skills/kdcokenny/ocx/plan-protocol/github.svg)](https://agentmods.dev/skills/kdcokenny/ocx/plan-protocol)
Your own site
<a href="https://agentmods.dev/skills/kdcokenny/ocx/plan-protocol"><img src="https://agentmods.dev/badge/skills/kdcokenny/ocx/plan-protocol/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-protocol

Your own site · 80×15
<a href="https://agentmods.dev/skills/kdcokenny/ocx/plan-protocol"><img src="https://agentmods.dev/badge/skills/kdcokenny/ocx/plan-protocol.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,881 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00014 $0.01881
Opus 5.5 $0.00006 $0.00752
Sonnet 5.5 $0.00003 $0.00376
Haiku 4.5 $0.00001 $0.00188

Measured 18d ago against content hash c30435f469f4, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

plan-protocol 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 18d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

legacy/docs/kdco/skills/plan-protocol/SKILL.md · 262 lines

How it starts

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

Frozen V1 reference. This document is preserved from OCX e79df6f. Its tool names, models, APIs, and installation instructions describe OpenCode V1. For the supported V2 setup, see the OCX 3 documentation.

Plan Protocol

Load this skill when creating or updating implementation plans.

TL;DR Checklist

When creating or updating a plan, ensure:

  • YAML frontmatter with status, phase, updated
  • ## Goal section (one sentence)
  • ## Context & Decisions table with citations (ref:delegation-id)
  • Phases with status markers: [COMPLETE], [IN PROGRESS], [PENDING]
  • Tasks with hierarchical numbering (1.1, 1.2, 2.1)
  • Only ONE task marked ← CURRENT
  • Citations for all research-based decisions

When to Use

  1. Starting a multi-step implementation
  2. After receiving a complex user request
  3. When tracking progress across phases
  4. After research that informs architectural decisions

When NOT to Use

  1. Simple one-off tasks → use built-in todos instead
  2. Pure research/exploration → use delegations only
  3. Quick fixes that don't need tracking
  4. Single-file changes with no dependencies

Plan Format

Use plan_save with this exact markdown format:

---
status: STATUS
phase: PHASE_NUMBER
updated: YYYY-MM-DD
---

# Implementation Plan

## Goal
ONE_SENTENCE_DESCRIBING_OUTCOME

## Context & Decisions
| Decision | Rationale | Source |
|----------|-----------|--------|
| CHOICE | WHY | `ref:DELEGATION_ID` |

## Phase 1: NAME [STATUS_MARKER]
- [x] 1.1 Completed task
- [x] 1.2 Another completed task → `ref:DELEGATION_ID`

## Phase 2: NAME [IN PROGRESS]
- [x] 2.1 Completed task
- [ ] **2.2 Current task** ← CURRENT
- [ ] 2.3 Pending task

## Phase 3: NAME [PENDING]
- [ ] 3.1 Future task
- [ ] 3.2 Another future task

## Notes
- YYYY-MM-DD: Observation or decision `ref:DELEGATION_ID`

Read the full file on GitHub · 262 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. 18d ago Changed · +2 lines c30435f469f4
  2. 1mo ago First seen · 260 lines · 14 tokens per session scan A 3e2708c8c62e

Subscribe to this mod's changes

plan-protocol is a skill published in the GitHub repository kdcokenny/ocx (978 stars, last pushed 18d ago), licensed MIT. It adds 14 tokens to every session and 1,881 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-08-30.