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, some aspects of its built-in support (e.g., the skill files, rule files, and pre-commit validation hook) are currently only available for use with Claude Code.
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: 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.
planners installThis will:
- (Re)generate the global
~/.claude/skills/planners/SKILL.mdholder and~/.claude/rules/planners.mdconvention rule, which can change as the package version advances. - Wire the
planners-validate(pre-commit) andplanners-index(post-merge) 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 stub, 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.The install, check, and print commands (
install,skill,rule,permissions) come from pkgskills, which planners declares itself to as a host. - (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 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 finish <NNN> # after the merge: remove the worktree, pull, delete the branch, re-point hooks
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
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
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 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)
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 holder and rule into the repo's own.claude/rather than~/.claude/.
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 a version-stamped, auto-loaded ~/.claude/rules/planners.md (global) or
.claude/rules/planners.md (per-repo). The rule is owned by the package — edit the convention in
the package and reinstall; don't hand-edit the installed file. A hand-maintained plan-files.md is
superseded by the generated planners.md (install reports it, and never deletes an unstamped one).
See CHANGELOG.md for release notes.
Metadata
Release files for planners 0.13.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 | |
|---|---|---|---|---|
| planners-0.13.0.tar.gz | 122.5 kB | With provenance | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| planners-0.13.0-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 255.1 kB
Release files / planners-0.13.0.tar.gz
| Download URL | planners-0.13.0.tar.gz |
|---|---|
| Size | 122.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
7032a08ef114ba8c2c4e13c07aaa4773b2c173c4fed658d75d32158a75f96b8e
|
|
BLAKE2b-256 checksum How to use checksums |
27c115e4084669dd730cf65a29e255b1bfa40a32991b27472ee72e65920b65cf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 10, 2026.
Transparency logRelease files / planners-0.13.0-py3-none-any.whl
| Download URL | planners-0.13.0-py3-none-any.whl |
|---|---|
| Size | 132.6 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
bb77a6f5f3579a89b4cf4df3103f10e5eb26f67fbf0a345ea68e32534b946164
|
|
BLAKE2b-256 checksum How to use checksums |
1ee0874e3d81164d590a7b0f9a83d022e33d55270112ee9535fb40038788b4bf
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
Yes |
| Uploaded via |
twine/7.0.0 CPython/3.13.14
|
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 Oct 10, 2026.
Transparency logSecurity for planners 0.13.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
All 2 files in this release have been uploaded with provenance metadata.
Attestation for planners-0.13.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 Oct 10, 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.