Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
git clone --depth 1 https://github.com/wanghao9610/STARWrote 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.
[](https://agentmods.dev/rules/wanghao9610/star/agent-instructions)<a href="https://agentmods.dev/rules/wanghao9610/star/agent-instructions"><img src="https://agentmods.dev/badge/rules/wanghao9610/star/agent-instructions/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.
<a href="https://agentmods.dev/rules/wanghao9610/star/agent-instructions"><img src="https://agentmods.dev/badge/rules/wanghao9610/star/agent-instructions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.02075 | $0.02075 |
| Opus 5.5 | $0.00830 | $0.00830 |
| Sonnet 5.5 | $0.00415 | $0.00415 |
| Haiku 4.5 | $0.00208 | $0.00208 |
Grade A, and why
agent-instructions 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 today.
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.
How it starts
The opening of the file, as written. The whole thing — 110 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Project constraints for completing the user's task with proportionate care.
1. Think Before Coding
Resolve routine details. Surface consequential uncertainty.
- Use project conventions for routine, reversible details and continue; state assumptions that affect the result.
- Ask when the answer would change the research objective, acceptance criteria, key inputs, cost, or authority. While waiting, continue independent work already authorized.
- If a simpler approach exists, say so. Push back when warranted.
2. Simplicity First
Minimum code that solves the problem. Nothing speculative.
- Nothing beyond what was asked: no extra features, no abstractions for single-use code, no "flexibility" or configurability nobody requested, no error handling for impossible scenarios.
- If you write 200 lines and it could be 50, rewrite it.
3. Surgical Changes
Touch only what you must. Clean up only your own mess.
- Don't "improve" adjacent code, comments, or formatting; don't refactor what isn't broken.
- Match existing style, even if you'd do it differently.
- Remove imports, variables, and functions that YOUR changes left unused.
- Pre-existing dead code: mention it, don't delete it unless asked.
The test: Every changed line should trace directly to the user's request.
4. Goal-Driven Execution
Define completion and carry the authorized task through verification.
- Identify the requested outcome and the evidence that establishes it. Use a regression test for a behavioral bug when practical; a small documentation or formatting change may need only a direct inspection.
- For substantial multi-step work, state the actions and completion check. Existing explicit authorization remains valid for its stated scope; do not ask for the same approval again. A request to inspect, explain, or review without changes ends with that deliverable and never starts a writing successor.
5. Research Workflow
This project uses the STAR research workflow. Its records are files, not chat history.
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.
- today Changed · +2 tokens per session 2ef9b00aa72e
- 6d ago Changed · +1 lines 0a2426b1e425
- 1mo ago Changed · -2 tokens per session fa8e10fb598f
- 2mo ago Changed · +24 tokens per session 41fef3c22f3f
- 2mo ago Changed · +34 tokens per session e9f9e72446f2
- 2mo ago Changed · -64 tokens per session a7ff78b3f3b3
- 2mo ago Changed · +1 lines · +321 tokens per session 5db72526a63b
- 3mo ago First seen · 108 lines · 1,760 tokens per session scan A f55847fffaa2
agent-instructions is a cursor rule published in the GitHub repository wanghao9610/STAR (54 stars, last pushed yesterday), licensed MIT. It adds 2,075 tokens to every session, about $0.0083 per session on Opus 5.5. 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.
agent-instructions compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| agent-instructionswanghao9610/STAR | Cursor rule | 54 | yesterday | MIT | A | 2,075 | Cursor |
| token-efficiencyrohitg00/pro-workflow | Cursor rule | 3.0k | 2mo ago | none | B | 353 | Cursor |
| repository-layouthlalljie/agent-workflow-presets | Cursor rule | 2 | 1mo ago | MIT | A | 230 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 202k | 9d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 102k | today | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 76k | today | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | today | Apache-2.0 | A | 0 | Cursor |