openplan-docs-init

A setup process for creating an OpenPlan-style documentation structure for a project. OpenPlan-style documentation records where information came from and separates confirmed intent from agent assumptions.

In plain words
What is it for?
Use it to initialize a documentation repository, add governed docs to a code repository, or create initial document maps, templates, needs snapshots, and decision records.
Why use it?
It gives a project an organized starting point for durable documentation, so later agents can find project knowledge and understand its authority.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/bananasjim/openplan-skill/openplan-docs-init
Any agent
npx skills add BANANASJIM/openplan-skill --skill openplan-docs-init
Clone the repo
git clone --depth 1 https://github.com/BANANASJIM/openplan-skill

Made for: Claude Code, Codex.

Per session 90 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,351 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00090 $0.01351
Opus 5 $0.00045 $0.00675
Sonnet 5 $0.00018 $0.00270
Haiku 4.5 $0.00009 $0.00135

Measured 2d ago against content hash 907433164dec, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

openplan-docs-init 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 2d 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.

skills/openplan-docs-init/SKILL.md · 139 lines

How it starts

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

OpenPlan Docs Init

Use this after $openplan-core and usually after $openplan-align when a project needs an initial governed documentation surface before agents start generating durable docs.

Core Principle

Document generation begins with authority and provenance, not with a pile of files. Generated docs must not present agent assumptions as human intent.

When To Use

Use this skill when asked to:

  • initialize an OpenPlan-style docs repo;
  • add OpenPlan-style documentation governance to an existing code repo;
  • create a minimal document map before generating project docs;
  • seed needs snapshots, decision records, templates, or planning docs;
  • prepare memory/docs for future Codex, Claude Code, or subagent sessions.

Do not use it for ordinary documentation edits after the document structure already exists. Use $openplan-record and $openplan-garden for that.

Init Flow

  1. Identify the target surface:
    • docs repo;
    • code repo;
    • single-repo project;
    • temporary teaching/reporting surface.
  2. Identify the documentation root:
    • explicit user-provided path;
    • existing project convention;
    • .openplan/ when docs should live inside a code repo without mixing with product docs;
    • docs/ or repo root when that is the project convention;
    • a separate docs repo or absolute path when provided.
  3. Identify authority sources:
    • explicit human goal/intent;
    • existing docs/design/ADR files;
    • code evidence;
    • prior handoff or needs snapshot;
    • agent inference.
  4. Decide the minimum document map needed for the next phase.
  5. Before creating durable docs, state:
    • docs root;
    • what will be generated;
    • which source backs each file;
    • what is inferred or pending confirmation;
    • whether the file is source of truth, draft, handoff, review, or disposable.
  6. Generate only the smallest useful scaffold unless the user explicitly asks for a broader docs package.
  7. Record an explicit human decision, or propose/request a decision record, when initialization creates or changes durable design/governance.
  8. Seed a needs snapshot when the human goal/intent or project direction must survive across agents or sessions.
  9. Run $openplan-garden after broad generation and $openplan-record for durable memory/docs updates.
  10. Use $openplan-research first when the docs scaffold depends on facts not already backed by local durable context.

Read the full file on GitHub · 139 lines

Files

What ships with it

4 files 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. 2d ago First seen · 139 lines · 90 tokens per session scan A 907433164dec

Subscribe to this mod's changes

openplan-docs-init is a skill published in the GitHub repository BANANASJIM/openplan-skill (4 stars, last pushed 3mo ago), licensed MIT. It adds 90 tokens to every session and 1,351 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-08-31.