Authorization notice. Star CLI is dual-use. Only use it on software, sites and systems you own or have explicit permission to test.
Who it is forA developer about to change code they do not know well, who wants to see the proposed plan before any file is touched.
The problemAn agent that edits right away can make wide changes before anyone has reviewed the approach.
The outcomeA written plan that you approve or reject before any edits happen.
What you need first
- Node.js 20 or newer
- pnpm, only if you build from source
- An API key for an OpenAI, Anthropic, or OpenAI-compatible provider, set via /connect or config.toml
Steps
- Install the CLI with
npm install -g @cryer/star-cli. - Open
~/.star-cli/config.tomland setpermissionMode = "plan". (inferred, check the README) - Start the REPL in the project folder with
star. - Describe the change you want; the agent researches read-only and presents a plan.
- Approve the plan to let edits proceed, or reject it and ask for changes.
Prompt for your agent
Using the cryer/star-cli repo, set permissionMode to plan in ~/.star-cli/config.toml, run `star` in <project-dir> with the request <task>, and report the plan it produces. Verify that no files changed before approval by checking `git status`.
Caveat. The README describes plan approval but not its exact on-screen flow, so confirm the approval step during your first run.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cryer/star-cli and "Plan a change read-only before any file is edited"
Add Deduped to Claude Code once
claude mcp add --transport http deduped https://dedupedai.com/mcp
Every Monday: the 5 hottest repos and exactly how to use them. Free, one email a week, unsubscribe anytime.
Get them freeShare: X LinkedIn Hacker News Email Copy link
Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer