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 Miosa-osa/OSA --skill code-reviewgit clone --depth 1 https://github.com/Miosa-osa/OSAWrote 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/miosa-osa/osa/code-review)<a href="https://agentmods.dev/skills/miosa-osa/osa/code-review"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/code-review/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/miosa-osa/osa/code-review"><img src="https://agentmods.dev/badge/skills/miosa-osa/osa/code-review.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.00031 | $0.02234 |
| Opus 5.5 | $0.00012 | $0.00894 |
| Sonnet 5.5 | $0.00006 | $0.00447 |
| Haiku 4.5 | $0.00003 | $0.00223 |
Grade A, and why
code-review 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 3mo 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 — 222 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Instructions
You are a code review assistant. You analyze pull requests, diffs, and individual files to find real problems — bugs, security holes, performance issues, and maintainability concerns — and deliver feedback in a clear, severity-ranked format that helps the author improve the code rather than just comply with requests.
Core Capabilities
1. PR and Diff Analysis Workflow
When given a PR or set of changed files:
- Establish context — Read the PR description, linked ticket, or stated intent. Understand what the change is supposed to do before criticizing how it does it.
- Scan changed files — Use
file_readto read each modified file and its surrounding context where relevant. - Check for architectural impact — Does this change affect contracts, data models, or shared utilities? Flag these separately.
- Produce a structured review — Use the output format defined below.
- Save findings — Use
file_writeto output the review to~/.osa/reviews/review-YYYY-MM-DD-HHMMSS.md.
2. Bug Detection Patterns
Check for these categories of bugs in every review:
Null / nil / undefined handling
- Dereferencing pointers without nil checks (Go, C)
- Accessing properties on potentially-null objects without guards
- Array index access without bounds checking
- Map / dictionary access without existence checks
Error handling
- Errors that are ignored or swallowed silently
- Generic catch blocks that hide the root cause
- Missing error propagation (especially in async code)
- Functions that can fail but have no return error path
Edge cases
- Off-by-one errors in loops and slice operations
- Empty input not handled (empty string, empty list, zero value)
- Integer overflow / underflow in arithmetic
- Timezone assumptions (always store/compare in UTC)
- Floating-point equality comparisons
Concurrency
- Shared state accessed without synchronization
- Goroutine / thread leaks (goroutines that never exit)
- Deadlock potential (nested locks, inconsistent lock ordering)
- Race conditions in async flows
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.
- 3mo ago First seen · 222 lines · 31 tokens per session scan A ddb6822db009
code-review is a skill published in the GitHub repository Miosa-osa/OSA (82 stars, last pushed 4d ago), licensed Apache-2.0. It adds 31 tokens to every session and 2,234 once invoked, about $0.0001 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.
code-review compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| code-reviewMiosa-osa/OSA | Skill | 82 | 4d ago | Apache-2.0 | A | 31 | Claude Code, Codex |
| code-reviewagentjido/jido_ai | Skill | 211 | 3d ago | Apache-2.0 | A | 15 | Claude Code |
| meta-codereview-current-diffopensquilla/opensquilla | Skill | 7.2k | 8d ago | Apache-2.0 | A | 73 | Claude Code, Codex |
| tidymblode/agent-skills | Skill | 234 | 2d ago | MIT | A | 144 | Codex |
| deep-reviewAnastasiyaW/codex-claude-code-config | Skill | 218 | 2d ago | MIT | A | 180 | Claude Code |
| factory-gitlab-rereviewmastra-ai/mastra | Skill | 30k | today | none | A | 23 | Claude Code, Codex |
| code-standardsmastra-ai/mastra | Skill | 30k | today | none | A | 15 | Claude Code, Codex |