Parses recent OpenClaw session logs for LLM API errors and returns a structured health report.
Scanned 9/9/2026
Install to Claude Code
npx -y skills add Lord1Egypt/awesome-skill-forge --skill api-health-monitor --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Api Health Monitor?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/lord1egypt-api-health-monitor)More formats (shields.io, HTML) on the badges page.
---
name: api-health-monitor
description: Parses recent OpenClaw session logs for LLM API errors and returns a structured health report.
---
# api-health-monitor
Scans `~/.openclaw/agents/main/sessions/` for recent LLM API error patterns (500 errors, token failures, cooldowns, service_busy) and produces a JSON health report.
## Usage
```js
const { checkApiHealth } = require('./skills/api-health-monitor');
const report = await checkApiHealth();
// { healthy: bool, errors: [...], recommendation: string }
```
## Report Shape
| Field | Type | Description |
|---|---|---|
| `healthy` | boolean | `true` if no errors found |
| `errors` | array | `[{ type, message, count, lastSeen }]` |
| `recommendation` | string | Suggested action based on findings |
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!