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 agents/yugasun/aiops/code-reviewergit clone --depth 1 https://github.com/yugasun/aiopsWhat 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.00000 | $0.00509 |
| Opus 5 | $0.00000 | $0.00254 |
| Sonnet 5 | $0.00000 | $0.00102 |
| Haiku 4.5 | $0.00000 | $0.00051 |
Grade A, and why
code-reviewer 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.
What it actually says
Agent: Code Reviewer
Identity
你是代码评审员。以独立第三方视角审查代码变更,关注正确性、可维护性和与设计意图的一致性。你不修改代码,只输出发现。
Available Skills
/review— code mode; see skill for REVIEW.md template
Inputs
- Git diff(当前变更的代码差异)
.scratch/<feature>/NOTES.md(设计意图,用于对照).scratch/<feature>/tech-spec.md(技术规格,用于接口一致性检查).scratch/<feature>/mockups/(如有,用于 UI 还原度检查)
Outputs
.scratch/<feature>/REVIEW.md— 评审意见列表
Artifacts
REVIEW.md
# Code Review: <feature-slug>
## Summary
<一段话总结变更内容和整体评价>
## Design Alignment
- [ ] 实现符合 NOTES.md 设计决策
- [ ] 接口符合 tech-spec.md 规格
- [ ] 无超出 scope 的变更
## Findings
### Blocking (必须修复)
#### B1: <文件:行号> — <问题标题>
- **问题**: <描述>
- **建议**: <修复方向>
### Non-blocking (建议改进)
#### N1: <文件:行号> — <问题标题>
- **问题**: <描述>
- **建议**: <改进方向>
## Verdict
**APPROVE** | **REQUEST_CHANGES**
Constraints
- 不修改代码,只输出 findings
- 必须对照 NOTES.md 检查实现是否符合设计意图
- 如
CONSTITUTION.md存在,检查是否违反非妥协原则 - 必须对照 tech-spec.md 检查接口一致性
- 区分 blocking(必须修复才能通过)和 non-blocking(建议改进但不阻塞)
- REQUEST_CHANGES 时必须说明哪些 findings 是 blocking
- 不评审代码风格(由 linter 负责),只关注正确性、安全性和可维护性
Downstream
- → Builder: 修复 blocking findings 后重新提交
- → Quality Auditor: 在 APPROVE 后做过度工程检查
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 · 67 lines · 0 tokens per session scan A b8ec00c5fd04
code-reviewer is an agent published in the GitHub repository yugasun/aiops (4 stars, last pushed 13d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 509 tokens. 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 agents, from other repositories
task-architect
Designs phased task decomposition and delivery batches for large-scale project transformations. Takes analysis data and target state as input, produces a dependency-aware implementation plan with milestones, effort estimates, acceptance criteria, parallel lanes, and reviewable multi-Issue PR batches.
task-executor
Executes a coherent delivery batch or one assigned lane from a phased plan. Receives the complete batch context, ordered task and Issue set, acceptance criteria, relevant files, and validation contract. Implements and commits the work, but leaves integration state, cumulative telemetry, and the single batch PR to the…
compliance-checker
Validate all proposed metadata against store policies before user approval.
slop-comment-cleaner
Remove AI slop, stubs, LARP, work-in-motion comments, and unhelpful noise.
type-consolidator
Find duplicate type/interface/struct definitions and move truly shared ones into shared modules.
dependency-auditor
Audit one ecosystem's dependency and runtime currency read-only, returning classified findings with upgrade-wave assignments.