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 lwmxiaobei/xbcode --skill code-reviewgit clone --depth 1 https://github.com/lwmxiaobei/xbcodeWrote 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/lwmxiaobei/xbcode/code-review)<a href="https://agentmods.dev/skills/lwmxiaobei/xbcode/code-review"><img src="https://agentmods.dev/badge/skills/lwmxiaobei/xbcode/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/lwmxiaobei/xbcode/code-review"><img src="https://agentmods.dev/badge/skills/lwmxiaobei/xbcode/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.00013 | $0.00222 |
| Opus 5.5 | $0.00005 | $0.00089 |
| Sonnet 5.5 | $0.00003 | $0.00044 |
| Haiku 4.5 | $0.00001 | $0.00022 |
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 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.
What it actually says
Code Review Guidelines
When reviewing code, follow these steps:
- Read the code thoroughly — understand the intent before critiquing.
- Check for bugs — null references, off-by-one errors, race conditions, resource leaks.
- Evaluate naming — are variables, functions, and classes named clearly?
- Assess structure — is the code modular? Are responsibilities well-separated?
- Security — look for injection vulnerabilities, unsafe inputs, hardcoded secrets.
- Performance — unnecessary allocations, N+1 queries, blocking calls in async code.
- Tests — are edge cases covered? Are tests readable and maintainable?
Output format:
- Start with a one-line summary (good / needs work / has issues).
- List findings grouped by severity: 🔴 Critical, 🟡 Warning, 🟢 Suggestion.
- For each finding, include file, line, and a concrete fix.
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 · 23 lines · 13 tokens per session scan A 84731261b5cd
code-review is a skill published in the GitHub repository lwmxiaobei/xbcode (48 stars, last pushed 2mo ago), licensed MIT. It adds 13 tokens to every session and 222 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-reviewlwmxiaobei/xbcode | Skill | 48 | 2mo ago | MIT | A | 13 | Claude Code, Codex |
| code-reviewgithub/spec-kit | Skill | 148k | yesterday | MIT | A | 54 | Claude Code |
| code-quality-principlesathola/claude-night-market | Skill | 348 | yesterday | MIT | A | 38 | Claude Code |
| octocode-roastbgauryy/octocode | Skill | 957 | 2d ago | MIT | A | 71 | Claude Code, Codex |
| code-review-webrampstackco/claude-skills | Skill | 1.0k | 11d ago | MIT | A | 121 | Claude Code |
| code-reviewfabriqaai/specs.md | Skill | 225 | 3d ago | MIT | A | 30 | Claude Code, Codex |
| brooks-lintskillmds/skillmd | Skill | 189 | 3d ago | MIT | A | 26 | Claude Code |