watchdog
Skill96 starsChanged 7 months agoMITView on GitHub
Post-deploy monitoring. Use when verifying a deployed app is healthy after deploy or launch — auto-fires from launch/deploy. Checks HTTP status, response times, error detection, and smoke test report.
5 other projects use a version of this.
Adopted by
Most recently taken up by
- saksham10arora-dotcom/everything-claude-codextheir own version, first seen Nov 29, 2026
- Shelf-nu/shelf.nutheir own version, first seen Nov 1, 2026
- yanyan1115/ringringringtheir own version, first seen Nov 1, 2026
- mohitbadwal/ringbacktheir own version, first seen Oct 13, 2026
- DROOdotFOO/agent-skillstheir own version, first seen Sep 1, 2026
Other versions5 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 5
- Shelf-nu/shelf.nu★ 3.1ksame name
- saksham10arora-dotcom/everything-claude-codex★ 118same name
- yanyan1115/ringringring★ 54same name
- mohitbadwal/ringback★ 25same name
- DROOdotFOO/agent-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository70 other files it gives its agents.
- AGENTS.mdAGENTS.md
- CLAUDE.mdCLAUDE.md
- docs/llms.txtllms.txt
- llms.txtllms.txt
- adversarySkill
- asset-creatorSkill
- auditSkill
- autopsySkill
- baSkill
- brainstormSkill
- browser-pilotSkill
- completion-gateSkill
- constraint-checkSkill
- context-engineSkill
- context-packSkill
- convergeSkill
- cookSkill
- councilSkill
- dbSkill
- debugSkill
- dependency-doctorSkill
- deploySkill
- designSkill
- diagramSkill
- doc-processorSkill
- docs-seekerSkill
- docsSkill
- fixSkill
- gitSkill
- graftSkill
- hallucination-guardSkill
- improve-architectureSkill
- incidentSkill
- integrity-checkSkill
- journalSkill
- launchSkill
- logic-guardianSkill
- marketingSkill
- mcp-builderSkill
- neural-memorySkill
- onboardSkill
- perfSkill
- planSkill
- preflightSkill
- problem-solverSkill
- quarantineSkill
- rescueSkill
- researchSkill
- retroSkill
- review-intakeSkill
- reviewSkill
- safeguardSkill
- sastSkill
- scaffoldSkill
- scope-guardSkill
- scoutSkill
- sentinel-envSkill
- sentinelSkill
- sequential-thinkingSkill
- session-bridgeSkill
- The first 60 shown.
The file
We split this skill into the rules it gives an agent
12 rules. 0 are common, 6 are distinctive, and 6 are very specific to this project.
0
Common
Most of the 4 edited versions we read keep these.
6
Distinctive
This author's own choices. Worth a look.
6
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 39
If no endpoints provided, default to: ["/", "/health", "/ready"]
- Distinctive: line 70
After collecting response times from Step 3, analyze for patterns that indicate root causes:
- Very specific: line 73
Endpoint cluster degradation: if 3+ endpoints share a pattern (all auth endpoints slow, all /api/* slow): flag PERF_WARN — connection pool …
- Very specific: line 76
If no previous baseline exists, skip spike detection and note INFO: no baseline — first run.
- Very specific: line 120
If no alerts and no perf signals: output Overall status: ALL_HEALTHY.
- Distinctive: line 141
MUST report with specific metrics — not vague "performance seems slow"
- Distinctive: line 142
MUST include baseline comparison when available
- Distinctive: line 143
MUST NOT generate false alarms — precision over recall
- Distinctive: line 144
MUST separate perf signals from error alerts — they are different severity channels
- Very specific: line 145
MUST NOT call perf skill — watchdog is a detector, not a diagnoser
- Distinctive: line 160
All specified endpoints checked (HTTP status + response time measured)
- Very specific: line 161
All 4xx/5xx → alerts list, all SLOW → alerts list
“Common” is measured: kept by at least 6 in 10 of the 4 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
watchdog
Purpose
Post-deploy monitoring. Receives a deployed URL and list of expected endpoints, runs health checks, measures response times, detects errors, and returns a structured smoke test report.
Called By (inbound)
deploy(L2): post-deploy monitoring setuplaunch(L1): monitoring as part of launch pipelineincident(L2): current system state check during incident triage
Calls (outbound)
None — pure L3 utility.
Executable Instructions
Step 1: Receive Target
Accept input from calling skill:
base_url— deployed application URL (e.g.https://myapp.com)endpoints— list of paths to check (e.g.["/", "/health", "/api/status"])
If no endpoints provided, default to: ["/", "/health", "/ready"]
Step 2: Health Check
For each endpoint, run an HTTP status check using Bash:
curl -s -o /dev/null -w "%{http_code}" https://myapp.com/health- 2xx → HEALTHY
- 3xx → REDIRECT (note final destination)
- 4xx → CLIENT_ERROR (flag as alert)
- 5xx → SERVER_ERROR (flag as critical alert)
- Connection refused / timeout → UNREACHABLE (flag as critical)
Step 3: Response Time
For each endpoint, measure latency using Bash:
curl -s -o /dev/null -w "%{time_total}" https://myapp.com/healthThresholds:
- < 500ms → FAST
- 500ms–2000ms → ACCEPTABLE
2000ms → SLOW (flag as alert)
Step 4: Performance Signal Analysis
After collecting response times from Step 3, analyze for patterns that indicate root causes:
- Consistently 2x+ slower than baseline (or > 2000ms with no apparent load): flag with
PERF_WARN — investigate N+1 query or missing DB index - Endpoint cluster degradation: if 3+ endpoints share a pattern (all auth endpoints slow, all /api/* slow): flag
PERF_WARN — connection pool saturation likely - Spike after deploy: compare with previous watchdog run if available — if an endpoint that was FAST is now SLOW, flag
PERF_REGRESSION — correlate with recent git diff
If no previous baseline exists, skip spike detection and note INFO: no baseline — first run.
Output performance signals into a perf_signals list (separate from alerts).
Step 5: Error Detection
Scan responses for problems:
- 4xx/5xx HTTP codes → log endpoint + status code
- Response time > 2s → log endpoint + measured time
- Connection timeout (curl exits non-zero) → UNREACHABLE
- Empty response body on non-204 endpoints → flag as WARNING
Collect all flagged issues into an alerts list.
Step 6: Report
Output the following report structure:
## Watchdog Report: [base_url]
### Smoke Test Results
- [endpoint] — [HTTP status] ([response_time]s) — [HEALTHY|REDIRECT|CLIENT_ERROR|SERVER_ERROR|UNREACHABLE]
### Alert Rules Applied
- Response time > 2s → alert
- Any 4xx on non-auth endpoint → alert
- Any 5xx → critical alert
- Unreachable → critical alert
### Alerts
- [CRITICAL|WARNING] [endpoint] — [reason]
### Performance Signals
- [PERF_WARN|PERF_REGRESSION|INFO] [endpoint] — [diagnosis]
### Summary
- Total endpoints checked: [n]
- Healthy: [n]
- Alerts: [n]
- Perf Signals: [n]
- Overall status: ALL_HEALTHY | DEGRADED | DOWNIf no alerts and no perf signals: output Overall status: ALL_HEALTHY.
Output Format
## Watchdog Report: [base_url]
### Smoke Test Results
- / — 200 (0.231s) — HEALTHY
- /health — 200 (0.089s) — HEALTHY
- /api/status — 500 (1.203s) — SERVER_ERROR
### Alerts
- CRITICAL /api/status — HTTP 500
### Summary
- Total: 3 | Healthy: 2 | Alerts: 1
- Overall status: DEGRADEDConstraints
- MUST report with specific metrics — not vague "performance seems slow"
- MUST include baseline comparison when available
- MUST NOT generate false alarms — precision over recall
- MUST separate perf signals from error alerts — they are different severity channels
- MUST NOT call
perfskill — watchdog is a detector, not a diagnoser
Sharp Edges
Known failure modes for this skill. Check these before declaring done.
| Failure Mode | Severity | Mitigation |
| curl timeout treated as slow (not unreachable) | HIGH | Non-zero curl exit code = UNREACHABLE, not a response time measurement |
| PERF_REGRESSION reported without baseline | MEDIUM | Only flag regression if a previous run exists — otherwise INFO: first run |
| All endpoints flagged SLOW because test env is slow | MEDIUM | Note environment context — add ENV: non-production detected if URL contains dev/staging/localhost |
| Perf signal without actionable diagnosis | LOW | Every PERF_WARN must include a hypothesis (N+1, pool saturation, etc.) |
Done When
- All specified endpoints checked (HTTP status + response time measured)
- All 4xx/5xx →
alertslist, all SLOW →alertslist - Performance patterns analyzed →
perf_signalslist (or INFO: first run) - Structured Watchdog Report emitted with Alerts + Performance Signals + Summary
- Overall status is ALL_HEALTHY, DEGRADED, or DOWN (never ambiguous)
Cost Profile
~500-1500 tokens input, ~300-800 tokens output. Sonnet for configuration quality.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

