planners
Tools for managing plain-text plans with a documented schema, CLI commands, and an installable skillstub. It is designed to automate the mechanical components of generating and updating plain-text plans with standardized frontmatter for a given project. To facilitate tracking and reviewing plans, it also automatically generates and maintains an index table of all existing plans and their statuses.
These tools can be used manually via CLI commands, but they are largely intended to be used in conjunction with a language model. To guide usage by a language model, it ships with built-in skills and rules that offer an opinionated approach to managing the full plan-file lifecycle and automating usage of this package. These skills and rules can be installed on your system via the CLI commands listed in the instructions below. Once installed, the rules will enforce conventions around how plan files are named, filled, and updated, and the skills will facilitate the addition, implementation, and closing out of plans, which includes the use of git branches and worktrees as specified by the user. While its core functionality and plan files are model-agnostic, its built-in support varies by tool: the skill stub installs for Claude Code and Codex, and the rule file for Claude Code only.
Getting Started
planners is designed to run as a global uv tool, but you can also install it as a per-project dependency.
-
Install the CLI as a uv tool (once per machine), so
plannersis on yourPATH:uv tool install planners
Or (re)install from GitHub:
uv tool install --force git+https://github.com/gitronald/planners.git
-
Install the global rules and skills — This installs a global Claude Code rule file and a skills stub for Claude Code and Codex: the actual skills are included within this package and are accessible via the CLI; the skills stub just tells the model how to access them and allows you to use the skills via slash commands.
Run it from inside a git repository, since it also wires that repository:
planners installThis will:
- (Re)generate the global
~/.claude/skills/planners/SKILL.mdand~/.agents/skills/planners/SKILL.mdholders and the two convention rules,~/.claude/rules/planners.mdand~/.claude/rules/planners-core.md, which can change as the package version advances. - Wire the
planners-validate(pre-commit) andplanners-index(post-merge, which regenerates the index and puts the repair into the merge commit) hooks into the project folder/repo's.pre-commit-config.yaml(registering them whenpre-commitis available). - Give the generated index its merge semantics: a
.planners/README.md merge=unionline in the repo's.gitattributes, so a local merge whose two sides both added or closed plans stops conflicting on it.unionis built into git, so the one committed line is the whole fix — nothing to configure per clone. GitHub's server-side merge does not apply it, so a PR can still report a conflict on the index; merging the base in locally then resolves it without hand-editing a generated file.
planners install --checkreports each part (the skill stubs, the rule, and the.gitattributesline) and exits non-zero unless all areok, plus a row per hook saying whether it is actually registered in this clone — registration is per-clone state that a fresh clone silently lacks, so it is reported rather than assumed. The hooks only fire oncepre-commitis available: in a uv project, runuv add --dev pre-commitonce, then re-runplanners install. A.pre-commit-config.yamlthat install cannot safely add to, such as one with a non-empty flow-stylereposlist, is left alone, and its hook rows say to add the entries by hand.The install, check, and print commands (
install,skill,rule,permissions) come from pkgskills, which planners declares itself to as a host.Upgrading. A plain
planners installupgrades files from any release since 0.7.0, so no--forceis needed.install --checkreadsdriftedand exits 1 until you run it, and printsplanners installas the repair. The install treats those files as generated, which has two effects:- It overwrites edits made to them. Their stamp said not to edit them.
- A global install removes the repo's local copies. If the repo tracks
.claude/, the removals show as deletions ingit status.
--forceis still needed for a file it does not recognize as generated: one with no stamp, another package's stamp, an altered stamp, or the stamp of a release before 0.7.0.install --checkprints that form on anoverwrite:line, naming what it would replace. - (Re)generate the global
-
Start planning — scaffold your first plan using the
addcommand.This can be done within a Claude Code terminal via the installed
/plannersskill and itsaddsubcommand:/planners add my first featureOr via the CLI directly in your preferred terminal:
planners add my-first-feature --title "My first feature"
Either case will create a new plan file (
.planners/plans/000-my-first-feature/plan.md) and refresh the index (.planners/README.md), though using the skill may produce a slightly different filename.
Usage
planners add <slug> --title "<Title>" # scaffold a new plan (--defer: stage it unnumbered)
planners finalize # number and commit the deferred batch, in one commit
planners start <NNN> # run a plan's start-up steps, resuming: activate, branch, worktree, setup, draft PR
planners activate <NNN> # flip a plan to active, fill branch:, log where the work is, and commit
planners set-pr <NNN> <url> # record a plan's PR, log it, refresh the index, and commit
planners implemented <NNN> # mark pushed work implemented, log it, and take the PR out of draft
planners log <NNN> "<note>" # append a Log entry stamped from the clock, and commit (- reads stdin)
planners block <NNN> # mark a draft or active plan blocked, refresh the index, and commit
planners conclude <NNN> # close a plan as done: concluded from git, null fields, index, commit
planners finish <NNN> # after the merge: remove the worktree, pull, delete the branch, re-point hooks
planners finish <NNN> --print-merge # print the merge command for the session to run; changes nothing
planners retire <NNN> # close a plan as retired (--into <NNN>: where the work went)
planners add <slug> --parent <NNN> --nested # scaffold a nested subplan under an umbrella (--needs <letter>: what it depends on)
planners subplans <NNN> # list nested subplans; fail if the umbrella's table disagrees
planners review # report what changed around each open plan (-s all, --json); reads only
planners base # print the repo's mainline branch (--all: every one)
planners remote # classify origin (github, single-branch, other-forge, bare, none) and what changes
planners index . # regenerate .planners/README.md in the column set it is already in (--cols curated|all changes it; writes nothing when the repo has no .planners/plans/)
planners validate # validate plan frontmatter (and that the index agrees; --no-index skips the index check; --json prints parsed records)
planners schema # show the plan metadata schema
planners skill <name> # print a bundled skill body
planners doc <name> # print a bundled reference document (--list names them)
planners rule <name> # print a bundled convention rule body
planners install # install holder + rule + repo hook + merge attr (--local: per-repo)
planners permissions --level assist # print an automation-level permission profile (--apply to write it)
Run it inside a git repository. Outside one, every command exits 1 and changes nothing, including
installin all its forms.skill,doc,rule,schema,validate,permissions, and--helprun anywhere, andindex,base, andremotecheck the path they are given.
Plan commits land on the mainline.
add,finalize, andactivaterefuse to commit whenHEADis off it, so a plan is recorded on the mainline even if the feature branch never merges. The accepted set isdev(when that branch exists) plus the repo's default branch —planners base --allprints it. Detection reads git's current refs and goes inert rather than blocking a repo it can't resolve;--allow-branchoverrides the refusal where the mainline isn't detectable by name.
Batch creation (
--defer+finalize). A plainaddnumbers a plan as max(existing) + 1, so severaladds running at once (e.g. parallel agents each drafting one plan of a split) can read the same max and collide on a number. Instead, have each creator runplanners add <slug> --defer, which writes an unnumbered plan to its own directory under.planners/staging/with no commit and no shared state. Once every creator is done, runplanners finalizeonce: it orders the staged plans bycreated, assigns sequential numbers, moves them underplans/, refreshes the index, commits the batch (plan [add]: NNN-MMM (N plans)), and self-checks the result.--deferis for top-level plans only; subplans (--parent) are numbered against their umbrella and use a plainadd.
Nested subplans. A plan that outgrows one file is split into an umbrella
plan.mdand one file per step under its ownsubplans/directory (subplans/a-<step>.md,b-<step>.md, ...). Each subplan carries a small frontmatter of its own (statusandbranch, withpr,needs, andmoved_tooptional), and that frontmatter is the status of record: the umbrella's table is generated from it, between two marker comments.planners subplans <NNN>lists the subplans and exits non-zero when the table disagrees;--writeregenerates the table's Status column and leaves the hand-written columns alone;--set <letter>=<status>changes one subplan and the table in the same step;--require-closedis the check an umbrella passes before it closes. Nested subplans stay out of the index and out ofvalidateunlessvalidate --subplansopts in.--parentwithout--nestedstill makes a lettered sibling plan (010a-<slug>/), for a step that needs a branch, PR, and lifecycle of its own.
Reviewing plans (
review).planners reviewreports, for each open plan (active,implemented,draft,blocked;-s <status>or-s allfor others, or one plan by number), the commits and tags since it was created or last reviewed, the backticked paths andmodule.functionnames it mentions and whether they still exist, the plans it names, and for an active, implemented, or blocked plan its branch, worktree, and PR state. A summary table by status opens the report. It never writes: the/planners reviewskill reads the evidence, gives each plan a verdict (still open, narrowed, accounted for, moot, unclear), and appends aReview: <verdict>.Log entry, which the next review uses as the start of its window.planners review --committhen commits those Log entries alone, on the mainline, and refuses active, implemented, or blocked plans, whose files a review never edits.
Per-repo (local) mode. To pin planners as a project dependency instead of a global tool, add it with
uv add --dev plannersand run everything asuv run planners …; thenplanners install --localwrites the holders and rule into the repo's own.claude/and.agents/rather than~/.claude/and~/.agents/.
Plans
Each plan is a directory under .planners/plans/ ({NNN}-{slug}/plan.md) and can carry scoped
sidecar files, and nested subplans under subplans/ once it is split. The generated .planners/README.md is the plans index, which
GitHub auto-renders on folder browse.
Convention rule
planners install writes two version-stamped rules under ~/.claude/rules/ (global) or
.claude/rules/ (per-repo):
planners.mdis the full convention. Itspathsfrontmatter scopes it to plan files, so Claude Code loads it when a session reads or writes a file under.planners/inside its working directory, and not before.planners-core.mdis short and loads into every session. It holds what has to apply before a plan file is open: plans go through the skill and the CLI, theplan [add]andplan [activate]commits belong on the mainline, and a plan carries no personal or local specifics.
planners rule planners prints the full convention for a session that needs it sooner. Both rules
are owned by the package — edit the convention in the package and reinstall; don't hand-edit the
installed files.
See CHANGELOG.md for release notes.
Metadata
Release files for planners 0.19.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| planners-0.19.0.tar.gz | 153.0 kB | With provenance | Details for planners-0.19.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| planners-0.19.0-py3-none-any.whl | Python 3 | none | any | Details for planners-0.19.0-py3-none-any.whl |
Total release size: 312.9 kB
Release files / planners-0.19.0.tar.gz
| Download URL | planners-0.19.0.tar.gz |
|---|---|
| Size | 153.0 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
e03bd31e1052a8c801c23b5f0342ea28c558b630e4f3992ebf9530c58cf0c00d
|
|
BLAKE2b-256 checksum How to use checksums |
46ffdeb407256e81150780d05b2a892f48404ccc8934be2643c7420514575269
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logRelease files / planners-0.19.0-py3-none-any.whl
| Download URL | planners-0.19.0-py3-none-any.whl |
|---|---|
| Size | 159.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
dd33e0c9b8584efc5b111ef7a2b5d7e76c3e6474b6fbda62e74567508e73596d
|
|
BLAKE2b-256 checksum How to use checksums |
96c21a07324ff74e4cadbb2f266bd97a2cd45d92145d71f96db76c15b6fedd0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.16
|
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logSecurity for planners 0.19.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
Full provenance
Both files in this release have been uploaded with provenance metadata.
Attestation for planners-0.19.0.tar.gz
PyPI Publish Attestation
PyPI verified that this artifact, at this checksum, originated from the publisher listed below.
Signed by GitHub Actions, verified by PyPI on Nov 19, 2026.
Transparency logA note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.