davidmarkgardiner/kagent-public/fleet-health

Claude Code and agent skill by davidmarkgardiner/kagent-public

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Monitor agent gateways, detect failures, attempt safe remediation, and escalate when human action is needed.

Install

npx vskill@latest install davidmarkgardiner/kagent-public/fleet-health

SKILL.md

The same SKILL.md was published earlier as davidmarkgardiner/kagent-public/fleet-health.

Fleet Health Monitor

Monitors all agent gateways, detects failures, auto-remediates where possible, and escalates to the operator when human action is needed.

When to Use

  • Heartbeat checks (automatic, every cycle)
  • When an agent stops responding
  • After cluster reboots
  • When the operator asks about fleet status

Quick Check

bash
# From the repo root (script ships inside this skill directory)
agents/skills/fleet-health/scripts/fleet-check.sh

What It Monitors

CheckAuto-FixNeeds Operator
Gateway process down✅ Restart via systemd❌
Wrong model configured✅ Update config + restart❌
OAuth token expired❌✅ Re-auth via browser
API quota exhausted⚠️ Switch to fallback model✅ Top up credits
VM unreachable⚠️ WoL if in shutdown window✅ If hardware issue
Device signature invalid✅ Re-pair device❌
Heartbeat model wrong✅ Fix config❌
Service not enabled✅ Enable + start❌

Expected Models (DO NOT CHANGE without operator approval)

AgentPrimary ModelHeartbeat Model
Scotty (local)anthropic/claude-opus-4-6anthropic/claude-sonnet-4-6
Codex (<codex-host>)openai-codex/gpt-5.3-codexopenai-codex/gpt-5.3-codex
Gem (<gem-host>)google-gemini-cli/gemini-3.1-progoogle-gemini-cli/gemini-2.5-flash
Kimi (<kimi-host>)kimi-code/kimi-for-codingkimi-code/kimi-for-coding

Fallback Models (when primary is unavailable)

AgentFallbackWhen to Use
Codexgoogle-gemini-cli/gemini-2.5-proOpenAI quota exhausted / OAuth expired
Gemgoogle-gemini-cli/gemini-2.5-proIf 3.1 not available on version
Kimi(none — wait for VM)Only offline during shutdown hours

Escalation

When human action is needed, send a Telegram message to the operator with:

  • Which agent is affected
  • What the problem is
  • Exact steps to fix (copy-paste ready)
  • Urgency level (🔴 now / 🟡 next session / 🟢 whenever)

Auth Token Lifecycle

OpenAI Codex OAuth: Refresh tokens are single-use. Each time OpenClaw refreshes, the old token is consumed. If a refresh fails (network blip, crash mid-refresh), the token is burned and needs manual re-auth.

Expected re-auth frequency: Every few weeks to months, depending on token expiry.

Re-auth steps for the operator:

ssh <user>@<codex-host>
openclaw configure --section model
# Select openai-codex → browser opens → login → done

Google Gemini OAuth: More durable — uses standard Google OAuth with auto-refresh. Rarely needs re-auth.

Kimi API: Token-based, doesn't expire unless rotated manually.

Security

  • Security scanPassed, 90 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

7-day trend score
5

Not refreshed yet.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/davidmarkgardiner/kagent-public/fleet-health/badge)](https://verified-skill.com/skills/davidmarkgardiner/kagent-public/fleet-health)

Something wrong with this skill or its page? Tell us.