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.
npx skills add nowsprinting/unity-coding-skills --skill find-and-setup-analysis-rulegit clone --depth 1 https://github.com/nowsprinting/unity-coding-skillsWrote 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/skills/nowsprinting/unity-coding-skills/find-and-setup-analysis-rule)<a href="https://agentmods.dev/skills/nowsprinting/unity-coding-skills/find-and-setup-analysis-rule"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/find-and-setup-analysis-rule/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/skills/nowsprinting/unity-coding-skills/find-and-setup-analysis-rule"><img src="https://agentmods.dev/badge/skills/nowsprinting/unity-coding-skills/find-and-setup-analysis-rule.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.00120 | $0.02165 |
| Opus 5.5 | $0.00048 | $0.00866 |
| Sonnet 5.5 | $0.00024 | $0.00433 |
| Haiku 4.5 | $0.00012 | $0.00216 |
Grade A, and why
find-and-setup-analysis-rule 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 2d 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.
How it starts
The opening of the file, as written. The whole thing — 144 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Finds an analysis rule that flags a coding pattern as the code is written, and sets it up in the Unity project. An analysis rule is an IDE inspection or a Roslyn analyzer rule, and a diagnostic is what it reports on the code it flags.
Input
Take the coding pattern from the pattern argument: a description, the code the analysis rule should flag, and optionally the code it should not, e.g., the code before and after a bug fix.
Combine the argument with the coding pattern in the conversation, if any; when the argument is omitted, take it from the conversation alone.
A named API, e.g., "ban GameObject.Find", is the code to flag.
If the code to flag is missing, or the input fits several patterns, use AskUserQuestion to ask the user before proceeding.
When the input names a Roslyn analyzer package to install, e.g., "install BannedApiAnalyzers", take the package instead of a coding pattern: skip Step 1, and in Step 2 propose installing it per Roslyn Analyzer Package. Leave every rule at its default severity unless the user specifies one; set a specified severity per Configuration.
Workflow
Step 1: Find an Analysis Rule
Choose the option whose diagnostic meets the user's need, by where each option diagnoses:
- A Roslyn analyzer diagnoses in every IDE and in Unity's compilation, that is, before the code runs: at
errorseverity it stops code that would, e.g., freeze at run time, before a test runs it (see Severity) - An IDE inspection or plugin diagnoses in that IDE only; an IDE inspection also diagnoses when
/resolve-diagnosticsruns: that skill collects the diagnostics from Rider, at the severities.editorconfigsets
Look into the options in whatever order fits the pattern; when several have an analysis rule that flags the code to flag and meet the need equally, choose the earliest listed.
Analysis Rules to Apply First
Each of these analysis rules takes precedence over every other rule for its pattern. When the pattern matches one, propose it in Step 2 without searching the lists of rules below; set it up per its option below.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 144 lines · 120 tokens per session scan A 64058c91d40b
find-and-setup-analysis-rule is a skill published in the GitHub repository nowsprinting/unity-coding-skills (20 stars, last pushed 3d ago), licensed Unlicense. It adds 120 tokens to every session and 2,165 once invoked, about $0.0005 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-12-02.
find-and-setup-analysis-rule compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| find-and-setup-analysis-rulenowsprinting/unity-coding-skills | Skill | 20 | 3d ago | Unlicense | A | 120 | Claude Code |
| unity-debugbigdra50/unity-cli | Skill | 39 | 5mo ago | MIT | A | 51 | Claude Code |
| uloop-get-project-infohatayama/unity-cli-loop | Skill | 612 | today | MIT | A | 34 | Claude Code, Codex |
| aibridge-code-indexliyingsong99/AIBridge | Skill | 230 | 24d ago | MIT | A | 70 | Claude Code, Codex |
| aspid-visual-element-fluentVPDPersonal/Aspid.FastTools | Skill | 27 | 2d ago | MIT | A | 109 | Claude Code, Codex |
| aibridge-development-workflowliyingsong99/AIBridge | Skill | 230 | 24d ago | MIT | A | 86 | Codex |
| aspid-serializable-typeVPDPersonal/Aspid.FastTools | Skill | 27 | 2d ago | MIT | A | 136 | Claude Code, Codex |