← Back to directory

SWARM Code Health - Static health check of a public GitHub repo: TODO/FIXME debt...

https://swarm-agent.net/services/code-health

Overview

SWARM Code Health - Static health check of a public GitHub repo: TODO/FIXME debt, oversized files, possible committed secrets, README/.gitignore/LICENSE. Requires `repo` (https://github.com/owner/name); repos over 25 MB are refused before payment. $0.05.

Protocol x402 (POST)
Price $0.05
Payment Asset USD Coin
Payment Network eip155:8453
Category uncategorized
Provider SWARM
Source bazaar
Indexed 2026-10-01 09:23:00

Health

Status healthy
Latency (p50) 395ms
Uptime (30d) 100.0%
Reliability Score 95/100
Last Checked 2026-10-31 07:09:50
Last Healthy 2026-10-31 07:09:50
Consecutive Failures 0

x402 Payment Validation

Payment Requirements Valid
Asset Verified Known USDC
Facilitator —

Input Schema

{ "body": { "repo": "https://github.com/expressjs/express" }, "bodyType": "json", "method": "POST", "type": "http" }

Output Schema

{ "example": { "markdown": "# Code health report\n\n- Repository: /tmp/example-repo-8hOZNJ\n- Scanned: 2026-10-02T07:57:27.562Z\n- Files analysed: 1 (3 lines)\n\n## Summary\n\n| Check | Count |\n|---|---|\n| TODO | 1 |\n| FIXME | 0 |\n| Oversized files | 0 |\n| Stray console.log / console.debug | 1 |\n| Possible hardcoded secrets (heuristic) | 0 |\n\n## Hygiene\n\n- README: yes\n- .gitignore: missing\n- LICENSE: missing\n\n## Findings\n\n- `index.js:1` — todo: handle errors\n- `index.js:2` — console_log: console.log('hi');\n\n_Deterministic static scan, no AI. Possible secrets are a heuristic: verify before acting._", "report": { "filesScanned": 1, "findings": [ { "detail": "handle errors", "file": "index.js", "kind": "todo", "line": 1 }, { "detail": "console.log('hi');", "file": "index.js", "kind": "console_log", "line": 2 } ], "hygiene": { "hasGitignore": false, "hasLicense": false, "hasReadme": true }, "scannedAt": "2026-10-02T07:57:27.562Z", "summary": { "consoleLogs": 1, "fixmes": 0, "oversizedFiles": 0, "possibleSecrets": 0, "todos": 1 }, "targetDir": "/tmp/example-repo-8hOZNJ", "totalLines": 3 } }, "type": "json" }