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/xl188/xlskills/requesting-code-reviewnpx skills add xl188/XLSkills --skill requesting-code-reviewgit clone --depth 1 https://github.com/xl188/XLSkillsWrote 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/xl188/xlskills/requesting-code-review)<a href="https://agentmods.dev/skills/xl188/xlskills/requesting-code-review"><img src="https://agentmods.dev/badge/skills/xl188/xlskills/requesting-code-review.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.00096 | $0.04744 |
| Opus 5 | $0.00048 | $0.02372 |
| Sonnet 5 | $0.00019 | $0.00949 |
| Haiku 4.5 | $0.00010 | $0.00474 |
Grade A, and why
dsh-requesting-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 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 — 325 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Pre-Commit Code Verification(DSH 版)
Automated verification pipeline before code lands. Static scans, baseline-aware quality gates, an independent reviewer subagent, and an auto-fix loop.
Core principle: No agent should verify its own work. Fresh context finds what you miss.
与 Hermes 版的关系:流程 / 契约 / 铁律同源。差异只在平台机制——DSH 用批量并行 subagent(同一条消息多个调用并行执行,默认并发上限 10)替代 delegate_task(tasks=[...]);审查员没有 toolsets 参数可传,改用 prompt 指令约束"不要调用工具";大规模审查可打包成 references/dual-axis-review.md 的 workflow(agent() 的 opts.schema 在工具层强校验 JSON 契约)。
When to Use
- After implementing a feature or bug fix, before
git commitorgit push - When user says "commit", "push", "ship", "done", "verify", or "review before merge"
- After completing a task with 2+ file edits in a git repo
- 多任务流水线的每个任务后(作为质量闸门)
Skip for: documentation-only changes, pure config tweaks, or when user says "skip verification".
Step 1 — Get the diff
git diff --cached
Empty → git diff,再空 → git diff HEAD~1 HEAD。若 --cached 空但 git diff 有内容,提示用户 git add <files>(按 dsh-dev-pm-flow 流程改动通常未暂存,直接审查 git diff 即可)。仍空 → git status,没什么可验。
diff 超 15,000 字符 → 按文件拆分:
git diff --name-only
git diff HEAD -- specific_file.cs
Step 2 — Static security scan
只扫新增行。任何命中 = 安全信号,喂给 Step 5。
按项目技术栈选择扫描 pattern 库(单一事实源,复用仓库级 requesting-code-review/references/dotnet.md,不复制;作为 DSH 技能安装后随包部署于 references/dotnet.md):
- .NET / C# / SqlSugar / Oracle → 读
requesting-code-review/references/dotnet.md,执行其中的扫描命令与 checklist;pwsh 等价:git diff --cached | Select-String -Pattern '^\+[^\+]' | Select-String -Pattern '<同一条 -iE 正则>' - 其他技术栈(Java/Go/Python…)→ 手动按对应语言补充 pattern;没有对应参考文件时明说"该栈无内置 pattern"
- 硬约束:未读对应 references 文件(.NET 即 dotnet.md)不得进入扫描——SKILL.md 不内置任何可执行 pattern,漏读 = 空转还自以为扫过
通用原则:Select-String -Pattern '^\+[^\+]' 排除 +++ b/file diff 头行;扫描只针对新增行,命中 = 需人工复核的信号。
Step 3 — Baseline tests and linting
检测项目语言,跑对应工具。先测改动前失败数 baseline_failures(stash 改动 → 跑 → pop),只统计你改动新增的失败。
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 325 lines · 96 tokens per session scan A 0f7b5bba30d4
dsh-requesting-code-review is a skill published in the GitHub repository xl188/XLSkills (2 stars, last pushed 7d ago), licensed MIT. It adds 96 tokens to every session and 4,744 once invoked, about $0.0005 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-31.
Other skills, from other repositories
anysearch
Real-time search engine supporting web search, vertical domain search, parallel batch search, and URL content extraction.
hermes-self-evaluation
Use this skill when the user asks to audit, review, or optimize Hermes's own performance — analyzing session data, skills, configuration, costs, and usage patterns to identify improvements, automation opportunities, and system optimizations.
mnemosyne-maintenance
Use when: upgrading Mnemosyne, diagnosing slow/hung consolidation (mnemosynesleep), fixing missing embeddings, or troubleshooting import/version mismatches.
svix-sending-webhooks
Everything for working with Svix webhooks: first-time setup (API key, SDK install, first message), Dispatch (sending webhooks to your customers), Ingest (receiving third-party webhooks), Applications, Channels, customer UIDs, idempotency, App Portal embedding, operational webhooks, the Svix CLI, and — only when the…
receiving-webhooks
General guidelines for building a robust webhook receiver/handler: verifying signatures, raw-body access, replay protection, async processing, retries and endpoint auto-disabling. Use whenever you write, review, or debug a handler that consumes incoming webhooks from any provider.
git-phase-restore
Autonomous Git-based project phase restoration. Uses Git history (commits, tags, branches, diffs, semantic messages) to identify and restore any development phase automatically. Trigger for: "restore to when X worked", "go back to before Y broke", "show project phases", "undo the last feature", "roll back to [phase]"…