healthcheck
Skill155 starsChanged 9 months agoMITView on GitHub
Internal codebase and operations health check — the CTO scans technical health, the COO checks operational health. Run bi-weekly to catch internal issues. Lightweight maintenance, not the main event.
17 other projects use a version of this.
Adopted by
Most recently taken up by
- grainulation/grainulatortheir own version, first seen Sep 22, 2026
- BULDEE/ai-craftsman-superpowerstheir own version, first seen Sep 21, 2026
- clawsouls/soulclawtheir own version, first seen Jul 12, 2026
- Pradnyeshp/Claude-Skillstheir own version, first seen Jul 6, 2026
- AlekseiUL/heisenberg-teamtheir own version, first seen Jun 6, 2026
- gkvoelkl/python-selmatheir own version, first seen May 31, 2026
Used with
Projects with it also use node-connect, sag and 10 more.
Other files people use alongside this one.
Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
indranilbanerjeeSkillnode-connect
Diagnose DMClaw node connection and pairing failures for Android, iOS, and macOS companion apps. Use when QR/setup code/manual connect fails, local Wi-Fi works but VPS/tailnet does not, or errors mention pairing required, unauthorized, bootstrap token invalid or expired, gateway.bind, gateway.remote.url, Tailscale, or plugins.entries.device-pair.config.publicUrl.
Also in 4 projects that use this
seedprodSkillsag
ElevenLabs text-to-speech with mac-style say UX.
Also in 4 projects that use this
seedprodSkillsherpa-onnx-tts
Local text-to-speech via sherpa-onnx (offline, no cloud)
Also in 4 projects that use this
GoogleSkillgh-issues
Fetch GitHub issues, spawn sub-agents to implement fixes and open PRs, then monitor and address PR review comments. Usage: /gh-issues [owner/repo] [--label bug] [--limit 5] [--milestone v1.0] [--assignee @me] [--fork user/repo] [--watch] [--interval 5] [--reviews-only] [--cron] [--dry-run] [--model glm-5] [--notify-channel -1002381931352]
Also in 4 projects that use this
indranilbanerjeeSkillxurl
A CLI tool for making authenticated requests to the X (Twitter) API. Use this skill when you need to post tweets, reply, quote, search, read posts, manage followers, send DMs, upload media, or interact with any X API v2 endpoint.
Also in 3 projects that use this
ReScienceLabSkillreddit
Search and retrieve content from Reddit. Get posts, comments, subreddit info, and user profiles via the public JSON API. Use when user mentions Reddit, a subreddit, or r/ links.
Also in 3 projects that use this
- +5 more from seedprod
Other versions17 projects use a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 17
- cohen-liel/hivemind★ 110same name
- iurykrieger/claude-bedrock★ 104same name
- grainulation/grainulator★ 86same name
- hashSTACS-Global/EnClaws★ 36same name
- BULDEE/ai-craftsman-superpowers★ 35same name
- gkvoelkl/python-selma★ 19same name
- AlekseiUL/heisenberg-team★ 17same name
- AlekseiUL/heisenberg-team-GPT★ 9same name
- clawsouls/soulclaw★ 9same name
- liberya/openclaw-team★ 4same name
7 more not listed
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 repository13 other files it gives its agents.
- CLAUDE.mdCLAUDE.md
- brainstormSkill
- code-review-excellenceSkill
- directiveSkill
- frontend-designSkill
- gruai-agentsSkill
- gruai-configSkill
- reportSkill
- scoutSkill
- seo-auditSkill
- smoke-testSkill
- walkthroughSkill
- webapp-testingSkill
The file
We split this skill into the rules it gives an agent
9 rules. 0 are common, 5 are distinctive, and 4 are very specific to this project.
0
Common
Most of the 17 edited versions we read keep these.
5
Distinctive
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 10
Read .claude/agent-registry.json to map roles to agent names.
- Distinctive: line 14
Run a healthcheck: the CTO scans codebase health, the COO checks operational health.
- Distinctive: line 20
Read these before spawning agents:
- Distinctive: line 146
After both agents return, triage all findings by risk level:
- Very specific: line 187
Write each agent's raw JSON output to .context/healthchecks/latest/{agent}.json, overwriting any previous file.
- Very specific: line 189
If the latest/ directory already has files, move them to archive/{date}/ first.
- Very specific: line 191
Create directories if needed: mkdir -p .context/healthchecks/latest .context/healthchecks/archive
- Distinctive: line 212
Read context files before spawning agents
- Distinctive: line 216
Keep it fast — healthcheck should complete in under 10 minutes
“Common” is measured: kept by at least 6 in 10 of the 17 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
Healthcheck — Internal Maintenance
Role Resolution
Read .claude/agent-registry.json to map roles to agent names. Use each agent's id as the subagent_type when spawning. The CTO handles technical health; the COO handles operational health.
Run a healthcheck: the CTO scans codebase health, the COO checks operational health. Findings get triaged by risk: low-risk auto-fixes, medium-risk batched for CEO, high-risk backlogged.
This is maintenance, not strategy. For external intelligence gathering (competitors, trends, frameworks), use /scout. Healthcheck is the janitor, not the executive.
Step 1: Read Context
Read these before spawning agents:
.context/vision.md— guardrails (what NOT to break).context/preferences.md— CEO standing orders.context/directives/*/directive.json— current directives (to check for staleness).context/lessons/orchestration.md.context/backlog.json— what's already queued- Recent directive reports in
.context/reports/— what was recently done
Step 2: Spawn Healthcheck Agents (Parallel)
Spawn 2 agents in parallel: the CTO (technical) and the COO (operational).
Each agent receives:
- Their full personality from
.claude/agents/{name}.md .context/vision.md(guardrails are critical).context/preferences.md.context/directives/*/directive.json.context/backlog.jsonsummary- Recent directive report summaries (filenames + dates)
Both agents: subagent_type: "general-purpose", model: "opus"
CTO — Technical Health
You are the CTO. You are running a standing healthcheck of the codebase.
Your job: scan the codebase and infrastructure for internal issues.
CHECK THESE AREAS:
1. **Security**: Run `npm audit` in each app directory. Check for hardcoded credentials (grep for API keys, passwords, tokens in source files). Look for unauthed endpoints, injection vectors.
2. **Dependencies**: Check package.json files for outdated or deprecated packages. Look for packages with known CVEs.
3. **Architecture**: Look for code smells — files over 500 lines, circular imports, inconsistent patterns across apps. Check for dead code (unused exports, unreferenced files).
4. **Type safety**: Run `npm run type-check` and report any errors. Check for `any` type usage, missing type definitions.
5. **Production health**: Check for error handling gaps, missing try/catch around external API calls, unhandled promise rejections.
USE THESE TOOLS: Bash (npm audit, type-check), Grep (security patterns, dead code), Glob (file structure), Read (specific files)
DO NOT fix anything. Report findings only.
{JSON output instructions below}COO — Operational Health
You are the COO. You are running a standing healthcheck of project operations.
Your job: audit project operations for stale goals, blocked work, and resource gaps.
CHECK THESE AREAS:
1. **Directive freshness**: Read all directives in `.context/directives/*/directive.json`. Are any stale (no progress in 2+ weeks)?
2. **Backlog health**: Read `.context/backlog.json`. Are items prioritized? Are there items marked done that should be cleaned up? Any duplicates?
3. **Active work**: Check `.context/directives/*/projects/*/project.json` for active projects. Is anything in progress but stuck? Any projects without recent file changes?
4. **Recent directives**: Read `.context/reports/`. Were there failures or follow-ups that haven't been addressed?
5. **Process gaps**: Check if lessons.md is up to date. Are there patterns emerging from recent work that should be captured?
6. **Backlog health (structured checks)**:
- Read `.context/backlog.json` — check for stale items older than 30 days.
- Count items per priority (P0/P1/P2). Flag any category with 0 prioritized items.
- Check for duplicate items (same item title appearing multiple times).
7. **Partially-done project detection**:
- Read ALL `.context/directives/*/projects/*/project.json` files (tasks are embedded)
- For each: count completed vs total tasks, compute completion percentage
- Flag if completion > 50% but the project's most recently modified file is > 14 days old
- Flag if completion is 100% but project status is still "active" (should be "completed")
8. **Index accuracy**:
- Verify that project statuses in project.json match actual task completion
- Flag any mismatches between directive status and project statuses
- Verify project.json files match filesystem structure
9. **Active/done duplicates**:
- Check for projects with contradictory status vs task completion
- Flag as: "project {name} has status {status} but tasks show {completion}% complete"
USE THESE TOOLS: Read (context files, reports), Glob (directive structure, projects), Grep (stale dates, TODO items)
DO NOT fix anything. Report findings only.
{JSON output instructions below}JSON Output Format (same for both agents)
Append these instructions to each agent's prompt:
CRITICAL OUTPUT FORMAT: Your response must contain ONLY valid JSON. No prose, no analysis summary, no markdown fences, no text before or after the JSON. The very first character of your response must be `{` and the very last must be `}`.
Your output must follow this schema:
{
"agent": "cto-id | coo-id",
"domain": "technical | operations",
"healthcheck_date": "YYYY-MM-DD",
"findings": [
{
"id": "finding-slug",
"severity": "critical | high | medium | low | info",
"area": "Which area this falls under (e.g., security, dependencies, goal-freshness)",
"title": "Short description of the finding",
"detail": "What you found — be specific with file paths, line numbers, counts",
"evidence": "The grep output, command output, or file content that proves this",
"suggested_fix": "What should be done about this (1-2 sentences)",
"risk_level": "low | medium | high",
"already_tracked": "If this is already in a backlog or OKR, reference it here. Otherwise null."
}
],
"summary": "2-3 sentence overview of domain health"
}
SEVERITY GUIDE:
- critical: Active security vulnerability, data exposure, broken production feature
- high: Significant technical debt, degraded user experience, stale critical goals
- medium: Code quality issues, minor gaps, optimization opportunities
- low: Nice-to-have improvements, minor inconsistencies
- info: Observations, no action needed
RISK LEVEL (for triage):
- low: Safe to auto-fix (dead code deletion, unused import cleanup, minor config fixes)
- medium: Needs CEO awareness (dependency updates, backlog reorganization, goal reprioritization)
- high: Needs CEO decision (architectural changes, security patches, goal changes)Parse each agent's response as JSON. If any fails to parse, log the error and continue.
Step 3: Triage Findings
After both agents return, triage all findings by risk level:
Low-risk (auto-fixable)
- Dead code deletion, unused imports, minor config fixes
- Present to CEO as: "Auto-fixing {N} low-risk items: {list}"
- Execute the fixes immediately (spawn an engineer if needed)
Medium-risk (CEO batch approval)
- Dependency updates, backlog cleanup, stale goal flagging
- Present as a batch: "Found {N} medium-risk items that need your approval"
- CEO approves/rejects the batch
High-risk (CEO decides)
- Security patches, architectural changes, goal modifications
- Add to
.context/backlog.json - Flag for CEO attention in the next
/report
Step 4: Present Results
# Healthcheck Report — {date}
## Summary
- **Technical (CTO)**: {summary}
- **Operational (COO)**: {summary}
## Auto-Fixed (low-risk)
{list of low-risk items that were automatically fixed, or "None"}
## Needs Your Approval ({count} medium-risk)
{list of medium-risk items with suggested fixes}
## Backlogged ({count} high-risk)
{list of high-risk items added to backlogs}
## All Clear
{any areas where no issues were found}Step 5: Save Results
Write each agent's raw JSON output to .context/healthchecks/latest/{agent}.json, overwriting any previous file.
If the latest/ directory already has files, move them to archive/{date}/ first.
Create directories if needed: mkdir -p .context/healthchecks/latest .context/healthchecks/archive
Failure Handling
| Situation | Action |
| An agent's output doesn't parse as JSON | Log the error, continue with the other agent. |
| An agent finds no issues | Include their "all clear" summary. Good outcome. |
| npm audit fails to run | Note the error, skip security section. |
| Type-check fails to run | Note the error, skip type safety section. |
| All findings are low-risk | Auto-fix all, report clean bill of health. |
Rules
NEVER
- Fix high-risk issues without CEO approval
- Skip the CTO (always run technical health)
- Propose strategic initiatives (that's /scout's job)
- Overwrite previous healthcheck results without archiving
ALWAYS
- Read context files before spawning agents
- Include personality files in agent prompts
- Auto-fix low-risk items (that's the whole point of healthcheck being lightweight)
- Save results to healthchecks/latest/ for /report to read
- Keep it fast — healthcheck should complete in under 10 minutes
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.

