Borrowing it
Nothing to install: this file belongs to PerryLink/dsh-auto-review. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/PerryLink/dsh-auto-review/main/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/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/instructions/perrylink/dsh-auto-review/agents-md"><img src="https://agentmods.dev/badge/instructions/perrylink/dsh-auto-review/agents-md.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.03713 | $0.03713 |
| Opus 5.5 | $0.01485 | $0.01485 |
| Sonnet 5.5 | $0.00743 | $0.00743 |
| Haiku 4.5 | $0.00371 | $0.00371 |
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 11d 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 — 64 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/phocinae.ts— the optional local non-generative reviewer backend: thePOST /v1/systemoneclient forPhocinae-Largha-150M-v1(one measured harm question with described options, shell-command extraction, calibrated-confidence floor, protocol validation, veto/triage mapping: destructive denies, risky/unsure escalates, harmless+confidence allows).review.tsselects it fromreviewerBackendand builds the redacted evidence.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 workspace instruction files and third-party injections out of the reviewer's steps. The loop re-admits its own runtime-context snapshot AFTER this seam; the firewall does not remove it, and no doc may claim otherwise.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/session-message.ts— the tool-result shape adapter: reads the V4 first-classrole:'tool'message AND the released-V3tool-resultwrapper. Read-only compatibility — this package never WRITES the retired shape (the host producestool/resultrows), and the V4 admission path refuses a wrapper outright.src/message-source.ts— this package's producer-owned message source kind ('auto-review'), declared by module augmentation because the host'sMessageSourceMaphas no catch-allpluginkind and the durable-log admission path refuses one.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.2.1-rc.2/0.2.1-alpha.1dev peers (the test suite's whole@deepseek-ai/dsh-*graph is pinned to the 0.2.1 line inpnpm-workspace.yaml; the node faces leave every@deepseek-ai/specifier external, so the runtime resolves them from the host profile and carries no runtimedsh-*dependencies), scripted subagent/commands/tools mocks. Only direct dependencies can be pinned inpackage.json(pnpm 11 ignores apnpmfield there), andautoInstallPeersotherwise satisfies peer ranges from the graph.fixtures/— replayable session logs (invariant specs) + config examples. Fixtures are FROZEN old-line artifacts on purpose: rewriting them to the current shape would stop them testing the upgrade path a real stored log takes.scripts/loader-runner.mjsre-throws the firstFiberState.FAILEDloader row's error. Under loader 1.0.4 + cordis 4.0.3 a rejected row no longer failsloader.await()(the tree usesPromise.allSettledand reports throughctx.logger.error, which an unequipped composition swallows), so without the re-throw the negative composition regressions pass on a downstream symptom instead of the real reason.DSH_LOADER_RUNNER_NO_RETHROW=1disables it for re-measurement only.
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.
- 11d ago Changed · +172 tokens per session 9e8611426673
- 12d ago Changed · +2 lines · +263 tokens per session fbbc319a1f78
- 19d ago Changed · +17 tokens per session ac331fd7967a
- 1mo ago Changed · +1 lines · +249 tokens per session 2cb2219de564
- 1mo ago Changed 3f3de2dd59d9
- 1mo ago Changed · +3 lines · +399 tokens per session d7a4ecf80b90
- 1mo ago Changed · +8 tokens per session a17923c1eff0
- 1mo ago Changed · +19 tokens per session bda5d80b0d2c
- 1mo ago Changed · +37 tokens per session b3c009ecdb37
- 1mo ago First seen · 58 lines · 2,549 tokens per session scan A e9074d5de544
dsh-auto-review AGENTS.md is an instructions file published in the GitHub repository PerryLink/dsh-auto-review (247 stars, last pushed yesterday), licensed Apache-2.0. It adds 3,713 tokens to every session, about $0.0149 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.
dsh-auto-review AGENTS.md compared with instructions from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dsh-auto-review AGENTS.mdPerryLink/dsh-auto-review | Instructions file | 247 | yesterday | Apache-2.0 | A | 3,713 | Codex, OpenCode |
| vscode buildNext.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 9,719 | GitHub Copilot |
| next.js AGENTS.mdvercel/next.js | Instructions file | 143k | yesterday | MIT | A | 7,461 | Codex, OpenCode |
| langchain AGENTS.mdlangchain-ai/langchain | Instructions file | 149k | yesterday | MIT | A | 4,680 | Codex, OpenCode |
| vscode oss-third-party-notices.instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 5,516 | GitHub Copilot |
| vscode copilot-instructions.mdmicrosoft/vscode | Instructions file | 195k | yesterday | MIT | A | 3,093 | GitHub Copilot |
| deepseek-harness AGENTS.mddeepseek-ai/deepseek-harness | Instructions file | 274k | 2d ago | MIT | A | 4,313 | Codex, OpenCode |