STAR: Command for Claude Code

.agents/commands/star-auto.md

star-auto is a command for Claude Code from wanghao9610/STAR. It costs 0 tokens per session (3,432 once invoked), scanned A, original, MIT.

An autonomous STAR workflow command that works toward a stated goal by choosing and running the next suitable research or development task.

In plain words
What is it for?
Use it to pursue a research, coding, planning, or project goal through connected STAR tasks until the goal is reached or a defined stop condition applies.
Why use it?
It removes the need to manually select every next step in a multi-stage plan, while still following the workflow’s approval and stopping rules.

Command for Claude Code

Written for Claude Code: a Claude Code command (commands/*.md). Also seen: mentions subagents; positional $N argument; installed under .agents/ (shared by several agents).

This is wanghao9610/STAR's own configuration. It tells Claude Code how to work on STAR itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything STAR configures →

Reuse

Borrowing it

Nothing to install: this file belongs to wanghao9610/STAR. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/wanghao9610/STAR/main/.agents/commands/star-auto.md
Clone the repo
git clone --depth 1 https://github.com/wanghao9610/STAR

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for star-auto

README.md
[![agentmods](https://agentmods.dev/badge/commands/wanghao9610/star/star-auto/github.svg)](https://agentmods.dev/commands/wanghao9610/star/star-auto)
Your own site
<a href="https://agentmods.dev/commands/wanghao9610/star/star-auto"><img src="https://agentmods.dev/badge/commands/wanghao9610/star/star-auto/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for star-auto

Your own site · 80×15
<a href="https://agentmods.dev/commands/wanghao9610/star/star-auto"><img src="https://agentmods.dev/badge/commands/wanghao9610/star/star-auto.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 0 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 3,432 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00000 $0.03432
Opus 5.5 $0.00000 $0.01373
Sonnet 5.5 $0.00000 $0.00686
Haiku 4.5 $0.00000 $0.00343

Measured 14d ago against content hash 3adf2e46df10, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

star-auto scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 14d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

.agents/commands/star-auto.md · 72 lines

How it starts

The opening of the file, as written. The whole thing — 72 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Drive the workflow toward a goal

Use this procedure when the user requests star-auto with a stated goal. Within that request, conventions §10.7 covers starting the skills needed for the goal, including the seven explicit-only skills, and prepared STOP-line launches that meet the conditions below. At involve=low, the requested workflow also includes the executor chain's routine local implementation, mechanical review fixes, and Git lifecycle described below. Each started run keeps its skill's scope and artifact ownership, the user's limits, and the host's permission requirements.

Invocation shape: star-auto <goal> [stop=<stop line>] [involve=<level>].

Parse the invocation

  • Strip involve=<level> first, taken from outside the stop text — before stop=, or as the invocation's final token; the same words inside the stop line are stop-line text, not the token (conventions §7.7). When nothing sets a level — no token, no INVOLVE in .env — this run resolves to low, not medium: it takes the marked recommendation on routine judgment calls and logs each (§7.8). At low, the requested workflow includes the executor's recommended in-scope plan, explicit-path staging and commits, execution-branch or worktree creation, behavior-preserving review fixes that delete nothing, a clean reviewed squash merge, and removal of a worktree only after its durable artifacts have moved out and git status --porcelain is empty. Reuse that workflow decision and log each operation; obtain any approval the host separately requires. Review fixes that require deletion are skipped and routed. Retain the merged execution branch. Pass the internal auto=unattended token to the executor and code reviewer with the originating user request, goal and limits in the dispatch brief or run record (conventions §10.7); the token only carries that existing scope and is not part of the user-facing invocation shape.
  • Then strip stop=: everything from that token to the end of what remains is the stop line, natural language in the user's own words — stop=any single training over 4 hours, or any paid API call, stop=用卡超过 2 张就停 (either language, or both at once). Given, it is the line this run must not cross: before launching a prepared command, state its expected cost and judge it against each condition — a command that crosses the line, or that cannot be judged against it, is printed and handed back exactly as §2 says. Absent, no additional workflow cost ceiling was set: prepared commands may launch within the goal after their resource scope and cost are assessed, their review is current, and host permission allows them (§2). Either way every launch is logged in the decisions record with its stated cost. Apart from the clean worktree removal above, neither the request nor any stop line covers deletion, overwrite, sudo, system or driver installation, history rewriting, forced Git, push, discarding unmerged work, or resolving a merge conflict — retain the state and report the missing specific authority.
  • What remains is the goal. No goal — ask for one; never infer a goal from the repository.

Read the full file on GitHub · 72 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 14d ago Changed · +17 lines 3adf2e46df10
  2. 1mo ago Changed e2b4462e87f1
  3. 1mo ago Changed 3d8763ab5f5c
  4. 2mo ago Changed · +1 lines 071122d5933a
  5. 2mo ago First seen · 54 lines · 0 tokens per session scan A 8cd96237929d

Subscribe to this mod's changes

star-auto is a command published in the GitHub repository wanghao9610/STAR (54 stars, last pushed 2d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 3,432 tokens. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

star-auto compared with commands from other repositories

star-auto next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
star-autowanghao9610/STARCommand542d agoMITA0Claude Code
triagen8n-io/n8nCommand210kyesterdaynoneA7Claude Code
landgmickel/flow-nextCommand717yesterdayMITA13Claude Code
syncgmickel/flow-nextCommand717yesterdayMITA15Claude Code
webapp-testinghamr0/agentic-toolkitCommand236d agoApache-2.0A35Claude Code
link-projecttechnicalpickles/pickled-claude-pluginsCommand12yesterdayMITA9Claude Code
uninstallgmickel/flow-nextCommand717yesterdayMITC9Claude Code