-
Notifications
You must be signed in to change notification settings - Fork 0
Troubleshooting
Start a new agent session. A session already running loaded its skills at
start-up and does not see one written underneath it. This is the answer roughly
every time /planx is not recognised straight after an install.
If a new session still does not have it, check that the agent directory existed
when PlanX installed. add-skills writes only into directories that are already
there, so an agent installed after PlanX has no skill until you run:
planx add-skills --agent codexplanx add-skills also reports what it wrote and where, one line per step.
planx doctorPrints which store it is talking to, rebuilds index.json from the plans on
disk, and reports anything that does not add up — a plan with no versions
recorded, or a version listed in versions.json whose file is missing. It exits
non-zero when it found problems.
Rebuilding the index is the repair. The problems it reports are told to you rather than fixed, because deleting a plan is not something a check command should decide.
index.json is a cache that planx list and the picker read instead of opening
every plan. A file changed behind it leaves the two disagreeing about what is
stored, and nothing but planx doctor will put that right.
Every change goes through the CLI. The skills tell agents the same thing.
planx --dir /tmp/planx-smoke list
PLANX_DIR=/tmp/planx-smoke planx list--dir points every path lookup at a different store, and PLANX_DIR does the
same through the environment. Useful for testing a release without touching your
real plans.
--json works on every read command:
planx list --json
planx revise <plan-id> v3 --json
planx defaults --json--no-color disables ANSI colour, and NO_COLOR in the environment is honoured
too.
Some terminals send nothing at all for ctrl+_. ctrl+/ sends the same byte on
most of them and works identically, so try that first.
If neither reaches PlanX, the flag is hints in ~/.planx/config.json. That
one file is safe to edit — the caution above is about the plan store, which
index.json caches; config.json is nothing's cache:
{ "format_version": 1, "hints": false }ctrl+r prints the line it was going to run, under Resume it yourself, and
stops. Put the agent back on your PATH and paste the line, or resume the
session with the agent's own command — claude --resume <id>, codex resume <id>.
The same fallback applies to a hand-off launch: PlanX names the missing binary and leaves you the command.
See Resuming a build. In short: no session id was recorded,
the agent is not one PlanX can launch, or you are on a plan row with two builds
behind it — press → and pick the version.
PlanX says so and runs the agent in the current directory instead.
revise, execute and show all require a version. A plan reference with no
version means whatever was captured most recently, which is not what a command
written against a version you reviewed meant. The error names the newest version
of that plan. latest resolves too — it just has to be said.
Nothing has been captured into this store. Check you are not pointed at a
scratch store with --dir or PLANX_DIR.
planx --version
planx --help
planx <command> --helpAsk in Q&A with the command you ran and what came back. If it is a bug, open an issue; if it is something PlanX should do differently, post it in Ideas.
Start here
- Installation
- The skill
- Why review an agent's plan
- Plan mode vs. a reviewable plan
- Planning with Claude Code
- Planning with Codex
Using PlanX
Reference
Ask