Skip to content

Repository files navigation

PlanX

npm downloads ci license

PlanX is a planning skill for Claude Code, Codex and other AI coding agents, plus a terminal interface for reviewing plans with versions, diffs, inline feedback and direct edits.

Make plans you want to read

Planning is not a ritual you perform to make an agent feel prepared. It is for you to decide what will be built.

PlanX turns the giant blob of text you read once and lose in chat into a versioned artifact you can actually review:

  • [1] Create structured plans.
  • [2] Compare every revision.
  • [3] Give feedback on exact lines.
  • [4] Execute the version you approve.

Plan with one agent and build with another. Claude Code writes the plan, you review it, Codex builds it — or any two agents you like, in any order.

Install

npm install --global @thisisnsh/planx

That installs the planx TUI you review plans in, and automatically installs the PlanX skill for detected Claude Code and Codex installations.

Or install the skill on its own with skills:

npx skills add thisisnsh/planx

Also listed on Smithery and LobeHub.

How it works

PLAN → REVIEW → REVISE → EXECUTE → RESUME

Fun fact: this README was recreated using PlanX. Every image below is that plan, being reviewed.

1. Plan with the skill

Using the planning skill, the agent researches the work, writes a structured plan, captures it as a version and hands it back for review.

More in The skill.

Skill in claude & codex

2. Review what it wrote

What comes back is a stored version rather than a message in a scrollback: structured markdown with headings that fold, the context the work needs, and the checks that prove it at the end.

More in Planning and Reviewing.

Review what it wrote

3. Read it without drowning

Press space to collapse the section, feedback box or unchanged diff run under the cursor, h to fold every comment at once, j to jump between comments, [ ] to jump between section titles, and ? for the full key list. A long plan stays walkable instead of becoming a scroll.

More in Reviewing.

Read it without drowning

4. Say exactly what is wrong

Put the cursor on a line and press v, extend the selection with the arrows, then press f. The comment attaches to those exact lines, not to the plan in general. Press n for a note about the whole plan, or e to rewrite a line yourself when the right wording is already obvious.

More in Feedback and edits.

Say exactly what is wrong

5. Revise in the same session, or a different agent

Press s and pick a hand-off. PlanX can resume the session that wrote the plan, so it revises with the repository research still in context — or send the same review to another agent entirely, which starts from the plan and your comments and nothing else.

More in Hand-offs.

Revise in the same session, or a different agent

6. Compare what actually changed

Each revision is a new version of the same plan. Open it and PlanX shows a word-level diff against the one before, with unchanged runs collapsed, so a rewritten approach cannot slip past as a wall of re-flowed text. Press d to show or hide the diff.

More in Versions and diffs.

Compare what actually changed

7. Build it with any agent

Any agent command that takes a trailing prompt can build the plan. Set them once with planx defaults — one command to revise, another to execute, whichever pair you like — and the review offers them beside the built-in routes. The receiving agent needs nothing but the PlanX skill.

More in Hand-offs, Custom agents and Resuming a build.

Build it with any agent

Uninstall

planx remove-skills
npm uninstall --global @thisisnsh/planx

More in CLI reference.

Documentation

Every key, command and flag is written down in the PlanX wiki.

Installation · The skill · Reviewing · CLI reference

Questions and ideas

Not sure what to do with PlanX? Ask your agent /planx help what can you do?

You can ask specific questions too, like /planx help how do I comment on a single line?

More in Asking for help.

Anything the wiki does not cover can be asked in Q&A

Have something PlanX should do? Post it in Ideas

Liked it?

If PlanX made a plan easier for you to review, please star it on GitHub.

It tells me the tool is worth continuing, and it is how the next person who is tired of losing plans in a scrollback finds it.

Feel free to contact author at hello at thisisnsh dot com


Wiki · Q&A · Ideas · Contributing · Security · MIT License · Smithery · LobeHub

About

A planning skill for Claude Code, Codex and other AI coding agents, plus a terminal interface for reviewing plans with versions, diffs, inline feedback and direct edits.

Topics

Resources

Code of conduct

Contributing

Security policy

Stars

4 stars

Watchers

1 watching

Forks

Releases

Contributors

Languages