runtime-doctor

A read-only health checker for a shared coding-agent runtime across WSL, Windows Codex Desktop, memory storage, and OpenClaw links.

In plain words
What is it for?
Use it to validate runtime manifests, memory configuration, Windows settings, Codex skill links, and the OpenClaw shared link.
Why use it?
It detects mismatched paths, settings, symbolic links, or bridge targets and identifies the exact item that has drifted.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cloud99277/kitclaw/runtime-doctor
Any agent
npx skills add cloud99277/KitClaw --skill runtime-doctor
Clone the repo
git clone --depth 1 https://github.com/cloud99277/KitClaw

Made for: Claude Code, Codex.

Per session 95 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 400 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00095 $0.00400
Opus 5 $0.00048 $0.00200
Sonnet 5 $0.00019 $0.00080
Haiku 4.5 $0.00010 $0.00040

Measured 2d ago against content hash f2586ce29b54, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

runtime-doctor scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 2 executable files (scripts/runtime_doctor.py, tests/test_runtime_doctor.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

core-skills/runtime-doctor/SKILL.md · 52 lines

What it actually says

Runtime Doctor

runtime-doctor checks whether the shared runtime contract is still true.

It validates the machine-readable manifest, the WSL memory layout, the Windows Codex bridge, and the OpenClaw shared-skill link.

Quick Start

python3 ~/.ai-skills/runtime-doctor/scripts/runtime_doctor.py
python3 ~/.ai-skills/runtime-doctor/scripts/runtime_doctor.py --json
python3 ~/.ai-skills/runtime-doctor/scripts/runtime_doctor.py \
  --manifest ~/.ai-skills/.system/runtime-manifest.json

What It Checks

  • canonical skills, memory, and L3 paths
  • whiteboard and memory config readability
  • Windows Codex WSL-mode config and env vars
  • Codex bridge symlinks for the curated shared skill set
  • OpenClaw shared link resolution

Design Constraints

  • stdlib only
  • read-only diagnostics by default
  • explicit machine-readable JSON output for automation
  • failures should name the exact path or config value that drifted
Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 52 lines · 95 tokens per session scan A f2586ce29b54

Subscribe to this mod's changes

runtime-doctor is a skill published in the GitHub repository cloud99277/KitClaw (5 stars, last pushed 4mo ago), licensed MIT. It adds 95 tokens to every session and 400 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

agt-policy-authoring

Create and validate a minimal AGT Copilot CLI policy tailored to the repository being inspected.

microsoft/agent-governance-toolkit · 23 tokens

silicon-throne

硅基圣座总控核心,以神谕式统御把零散任务压成 末将-first 之文明工程.

linkerlin/PUAX · 34 tokens

digital-native-governance-check

Assess Azure governance maturity for Digital Natives and startups. Detects the most common anti-patterns from the "Digital Natives on Azure" series: incomplete Service Health alerts, flat subscription topology without Management Groups, excessive RBAC (everyone is Owner), missing budget alerts, no Managed Identity…

ricmmartins/azure-sre-agent-skills · 129 tokens

intelligence-engineer

VNX-specific domain expertise for the intelligence system, central state databases, and dispatch lifecycle. Use when working on qualityintelligence.db / runtimecoordination.db / dispatchtracker.db, codesnippets FTS5, snippetmetadata linkage, successpatterns / antipatterns, T0 state projection (t0state.json)…

Vinix24/vnx-orchestration · 175 tokens

finops-intelligence

Comprehensive FinOps analysis combining cost optimization, waste identification, and chargeback reporting. Use when asked about reducing Azure spend, finding unused resources, cost per team, chargeback, showback, cost anomalies, rightsizing, or monthly cost review.

ricmmartins/azure-sre-agent-skills · 55 tokens

capacity-planning

Assess Azure resource capacity, quota utilization, and growth trends to prevent outages from resource exhaustion. Use when asked about capacity, quotas, scaling readiness, load testing prep, Black Friday readiness, or growth projections.

ricmmartins/azure-sre-agent-skills · 45 tokens