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 | $0.00019 | $0.00324 |
| Sonnet 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 8d 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.
- 8d ago First seen · 77 lines · 38 tokens per session scan A 76fd7be09db4
diagnostics is a skill published in the GitHub repository anatolykoptev/dozor (5 stars, last pushed today), licensed MIT. It adds 38 tokens to every session and 647 once invoked, about $0.0002 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
代码调试
A debugging workflow that reproduces a problem with a failing test, collects evidence, finds the underlying cause, applies a fix, and runs regression checks. Regression checks verify that the fix does not break behavior that already worked.
Godot 编码
A Godot 4 development workflow for editing game scenes and scripts, using the Godot editor to run changes and checking the result. Godot is a tool for building games; scenes describe game objects and their relationships.
System Healthcheck
Run a lightweight, non-destructive system healthcheck — disk usage, memory, CPU load, process count, hostname — and store a structured snapshot in session memory. Use when the user says "run a healthcheck", "check system health", "how's the server doing", "is everything ok", or asks for a status/diagnostics snapshot…
sentry
Sentry error tracking and debugging specialist.
systematic-debugging
4-phase root cause debugging: understand bugs before fixing.
langsmith-observability
LLM observability platform for tracing, evaluation, and monitoring. Use when debugging LLM applications, evaluating model outputs against datasets, monitoring production systems, or building systematic testing pipelines for AI applications.