planr CLI
Node CLI that scaffolds .planr/ markdown artifacts. Three planning postures: agile (epic→feature→story→task), quick task, spec-driven for AI handoff.
OpenPlanr is a CLI that generates structured agile plans and teaches Claude Code, Cursor, and Codex to gather full project context before writing a single line of code.
Three things you use, one schema they share. Each component is independently useful; together they form an end-to-end loop where artifacts written by one are read verbatim by the next — no glue scripts, no schema drift.
Node CLI that scaffolds .planr/ markdown artifacts. Three planning postures: agile (epic→feature→story→task), quick task, spec-driven for AI handoff.
Eight-subagent factory. PO Phase decomposes specs & PNGs into tasks; DEV Phase ships code, tests, Docker and docs. Tool-layer enforced rules.
Teaches Claude when to reach for planr CLI vs the pipeline, and how to chain spec-driven mode end-to-end. Model-invoked, no slash command needed.
planr spec decompose writes .planr/specs/SPEC-NNN-{slug}/. The pipeline reads that exact directory. No conversion adapters, no schema drift — the authoring surface and the executor share the spec format verbatim.
Same CLI, three planning styles. Pick one per project, mix per task. The spec-driven posture is the bridge to the pipeline; the others are standalone and ceremony-free.
Full SDLC artifacts in markdown. Stories carry Gherkin acceptance criteria, tasks reference parents via frontmatter, ADRs document binding decisions. Sprints, backlog, the lot.
$ planr init
$ planr epic create "Marketplace v2"
$ planr plan --epic EPIC-001
✓ 4 features → 12 stories + Gherkin
✓ 4 task lists generated
$ planr sprint create
✓ Sprint 1 · 2w · 8 tasks selectedA single markdown checklist file under .planr/quick/. AI optionally generates the breakdown from a one-liner. Skip the agile hierarchy entirely.
$ planr quick create "add OAuth login"
✓ QT-001-add-oauth-login.md
✓ 6 subtasks · 2 acceptance checks
$ planr quick refine QT-001
✓ Refined to match repo style
# open in editor and shipAuthor a SPEC, shape it via 4 questions, decompose into US + tasks via AI. Output lands in .planr/specs/SPEC-NNN-{slug}/— the exact contract the pipeline reads.
$ planr spec init
$ planr spec create "User Auth" --slug auth
$ planr spec shape SPEC-001
↳ 4 questions · context, FRs, rules, AC
$ planr spec decompose SPEC-001
✓ 3 stories · 5 tasks · ready for pipelineThe generated rules file teaches your AI coding agent a 4-step context-gathering protocol. No more blind coding.
A complete agile planning toolkit that lives in your terminal and your repo. No accounts, no subscriptions.
No plugins. No extensions. Just the rules file your agent already reads.
Every feature in OpenPlanr started as a backlog item, moved through the agile hierarchy, and was implemented by AI agents guided by the rules OpenPlanr generates. The tool is its own proof of concept.
Open source. MIT licensed. Get started in 30 seconds.
Requires Node.js 20+