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 instructions/perrylink/dsh-auto-review/agents-mdgit clone --depth 1 https://github.com/PerryLink/dsh-auto-reviewWrote 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/instructions/perrylink/dsh-auto-review/agents-md)<a href="https://agentmods.dev/instructions/perrylink/dsh-auto-review/agents-md"><img src="https://agentmods.dev/badge/instructions/perrylink/dsh-auto-review/agents-md.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.1 | $0.02216 | $0.02216 |
| Opus 5 | $0.01108 | $0.01108 |
| Sonnet 5 | $0.00443 | $0.00443 |
| Haiku 4.5 | $0.00222 | $0.00222 |
Grade A, and why
dsh-auto-review AGENTS.md 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 today.
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 — 58 lines — stays where its author put it; the contents beside it link to each section on GitHub.
AGENTS.md
Standalone DeepSeek Harness plugin repository (dsh-auto-review). Development follows the dsh-plugin-guide skill and the official plugin contract; this file records repo-local decisions.
Layout
src/index.ts— function-plugin contract (name/inject/Config/apply; NO default export — the Loader unwrapsexports.default ?? exports).src/config.ts— Schemastery schema + explicitresolveConfig(no hidden?? defaultinrun()paths).src/runtime.ts—approval/requestanswerer,tools/post-executedeny-reason injection,/auto-reviewcommand.src/review.ts— reviewer subagent orchestration, prompt, sanitization, verdict parsing.src/isolation.ts— the reviewer child's context firewall: theReviewerChildrenregistry (prompt announcement beforesubagents.start, id latch afterwards — the child's first step races the start's resolution) and theagent/pre-stepallow-list over message SOURCES that keeps injected context (workspace instruction files, the loop's runtime-context snapshot, third-party injections) out of the reviewer's steps.src/events.ts—autoReview/state+autoReview/verdict+autoReview/circuit+autoReview/override+autoReview/rejectionSessionEventMap members (declaration merging), pure folds, theStateAppend/VerdictAppend/CircuitAppend/OverrideAppend/RejectionAppendsurfaces that request the envelope'signorable: truemarker, and the marker-freeplain*ResultTextbuilders for audit-disabled hosts.src/call-id.ts— dual-ruler call-id brand (ToolExecution['callId']fromdsh-tools): host master renamed the dsh-llmCallIdbrand toToolCallId, so the package derives the brand locally instead of naming either line's brand.src/audit.ts— hostignorable-marker capability detection (isMarkedAuditEvent,isUnmarkedHostVersion,peerSessionVersion), the shared seam every audit append gates on.src/messages.ts—/auto-reviewcommand strings inen/zh(thelanguageconfig selects the table).src/projection.ts+src/projection-types.ts— theautoReviewsession-projection unit (host fold + wire schema) and its pure-type outlet (zero value imports, so client programs never drag the host chain). Registered inapplywhenever the host provides the session-projection capability (feature-detected: the answerer must work without it).src/client/— browser half: the session-header review panel (ReviewPanel.tsx), locale dictionaries, scoped stylesheet, and the client-plugin entry (contract:name= package name,inject,apply(ctx); the bundle follows the shell'swindow.__ModuleLoader__.loadhandshake).src/invariant.ts— invariant companion, exported asdsh-auto-review/invariant. Shipped commented-out in the bundle patch: it needs theinvariantsservice, which spine compositions (headless/ACP) provide but the plain web profile does not.test/— vitest; realContext+ realSession/ApprovalService/InvariantRegistryfrom the pinned0.1.2-rc.1dev peers, scripted subagent/commands/tools mocks.fixtures/— replayable session logs (invariant specs) + config examples.
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.
- today Changed · +2 tokens per session 10625530a3a9
- yesterday Changed · +2 lines · +183 tokens per session 16ca98cc96e0
- 5d ago First seen · 56 lines · 2,031 tokens per session scan A 4189b350c93f
dsh-auto-review AGENTS.md is an instructions file published in the GitHub repository PerryLink/dsh-auto-review (134 stars, last pushed today), licensed Apache-2.0. It adds 2,216 tokens to every session, about $0.0111 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-30.
Other instructions, from other repositories
dsh-mcp-panel AGENTS.md
AGENTS.md instructions for PerryLink/dsh-mcp-panel, covering agents.md, layout, hard rules applied here, config and build.
dsh-web AGENTS.md
AGENTS.md instructions for zhu1090093659/dsh-web, covering dsh-web repository instructions, repository layout, common commands, repository rules and development workflow.
DSH-better-sidebar AGENTS.md
AGENTS.md instructions for omdsh-dev/DSH-better-sidebar, covering dsh-better-sidebar 仓库规则(agents), 1. 仓库硬约束(必须遵守), 2. ci 挂载冒烟(plugin-mount job / pnpm test:mount), 3. dsh 0.1.2 适配要点(0.1.2-rc.1+ 基线) and 4. npm 发版(github release → npm publish).
dsh-worktable AGENTS.md
AGENTS.md instructions for Aisland-SJL/dsh-worktable, covering dsh-worktable 项目规则, 协作方式(用户定案,最高优先级), 边界, 构建与验证 and 领域约定(会话中必须遵守).
modsearch AGENTS.md
AGENTS.md instructions for liustack/modsearch, covering project overview (for ai agent), goal, technical approach, code organization and skills directory.
deepseek-harness-desktop AGENTS.md
Instructions for baihejiangnan/deepseek-harness-desktop, covering dsh launcher 开发规范, 首要原则, 进程与窗口模型, 实例与数据规则 and dsh 运行时与更新边界.