Getting it into your agent
This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.
/plugin marketplace add anthony-chaudhary/dos-kernel/plugin install dos-kernelWrote 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/anthony-chaudhary/dos-kernel/dos-stats)<a href="https://agentmods.dev/skills/anthony-chaudhary/dos-kernel/dos-stats"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-stats/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/anthony-chaudhary/dos-kernel/dos-stats"><img src="https://agentmods.dev/badge/skills/anthony-chaudhary/dos-kernel/dos-stats.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.00047 | $0.01425 |
| Opus 5.5 | $0.00019 | $0.00570 |
| Sonnet 5.5 | $0.00009 | $0.00285 |
| Haiku 4.5 | $0.00005 | $0.00143 |
Grade A, and why
dos-stats 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 3mo 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 — 103 lines — stays where its author put it; the contents beside it link to each section on GitHub.
dos-stats — read the kernel's own activity log
The DOS hooks judge your agents from non-forgeable evidence. This skill turns that lens on the kernel itself. Every time a hook fires (before a tool call, after a read, on a stop), the bundled native
dos-hookbinary writes ONE line to a durable log describing what it decided. This skill folds that log into a report you read. It is the binary's own dogfood: the kernel emits evidence about its own adjudication, the same way it demands evidence from the agents it judges (docs/276).
What writes the log (so the numbers mean something)
The plugin's hooks call the bundled dos-hook binary on every tool call. On each
call the binary appends one record to .dos/metrics/observations.jsonl under this
workspace — the verb it ran, the decision it reached, the reason class, the dialect,
the exit code, how long it took. The log is append-only and local; nothing reads
it back until you run this. It is on by default and opt-OUT with DOS_HOOK_METRICS=0.
Step 1 — Fold the log into a report
The binary lives in the plugin bundle, so call it by its bundle path (the same launcher the hooks use picks the right binary for your machine):
"${CLAUDE_PLUGIN_ROOT}/bin/dos-hook" stats --workspace .
A populated run looks like this:
dos-hook stats — /your/project
observations 4
tool calls 3 adjudicated — 2 passed untouched (66.7%), 1 intervened (33.3%)
by verb posttool=1 pretool=3
by outcome deny=1 passthrough=3
by exit code 0=3 2=1
pretool rung admission=1 none=1 provenance=1
dialect claude-code=3
stream state ADVANCING=1
delegates 0 (native declined → Python)
stop blocks 0 (false-done refusals)
latency (ms) verb n mean p50 p95 max
posttool 1 2.29 2.29 2.29 2.29
pretool 3 5.32 5.32 5.42 5.42
If it says (no observations yet …) that is normal and correct — the log is
empty until the hooks have fired at least once. Make any tool call in this project
(read a file, run a command) and re-run; the count climbs.
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.
- 3mo ago First seen · 103 lines · 47 tokens per session scan A 7a009453cf5f
dos-stats is a skill published in the GitHub repository anthony-chaudhary/dos-kernel (21 stars, last pushed 1mo ago), licensed MIT. It adds 47 tokens to every session and 1,425 once invoked, about $0.0002 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.
dos-stats compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dos-statsanthony-chaudhary/dos-kernel | Skill | 21 | 1mo ago | MIT | A | 47 | Claude Code |
| rust-checkHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 15 | Claude Code, Codex |
| openrig-skillsmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 109 | Claude Code |
| debugHmbown/CodeWhale | Skill | 41k | 3d ago | MIT | A | 30 | Claude Code, Codex |
| oversight-teammvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 117 | Claude Code, Codex |
| developing-openrigmvschwarz/openrig | Skill | 9.0k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| feedbackHmbown/Codewhale | Skill | 41k | 2mo ago | MIT | A | 0 | Claude Code, Codex |