DEDUPED Hot AI repos. Real use cases. What people build. Get the Monday 5

How to plan a change read-only before any file is edited with Star CLI

Run plan mode so the agent researches without writing and waits for your approval.

Short answer: Install the CLI with npm install -g @cryer/star-cli; then open ~/.star-cli/config.toml and set permissionMode = "plan"; start the REPL in the project folder with star. All steps.

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

  1. Install the CLI with npm install -g @cryer/star-cli.
  2. Open ~/.star-cli/config.toml and set permissionMode = "plan". (inferred, check the README)
  3. Start the REPL in the project folder with star.
  4. Describe the change you want; the agent researches read-only and presents a plan.
  5. 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

Cursor, ChatGPT, others

Share: X LinkedIn Hacker News Email Copy link

Third-party repos we don't own. AI-written use cases can be wrong. Disclaimer