API Health Monitor

v1.0.1

Parses recent OpenClaw session logs for LLM API errors and returns a structured health report.

0· 86·0 current·1 all-time

Install

OpenClaw Prompt Flow

Install with OpenClaw

Best for remote or guided setup. Copy the exact prompt, then paste it into OpenClaw for toller892/api-health-monitor.

Previewing Install & Setup.
Prompt PreviewInstall & Setup
Install the skill "API Health Monitor" (toller892/api-health-monitor) from ClawHub.
Skill page: https://clawhub.ai/toller892/api-health-monitor
Keep the work scoped to this skill only.
After install, inspect the skill metadata and help me finish setup.
Use only the metadata you can verify from ClawHub; do not invent missing requirements.
Ask before making any broader environment changes.

Command Line

CLI Commands

Use the direct CLI path if you want to install manually and keep every step visible.

OpenClaw CLI

Bare skill slug

openclaw skills install api-health-monitor

ClawHub CLI

Package manager switcher

npx clawhub@latest install api-health-monitor
Security Scan
VirusTotalVirusTotal
Benign
View report →
OpenClawOpenClaw
Benign
high confidence
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.
Assessment
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.

Like a lobster shell, security has layers — review code before you run it.

debugvk9793n1whcw47e5kqq9rc4rc8d85a5zfhealthvk9793n1whcw47e5kqq9rc4rc8d85a5zflatestvk9793n1whcw47e5kqq9rc4rc8d85a5zfmonitoringvk9793n1whcw47e5kqq9rc4rc8d85a5zfopenclawvk9793n1whcw47e5kqq9rc4rc8d85a5zf
86downloads
0stars
2versions
Updated 6d ago
v1.0.1
MIT-0

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

FieldTypeDescription
healthybooleantrue if no errors found
errorsarray[{ type, message, count, lastSeen }]
recommendationstringSuggested action based on findings

Comments

Loading comments...