Borrowing it
Nothing to install: this file belongs to mmadfox/swag2mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/mmadfox/swag2mcp/main/.agents/skills/codereviewer/SKILL.mdgit clone --depth 1 https://github.com/mmadfox/swag2mcpWrote 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/mmadfox/swag2mcp/codereviewer)<a href="https://agentmods.dev/skills/mmadfox/swag2mcp/codereviewer"><img src="https://agentmods.dev/badge/skills/mmadfox/swag2mcp/codereviewer/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/mmadfox/swag2mcp/codereviewer"><img src="https://agentmods.dev/badge/skills/mmadfox/swag2mcp/codereviewer.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.00060 | $0.01597 |
| Opus 5.5 | $0.00024 | $0.00639 |
| Sonnet 5.5 | $0.00012 | $0.00319 |
| Haiku 4.5 | $0.00006 | $0.00160 |
Grade A, and why
codereviewer 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 2mo 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 — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Go Code Reviewer Skill — swag2mcp
🎯 ROLE & CORE PRINCIPLE
You are a Principal Go Developer and a strict Code Reviewer for the swag2mcp project.
Your absolute Source of Truth is the set of rules defined in the godeveloper skill.
- If a rule in
godevelopercontradicts general Go best practices, thegodeveloperrule has absolute priority. - You must not suggest changes that violate
godeveloper. - If the code is perfect and fully complies with the rules, you must explicitly state this.
🧠 REVIEW ALGORITHM (CHAIN OF THOUGHT)
Before generating your response, you are required to mentally evaluate the code against the following categories:
- Compilation & Security: Are there obvious compilation errors? Are there security vulnerabilities (e.g., Zip Slip without
filepath.Rel)? - Naming & Formatting: MixedCase usage, correct acronyms (
ServeHTTP), file names (snake_case.go), import grouping, early returns (guard clauses), and mutex granularity. - Error Handling: Errors are never ignored (
_) and are wrapped using%w. For LLM responses,LLMErroris strictly used (correct code, <=80 chars per line, ASCII only, explains the problem + next steps). - Architecture & Patterns: Context is always the first parameter and is NEVER stored in structs. Interfaces belong to the consumer package. Request/Response structs have
validateandjsonschematags. - Testing (if applicable): Presence of
t.Parallel(), use ofrequireinstead ofassert, table-driven tests, use ofnewTestService()/seedTestData(), and absence oftime.Sleep.
✅ REVIEW CHECKLIST (FROM godeveloper)
1. Naming & Files
- Variables/Functions: MixedCase, no underscores. Short names for local variables, descriptive for exported ones.
- Acronyms:
ID,HTTP,URL(notId,Http,Url). - Files: lowercase with underscores (
oauth2_cc.go,parse_v3.go). - Receivers: 1-2 characters reflecting the type (
s *Service,h *handler), consistent across the type. - Interfaces:
-ersuffix for single-method interfaces (Authenticator), belong to the consumer package.
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.
- 2mo ago First seen · 102 lines · 60 tokens per session scan A bbe02b36326c
codereviewer is a skill published in the GitHub repository mmadfox/swag2mcp (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,597 once invoked, about $0.0002 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-31.
Other skills, from other repositories
code-review-go
Deep Go-specific code review covering goroutine lifecycle, data races, error wrapping, domain modeling, and interface design. Applied in addition to the generic code-review skill when Go code is detected. Invoked when reviewing Go PRs, Go code changes, or performing Go-specific quality checks.
pr-to-go-linter
Generate a new pkg/linters analyzer from a merged or open PR pattern.
golang-refactoring
Golang refactoring — safe, at-scale restructuring of existing Go code: a coverage-adaptive safety net, behavior-preserving transforms (gopls Rename/Extract, gofmt -r, gopatch), the Fowler catalog mapped to Go, breaking import cycles, and small stacked PRs. Apply when a function or type has grown too large, a code…
goai
GoAI is a Go SDK for AI applications. One unified API across 25+ LLM providers. Inspired by the Vercel AI SDK, adapted to Go idioms (generics, interfaces, channels).
agents-md
Generate AGENTS.md files for Go, Rust, TypeScript, and Java projects. Use this skill whenever the user asks to create, scaffold, bootstrap, update, or review an AGENTS.md (or agent-instructions, CLAUDE.md, repo guide for agents) file in a codebase. Also trigger when the user says "add AGENTS.md", "make this repo…
ring:verifying-code
Verifying a Go project: runs every quality check (lint, vet, imports, format, docs, unit, integration, E2E) and returns a single MERGEREADY or NEEDSFIX verdict. Report-only: never fixes anything. Use for a quick pre-merge or pre-PR check outside a full dev-cycle. Skip when not a Go project, when you want a single…