What do you want to do?
4 use cases
-
Review working-tree changes and draft a commit message
Use /diff to read colored changes, then /commit to draft a Conventional Commits message.
- REPO
cryer/star-cli - Software and DevOps
- Intermediate
View prompt
Using the cryer/star-cli repo, run `star` inside <repo-path>, enter `/diff` and then `/commit`, and report the drafted commit message. Verify that the message follows the Conventional Commits format before anyone uses it.
- REPO
-
Plan a change read-only before any file is edited
Run plan mode so the agent researches without writing and waits for your approval.
- REPO
cryer/star-cli - Software and DevOps
- Intermediate
View 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`.
- REPO
-
Call the agent from a shell script with print mode and JSON
Run one prompt with star -p and --json, then parse the NDJSON output in a script.
- REPO
cryer/star-cli - Software and DevOps
- Advanced
View prompt
Using the cryer/star-cli repo, write a shell script that runs `star -p "<prompt>"` with --json and writes the output to <output-file>. Verify that every output line parses as valid JSON.
- REPO
-
Resume a past agent session and export it to Markdown
Reopen a saved session with /resume or star -r, then save it as Markdown with /export.
- REPO
cryer/star-cli - Software and DevOps
- Intermediate
View prompt
Using the cryer/star-cli repo, run `star -r` in <project-dir>, select the session for <task>, then run `/export`. Report the exported file path and verify that the file opens as Markdown.
- REPO
Quick start with Star CLI
- Check you have what it needs: 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.
- Open cryer/star-cli on GitHub and read the README and license.
- Install the CLI with
npm install -g @cryer/star-cli. - Change into your git repository and start the REPL with
star. - Type
/diffto see the colored working-tree diff. - Type
/committo have the agent draft a Conventional Commits message from the changes.
These steps come from our top use case, Review working-tree changes and draft a commit message, which also has a copy-paste agent prompt.
Use this in your AI agent
Ask your agent
Using the Deduped MCP, get the setup steps for cryer/star-cli
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 freeAbout this repo
- Who it is forDevelopers who work in git repositories and want an AI agent in the terminal with permission control over file edits and shell commands.
- Why it is hot120 stars, launched 52 days ago, picked up by one AI source we track
- LanguageTypeScript
- Sourcegithub.com/cryer/star-cli ยท Back to Hot repos
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
Add this badge to your README
Maintain Star CLI? Show readers where to find these use cases.
Markdown
[](https://dedupedai.com/use-cases/cryer-star-cli/?utm_source=github&utm_medium=badge&utm_campaign=cryer-star-cli)
HTML
<a href="https://dedupedai.com/use-cases/cryer-star-cli/?utm_source=github&utm_medium=badge&utm_campaign=cryer-star-cli"><img src="https://dedupedai.com/badge/cryer/star-cli.svg" alt="Use cases on Deduped" height="20"></a>
A static image, no tracking script. About the badge
Questions about Star CLI
What is Star CLI?
A TypeScript command-line interface for AI agents that connects to several LLM providers, runs file, shell, and web tools behind a permission gate, and saves sessions. It is an open-source project on GitHub: https://github.com/cryer/star-cli.
How do I use Star CLI?
Install the CLI with npm install -g @cryer/star-cli; then Change into your git repository and start the REPL with star; type /diff to see the colored working-tree diff. The use cases on this page give the full steps and a copy-paste agent prompt for each job.
Who is Star CLI for?
Developers who work in git repositories and want an AI agent in the terminal with permission control over file edits and shell commands.
What can I do with Star CLI?
4 use cases so far, for example: Review working-tree changes and draft a commit message; Plan a change read-only before any file is edited; Call the agent from a shell script with print mode and JSON. Each has steps and a copy-paste agent prompt.
What do I need to run Star CLI?
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.
What are alternatives to Star CLI?
Other hot AI repos in Software and DevOps: Skills, Claude Mem, Freellmapi, Andrej Karpathy Skills, Agent Desktop.
Is Star CLI safe to run?
Deduped does not own, audit or vouch for it. Read the README and license, run it on your own systems first and review every command before you run it.