GitHub repo health scan
code_healthScan a public GitHub repository to detect TODO/FIXME debt, oversized files, secret heuristics, and hygiene issues. Pay per call in USDC on Base.
Instructions
Static scan of a public GitHub repo: TODO/FIXME debt, oversized files, secret heuristics, hygiene. Price: $0.05 per call. Calls SWARM's shop over the network and, with SWARM_WALLET_KEY set, pays in USDC on Base via x402 (the live quote is checked against SWARM_MAX_USD before paying; charged only on success).
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"repo": "<repo>"
},
"name": "code_health"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| repo | Yes | Public GitHub repo URL, e.g. https://github.com/owner/repo |