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 agentmods add skills/dimetron/pi-go/code-review-pinpx skills add dimetron/pi-go --skill code-review-pigit clone --depth 1 https://github.com/dimetron/pi-goWrote 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/dimetron/pi-go/code-review-pi)<a href="https://agentmods.dev/skills/dimetron/pi-go/code-review-pi"><img src="https://agentmods.dev/badge/skills/dimetron/pi-go/code-review-pi.svg" alt="Measured on agentmods" 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 | $0.00050 | $0.00895 |
| Opus 5 | $0.00025 | $0.00447 |
| Sonnet 5 | $0.00010 | $0.00179 |
| Haiku 4.5 | $0.00005 | $0.00089 |
Grade A, and why
code-review-pi 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 4d 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Code Review
Review code for quality, test coverage, and fix problems found.
The canonical output artifact for this skill is ./specs/issues/003-code-review-pi/PROMPT.md.
Only report success after writing the final review summary there.
Steps
-
Identify scope: Run
git diff --name-onlyto find modified files. If there are changes, review only modified packages. If no uncommitted changes, review all packages (./...). -
Run linters: Execute linters on target packages:
go vet ./...golangci-lint run --new-from-rev=HEAD~1 ./...(if available)
-
Run tests and check coverage:
go test -race -count=1 -coverprofile=coverage.out ./...go tool cover -func=coverage.out- Identify failing tests, functions with 0% coverage, packages below 80%
-
Review code quality: Read target files and check for:
- Missing tests for new/changed functions
- Error handling (missing checks, swallowed errors)
- Resource leaks (unclosed files, connections)
- Concurrency issues (race conditions, missing mutexes)
-
Fix issues in parallel using subagents: For each package needing coverage fixes, spawn a subagent to work on it concurrently:
- Use the
agenttool to spawn one subagent per package that needs test coverage improvement - Each subagent prompt: "Write tests for uncovered functions in package . Read the source files, identify untested functions using the coverage data, write table-driven tests covering happy path and error cases. Run
go test -race ./<pkg>/...to verify. NEVER delete existing tests." - While subagents write tests, fix linter warnings and code quality issues yourself
- Wait for all subagents to complete, then verify their work compiles
- Use the
-
Verify gates: All gates must pass before reporting success:
- GATE 1:
go build ./...— zero errors - GATE 2:
go vet ./...— zero warnings - GATE 3:
go test -race ./...— all tests pass - GATE 4:
go test -cover ./...— >= 80% per package - If any gate fails, fix and re-run until all pass
- GATE 1:
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.
- 4d ago First seen · 78 lines · 50 tokens per session scan A 2e635851a4ef
code-review-pi is a skill published in the GitHub repository dimetron/pi-go (151 stars, last pushed today), licensed MIT. It adds 50 tokens to every session and 895 once invoked, about $0.0003 per session on Opus 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.
Other skills, from other repositories
use-modern-go
Use the Modern Go Guidelines CLI whenever writing, modifying, fixing, or refactoring Go code. Apply its version-specific guidance to generated changes.
jwx-companion-bulk
Apply bulk operations across all jwx companion modules. Args.
readme-generate
從原始碼分析自動生成雙語 README。當使用者請求為專案建立 README、需要從程式碼庫生成 README.md(英文)和 README.zh.md(中文)、或希望為其函式庫/套件建立一致的多語言文件時使用。.
search-suitable-public-api
Search the curated Agenvoy public API list for an API that fits the current user need or skill context, then chain into the api-tool-add skill to register it under /.config/agenvoy/tools/api/. Triggers when the agent lacks a tool for a data lookup (weather, currency, geocoding, dictionary, etc.), when the user says…
write-zot-themes
Help the user create, install, or package zot themes, including theme-only extensions.
go
Use for Go changes in Neva: authoring, refactoring, debugging, or review.