← Back to Skills Marketplace
toller892

API Health Monitor

by toller892 · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
70
Downloads
0
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install api-health-monitor
Description
Parses recent OpenClaw session logs for LLM API errors and returns a structured health report.
README (SKILL.md)

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

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
Usage Guidance
This skill appears to do exactly what it says: read recent files in ~/.openclaw/agents/main/sessions/ and report LLM API error patterns. Before installing or enabling it broadly: (1) Inspect a few session files manually to see if they contain sensitive data (API keys, tokens, private user content). (2) Run the skill in a sandbox or on a copy of logs first so you can confirm its output does not leak secrets. (3) If you allow autonomous invocation, be aware the skill can be run by agents and may surface sensitive log contents — consider restricting when/which agents can invoke it. (4) If you need safer behavior, request or modify the code to redact known secrets or limit returned message length/content.
Capability Analysis
Type: OpenClaw Skill Name: api-health-monitor Version: 1.0.1 The skill is a utility for monitoring LLM API health by parsing local session logs within the application's own data directory (~/.openclaw). The logic in index.js is limited to reading log files, matching regex patterns for common API errors (e.g., 429 rate limits, 500 server errors), and returning a structured report; it contains no network activity, external dependencies, or suspicious execution patterns.
Capability Assessment
Purpose & Capability
Name/description, SKILL.md, and index.js all target ~/.openclaw/agents/main/sessions/ and search for LLM API error patterns. The declared requirements (none) are consistent with the simple local-log-parsing task. Minor metadata inconsistencies: package.json version (1.0.0) differs from registry metadata (1.0.1) and the SKILL.md example path is a generic require path, but these are bookkeeping issues not functional mismatches.
Instruction Scope
Instructions and runtime code exclusively read files under the session directory and produce a JSON report; they do not call external endpoints or access unrelated system paths. Note: reading session logs can surface sensitive data (user content, API keys, tokens) because the code returns message snippets and file basenames without redaction; SKILL.md does not warn about this privacy sensitivity.
Install Mechanism
No install spec or remote downloads; the skill is instruction-only but includes a local index.js and package.json (no external dependencies). Nothing in the manifest installs third-party code from remote URLs or writes unexpected binaries.
Credentials
No environment variables or credentials are required. The code uses HOME/USERPROFILE only to locate the expected sessions directory, which is proportional to the stated purpose.
Persistence & Privilege
always is false and the skill does not request persistent system-wide configuration or modify other skills. Autonomous invocation is allowed (platform default); combined with the skill's access to session logs, this is a privacy consideration but not a coherence/security mismatch on its own.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install api-health-monitor
  3. After installation, invoke the skill by name or use /api-health-monitor
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
Fix: Resolve version conflict, initial publish retry
v1.0.0
Initial release
Metadata
Slug api-health-monitor
Version 1.0.1
License MIT-0
All-time Installs 1
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is API Health Monitor?

Parses recent OpenClaw session logs for LLM API errors and returns a structured health report. It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.

How do I install API Health Monitor?

Run "/install api-health-monitor" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is API Health Monitor free?

Yes, API Health Monitor is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does API Health Monitor support?

API Health Monitor is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created API Health Monitor?

It is built and maintained by toller892 (@toller892); the current version is v1.0.1.

💬 Comments