{
 "schema_version": 1,
 "generated": "2026-10-20",
 "id": "cryer-star-cli--plan-changes-read-only-before-edits",
 "repo": "cryer/star-cli",
 "repo_url": "https://github.com/cryer/star-cli",
 "repo_slug": "cryer-star-cli",
 "title": "Plan a change read-only before any file is edited",
 "page_title": "How to plan a change read-only before any file is edited with Star CLI",
 "summary": "Run plan mode so the agent researches without writing and waits for your approval.",
 "who": "A developer about to change code they do not know well, who wants to see the proposed plan before any file is touched.",
 "problem": "An agent that edits right away can make wide changes before anyone has reviewed the approach.",
 "outcome": "A written plan that you approve or reject before any edits happen.",
 "steps": [
  "Install the CLI with `npm install -g @cryer/star-cli`.",
  "Open `~/.star-cli/config.toml` and set `permissionMode = \"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."
 ],
 "agent_prompt": "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`.",
 "agents": [
  "any"
 ],
 "difficulty": "Intermediate",
 "time": "45 minutes",
 "basis": "readme",
 "caveat": "The README describes plan approval but not its exact on-screen flow, so confirm the approval step during your first run.",
 "category": "Software and DevOps",
 "tags": [
  "Software and DevOps"
 ],
 "lang": "typescript",
 "requirements": [
  "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"
 ],
 "risk": "dual-use",
 "seen_in_the_wild": false,
 "mentioned_publicly": false,
 "risks": [],
 "best": false,
 "score": 0.9,
 "evidence": [],
 "url": "https://dedupedai.com/use-cases/cryer-star-cli/plan-changes-read-only-before-edits/",
 "md": "https://dedupedai.com/use-cases/cryer-star-cli/plan-changes-read-only-before-edits/index.md",
 "disclaimer": "Deduped lists open-source repositories that belong to other people. We do not own, maintain, audit, or vouch for any of them, and a repo appearing here is not an endorsement or a safety check. The use cases, steps, and prompts are written by AI and may be incomplete, outdated, or just wrong. Where a use case is marked \"Seen in the wild\", we link to public posts where someone described something similar, but we have not verified those posts and the use case itself is still our AI's own write-up. Use all of this at your own risk. Only run code, commands, or agents on systems and accounts you are authorized to use, and read the code and every command before you run it, especially anything that touches credentials, files, or the network. Nothing here is professional, security, legal, or financial advice. All trademarks and project names belong to their respective owners, and their use here does not imply affiliation. Content is provided as is, without warranties of any kind. Found a mistake, a safety problem, or something you want removed? Email hello@dedupedai.com and we will look at it promptly.",
 "api": "https://dedupedai.com/api/v1/usecases/cryer-star-cli--plan-changes-read-only-before-edits.json",
 "api_version": "v1"
}
