Borrowing it
Nothing to install: this file belongs to standardbeagle/agnt. 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/standardbeagle/agnt/main/.claude/skills/daemon-health-check/SKILL.mdgit clone --depth 1 https://github.com/standardbeagle/agntWrote 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/standardbeagle/agnt/daemon-health-check)<a href="https://agentmods.dev/skills/standardbeagle/agnt/daemon-health-check"><img src="https://agentmods.dev/badge/skills/standardbeagle/agnt/daemon-health-check/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/standardbeagle/agnt/daemon-health-check"><img src="https://agentmods.dev/badge/skills/standardbeagle/agnt/daemon-health-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00019 | $0.00992 |
| Opus 5.5 | $0.00008 | $0.00397 |
| Sonnet 5.5 | $0.00004 | $0.00198 |
| Haiku 4.5 | $0.00002 | $0.00099 |
Grade A, and why
daemon-health-check 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 1mo 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 — 113 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Daemon Health Check & Doctor
Use this skill when implementing or modifying health check, reconciliation, or doctor functionality.
Reconciliation Algorithm
The daemon's in-memory state is a cache. Reconciliation verifies it against OS truth and fixes mismatches.
Step 1: Gather Expected State
- Parse
.agnt.kdlfor all projects with running scripts - Build expected set:
{script → process, proxy → target, port → owner}
Step 2: Gather Actual State (OS Truth)
Cross-platform requirement — every probe must go through internal/platform/:
| Probe | Linux/macOS | Windows | WSL |
|---|---|---|---|
| PID alive | kill(pid, 0) or /proc/<pid> |
OpenProcess |
kill(pid, 0), cmd.exe for Windows-spawned |
| Port owner | ss -tlnp / lsof -i |
netstat -ano |
ss for Linux, netstat.exe for Windows |
| Proxy health | TCP connect / HTTP GET | Same | Same |
Step 3: Diff Expected vs Actual
| Finding | State update | Event |
|---|---|---|
| Process in daemon but PID dead | Mark Dead | Emit ScriptStopped |
| Port in use but not by our process | Flag rogue | Record PID in warning |
| Proxy in daemon but not responding | Mark unhealthy | Emit warning |
| Config expects proxy but none exists | Attempt fallback-port | Emit warning if no fallback |
| Process running, no URL detected, has fallback-port | Create proxy via fallback | Log proxy creation |
| Process producing error output | Mark Running With Errors | Surface to AI agent |
Step 4: Reconcile
- Update daemon cache to match reality
- Emit events for each state change
- Return diff report (for doctor command)
Stall Detection
CRITICAL: Never kill a process that is producing output, even error output.
A process is stalled ONLY when ALL are true:
- No stdout/stderr output for stall threshold (default 120s)
- AlertScanner has no recent classifications
- Process is not in Starting state
Error output IS activity:
- AlertScanner classifies: compile errors, panics, exceptions
- Recent alerts → "Running With Errors", not stalled
- "Running With Errors" → surface to AI agent for code fixes, NEVER kill
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.
- 1mo ago First seen · 113 lines · 19 tokens per session scan A 2a259de5f288
daemon-health-check is a skill published in the GitHub repository standardbeagle/agnt (22 stars, last pushed today), licensed Apache-2.0. It adds 19 tokens to every session and 992 once invoked, about $0.0001 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.
Other skills, from other repositories
pinchtab-mcp
Use this skill when a task requires browser automation through PinchTab's MCP server connected to a remote browser instance. Covers navigation, element interaction, data extraction, form filling, multi-step flows, and session management via MCP tools.
pinchtab-stealth-score
Run the PinchTab stealth-score sweep against 15 bot-detection / fingerprint sites (sannysoft, rebrowser, deviceandbrowserinfo, iphey, whoer, browserscan, pixelscan, fingerprint-scan, incolumitas, fvision, amiunique, browserleaks, creepjs, coveryourtracks, fingerprint-demo). Starts a Docker PinchTab container per…
gmeasure
Benchmark and measure Go code with gmeasure — an Experiment groups named Measurements, recorded via RecordValue/RecordDuration/MeasureDuration or repeated Sample/SampleValue/SampleDuration with SamplingConfig, timed inline with a Stopwatch, summarized through GetStats/Stats (StatMin/Max/Mean/Median/StdDev…
octo-mail
OCTO Agent Mail operations for reading, searching, policy-aware sending, preparing drafts, and checking delivery status exclusively through octo-cli.
octo-docs
Docs domain — create and govern documents, read and incrementally edit a doc's live body, read and edit spreadsheets including structural row/column edits, find & replace, cells, layout, shared filters, sorting, freeze panes, and validation/dropdowns, read and batch-edit whiteboard scenes, create and edit PPT…
sentry-go-sdk
Full Sentry SDK setup for Go. Use when asked to "add Sentry to Go", "install sentry-go", "setup Sentry in Go", or configure error monitoring, tracing, logging, metrics, or crons for Go applications. Supports net/http, Gin, Echo, Fiber, FastHTTP, Iris, Negroni, and gRPC.