davidmarkgardiner/kagent-public/fleet-health
Claude Code and agent skill by davidmarkgardiner/kagent-public
- community
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-healthSKILL.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
What It Monitors
| Check | Auto-Fix | Needs 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)
| Agent | Primary Model | Heartbeat Model | |
|---|---|---|---|
| Scotty (local) | anthropic/claude-opus-4-6 | anthropic/claude-sonnet-4-6 | |
Codex (<codex-host>) | openai-codex/gpt-5.3-codex | openai-codex/gpt-5.3-codex | |
Gem (<gem-host>) | google-gemini-cli/gemini-3.1-pro | google-gemini-cli/gemini-2.5-flash | |
Kimi (<kimi-host>) | kimi-code/kimi-for-coding | kimi-code/kimi-for-coding |
Fallback Models (when primary is unavailable)
| Agent | Fallback | When to Use | |
|---|---|---|---|
| Codex | google-gemini-cli/gemini-2.5-pro | OpenAI quota exhausted / OAuth expired | |
| Gem | google-gemini-cli/gemini-2.5-pro | If 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:
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
- SKILL.md in the repositoryCheckingagents/skills/fleet-health/SKILL.md
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
[](https://verified-skill.com/skills/davidmarkgardiner/kagent-public/fleet-health)