Code Health
Code Health audits watched GitHub repositories for code quality issues including TODO comments, dead code, untested modules, oversized files, and hardcoded secrets. Use this skill to regularly scan one or multiple codebases for maintenance gaps and generate actionable improvement recommendations across a development team's projects.
git clone --depth 1 https://github.com/aaronjmars/aeon /tmp/code-health && cp -r /tmp/code-health/skills/code-health ~/.claude/skills/code-healthSKILL.md
> **${var}** — Repo (owner/repo) to audit. If empty, audits all watched repos.
If `${var}` is set, only audit that repo (owner/repo format).
## Config
This skill reads repos from `memory/watched-repos.md`. If the file doesn't exist yet, create it or skip this skill.
```markdown
# memory/watched-repos.md
- owner/repo
- another-owner/another-repo
```
---
Read memory/MEMORY.md and memory/watched-repos.md for repos to audit.
Steps:
1. For each repo in watched-repos.md, clone or checkout:
```bash
gh repo clone owner/repo /tmp/repo-audit -- --depth 1
```
2. Scan for code health signals:
- **TODOs/FIXMEs**: `grep -rn "TODO\|FIXME\|HACK\|XXX" --include="*.{js,ts,py,sol,rs,go}" /tmp/repo-audit`
- **Dead code indicators**: unused exports, commented-out blocks, unreachable code
- **Test coverage**: check if test files exist for key modules, note untested areas
- **Large files**: files over 500 lines that might need splitting
- **Secrets in code**: scan for hardcoded API keys, tokens, passwords
3. Compile a health report and save to articles/code-health-${today}.md:
```markdown
# Code Health Report — ${today}
## repo-name
### TODOs (N found)
- file:line — TODO text
### Concerns
- description
### Recommendations
- action item
```
4. Send a summary via `./notify`.
5. Log what you did to memory/logs/${today}.md.Mention/keyword sweep on social platforms for [REPLACE: KEYWORDS] — trends, sentiment, top posts
5 concrete real-life actions, leverage-scored against open loops with specificity and anti-fluff gates
Curated AI-agent tweets, clustered into narratives with insight summaries
Tracker of AI agent substitution signals — which roles, companies, and industries show real headcount displacement. Named roles + real deployments only.
Competitive-intelligence digest on the AI agent framework space — momentum, releases, breaking changes across a curated watchlist
Cross-domain market pulse from AIXBT's free grounding endpoint — crypto, macro, tradfi, geopolitics. Refreshes taxonomy references (clusters, chains) as a bonus.
Pre-batch API provider health check — detects credit exhaustion or auth failure for every configured provider key before the scheduled batch runs, giving the operator a window to act before skills degrade
List a wallet's live ERC-20 token approvals on Base and flag unlimited / risky spender grants. Keyless via Base RPC (eth_getLogs + eth_call) — no explorer key needed.