DEDUPED Hot AI repos, turned into use cases Get 5 a day

What you can do with 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.

Trended earlier

Third-party repos we don't own or vouch for. AI-generated use cases can be wrong: review everything and run at your own risk.

Authorization notice. This tool is dual-use. Only use it on software, sites and systems you own or have explicit permission to test, and follow the relevant licenses and terms of service.

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.

    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.
  • Plan a change read-only before any file is edited

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

    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`.
  • 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.

    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.
  • 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.

    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.

How to use Star CLI

  1. 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.
  2. Open cryer/star-cli on GitHub and read the README and license.
  3. Install the CLI with npm install -g @cryer/star-cli.
  4. Change into your git repository and start the REPL with star.
  5. Type /diff to see the colored working-tree diff.
  6. Type /commit to 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.

Star CLI alternatives · Best AI repos for Software and DevOps

About 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 hot
  • 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
Maintain Star CLI? Add the Featured on Deduped badge

Paste this into your README:

[![Featured on Deduped](https://dedupedai.com/badge/cryer-star-cli.svg)](https://dedupedai.com/use-cases/cryer-star-cli/?ref=badge)

More badge styles and HTML

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.

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: Harness2, iFixAi, Orca, Diagram Design, AI Memory.

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.