code-plan

code-plan is a skill for Claude Code, Codex from runxhq/runx. It costs 58 tokens per session (807 once invoked), scanned A, original, Apache-2.0.

A planning tool that turns one bounded coding objective into an ordered execution plan for multi-step or cross-surface work. It plans the work but does not perform it.

In plain words
What is it for?
Use it to split repository or skill-package work into ordered phases, define safe parallel tasks, connect required tools, and stop when a missing answer blocks execution.
Why use it?
It prevents downstream agents from reinterpreting the request and makes dependencies, mutation boundaries, evidence, and review points explicit before changes begin.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to split repository or skill-package work into ordered phases, define safe parallel tasks, connect required tools, and stop when a missing answer blocks execution.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/runxhq/runx/code-plan"><img src="https://agentmods.dev/badge/skills/runxhq/runx/code-plan.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 807 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.00058 $0.00807
Opus 5.5 $0.00023 $0.00323
Sonnet 5.5 $0.00012 $0.00161
Haiku 4.5 $0.00006 $0.00081

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

Security

Grade A, and why

code-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 17d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (code-plan.mjs, code-plan.test.mjs), 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.

skills/code-plan/SKILL.md · 66 lines

How it starts

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

Code Plan

Turn one objective into a plan that downstream methods can consume without reinterpreting the source request.

Procedure

  1. Start from objective. When change_set is supplied by code-intake, preserve it exactly; do not rewrite its target surfaces, invariants, success criteria, or supplied source context.
  2. Classify the plan as workspace_change or skill_package. Skill-package authoring belongs to skill-build; do not route it through a generic repo-change step.
  3. Split work at authority, mutation, dependency, and review boundaries. Keep steps coarse enough to produce a meaningful artifact.
  4. Declare ordered phases and repo change requests. Parallel work must have no dependency or shared mutation target.
  5. Declare orchestration steps with exact skill references, scopes, mutation flags, inputs, and prior-step context references.
  6. Return blocked when a question must be answered before mutation. Never turn uncertainty into an executable plan.
  7. Native catalog inspection supplies the actual installed skill set. The domain validator then verifies source preservation, ordered DAGs, mutation declarations, context references, catalog ownership, and the skill-build boundary. Invalid candidates are withheld and returned as a blocked packet.

Planning is permitted by the operator request, not by a model-authored commencement field. Upstream recommendation fields, when present, are preserved as context and never treated as authority.

This skill does not approve or execute mutations. A mutating: true field describes authority a future step will need.

Output

decision: ready | blocked
plan_kind: workspace_change | skill_package
change_set: object
objective_summary: string
workspace_change_plan: object
orchestration_steps: array
required_skills: array
open_questions: array
evidence: object
validation:
  status: pass | hold
  findings: array

workspace_change_plan contains plan_id, change_set_id, objective_summary, shared invariants, success criteria, ordered phases, integration checks, and open questions. Each phase contains ordered repo change requests with dependencies, validation commands, and mutation declarations.

Read the full file on GitHub · 66 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. 17d ago Changed · +2 lines 6bef6f822cc0
  2. 25d ago Changed · +2 lines 8dad39d6283f
  3. 1mo ago First seen · 62 lines · 58 tokens per session scan A ee299bf071b5

Subscribe to this mod's changes

code-plan is a skill published in the GitHub repository runxhq/runx (106 stars, last pushed yesterday), licensed Apache-2.0. It adds 58 tokens to every session and 807 once invoked, about $0.0002 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-10-18.

Related

code-plan compared with skills from other repositories

code-plan next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
code-planrunxhq/runxSkill106yesterdayApache-2.0A58Claude Code, Codex
dd-risk-scoringAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-synthesisAbilityai/trinitySkill822todayApache-2.0A33Claude Code, Codex
dd-report-formatAbilityai/trinitySkill822todayApache-2.0A27Claude Code, Codex
dd-sourcingAbilityai/trinitySkill822todayApache-2.0A29Claude Code, Codex
dd-verificationAbilityai/trinitySkill822todayApache-2.0A35Claude Code, Codex
gh-treasure-huntHmbown/CodeWhaleSkill41k2d agoMITA39Claude Code, Codex