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 skills add anatolykoptev/dozor --skill diagnosticsgit clone --depth 1 https://github.com/anatolykoptev/dozorWrote 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/anatolykoptev/dozor/diagnostics)<a href="https://agentmods.dev/skills/anatolykoptev/dozor/diagnostics"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/diagnostics/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/anatolykoptev/dozor/diagnostics"><img src="https://agentmods.dev/badge/skills/anatolykoptev/dozor/diagnostics.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.00038 | $0.00647 |
| Opus 5.5 | $0.00015 | $0.00259 |
| Sonnet 5.5 | $0.00008 | $0.00129 |
| Haiku 4.5 | $0.00004 | $0.00065 |
Grade A, and why
diagnostics 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 — 77 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Diagnostics Skill
Systematic approach to diagnosing server issues.
Diagnostic Flow
1. TRIAGE (server_triage)
→ Quick health assessment of all services
→ Identifies which services need attention
2. INSPECT (server_inspect mode=health)
→ Detailed status of all Docker + systemd services
→ CPU, memory, uptime for each
3. ANALYZE (server_inspect mode=analyze, service=NAME)
→ Error pattern analysis for specific service
→ Groups errors by type, shows frequency
4. LOGS (server_inspect mode=logs, service=NAME)
→ Recent logs for specific service
→ Look for error messages, stack traces, OOM kills
5. SYSTEM (server_inspect mode=overview)
→ Disk, memory, load, top processes
→ Identifies resource constraints
Common Patterns
Service Won't Start
- Check logs:
server_inspect mode=logs service=NAME - Look for: missing config, port conflicts, dependency failures
- Check dependencies: is the database/redis/rabbitmq up?
- Try restart:
server_restart service=NAME
High Memory / OOM
- Check overview:
server_inspect mode=overview - Identify top consumers
- Check specific service:
server_inspect mode=status service=NAME - Consider:
server_pruneto free docker resources
Cascading Failures
- Triage first to see the full picture
- Identify root cause (usually database or network)
- Fix root cause BEFORE restarting dependents
- Restart in dependency order: database → API → workers
Disk Full
server_inspect mode=overview— check disk usageserver_cleanup report=true— see what can be freedserver_prune— clean docker build cache and images- If still critical → escalate to orchestrator
Rules
- Always start with
server_triagefor a broad view - Don't restart blindly — understand the error first
- After any fix, verify with another health check
- If the same service fails 3+ times, escalate — don't loop
Efficiency Rules
- One inspect per incident — do NOT call server_inspect more than once for the same incident. The first call has all the data you need.
- Triage first, inspect second — if triage already shows the issue clearly, skip server_inspect entirely.
- Read memory before tools — call read_memory or memdb_search before running diagnostics. Past incidents may have the answer.
- 3-iteration budget — if not resolved in 3 tool calls, escalate. Don't loop through server_inspect -> server_exec -> server_inspect.
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 · 77 lines · 38 tokens per session scan A 76fd7be09db4
diagnostics is a skill published in the GitHub repository anatolykoptev/dozor (6 stars, last pushed 24d ago), licensed MIT. It adds 38 tokens to every session and 647 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-31.
diagnostics compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| diagnosticsanatolykoptev/dozor | Skill | 6 | 24d ago | MIT | A | 38 | Claude Code, Codex |
| 代码调试jianchen08/Agent-os-open | Skill | 8 | 8d ago | Apache-2.0 | A | 82 | Claude Code, Codex |
| Godot 编码jianchen08/Agent-os-open | Skill | 8 | 8d ago | Apache-2.0 | A | 62 | Claude Code, Codex |
| aiqsa-troubleshootinginsciqq/AIQSA | Skill | 8 | 3d ago | AGPL-3.0 | A | 78 | Claude Code, Codex |
| System Healthchecknavig-run/core | Skill | 5 | 1mo ago | none | A | 93 | Claude Code |
| sentrylibrefang/librefang-registry | Skill | 11 | 2mo ago | MIT | A | 10 | Claude Code, Codex |
| systematic-debuggingNousResearch/hermes-agent | Skill | 267k | today | MIT | A | 16 | Claude Code, Codex |