lyther/agent-surface/ops-doctor
Claude Code and agent skill by lyther/agent-surface
- community
Checking that the SKILL.md file is still in the repository.
Run a health check on the agent-surface repository and local generated surfaces.
Install
npx vskill@latest install lyther/agent-surface/ops-doctorSKILL.md
Objective
Diagnose whether agent-surface is internally consistent and whether the local generated surfaces match the current compiler model. Report drift; never fix issues, edit files, install surfaces, delete files, prune branches, or repair docs. The check is read-only except for the build and test effects of --depth full listed in §7. Prefer repo scripts over ad hoc validators, and record failed probes separately from missing evidence.
Input
ops-doctor [target] [--scope repo|local|all] [--depth quick|standard|full] [--ci]
target: repository root or subdirectory; default..--scope(defaultall):repochecks source, registry, and compiler state;localchecks installed user surfaces;allruns both.--depth(defaultstandard):quickruns cheap probes;standardadds generated checks and install dry-runs;fullalso runs tests and the full build.--ci(default off): machine-readable mode; exit non-zero only for errors, not for ordinary local-install warnings.
1. Repository Baseline
Report the current branch and dirty state, source counts for skills, manual commands, rules, ignores, external, and schemas, and the local tool availability doctor reports. A dirty worktree is an error only when the requested health claim depends on a clean tree.
2. Source and Registry Integrity
Report skill and manual-command counts with metadata status, broken workflow references, registry/schema validation errors, source-kind drift, and adapter/registry render-token drift.
3. Generated Surface Integrity
Run npm run check:generated and report one line per target: generated output count, failed target validations, missing native carrier files, and unexpected duplicate output paths.
Expected target families: native command/workflow targets claude-code, cline, kilo, antigravity, cursor; skill/plugin targets codex, antigravity-cli; instruction/rules targets copilot, vscode, opencode, trae. Do not expect removed primitive producers (mcps, generated hooks) unless the compiler has reintroduced them.
4. Rule Budget
Run npm run check:rules and report hard failures, soft budget warnings, and scenarios over target but under the hard limit. Report soft warnings as warnings, not failures, unless --ci policy says otherwise.
5. Install Dry-Runs
For --depth standard|full, dry-run representative user installs:
For project-only ignore surfaces, dry-run with an explicit project destination:
Report blocked writes, stale managed removals, missing manifests, and project-only artifacts skipped on user-scope installs. Dry-run only; never add --allow-scope-root from ops-doctor.
6. Local Distribution Drift
For --scope local|all, inspect installed manifests without editing them:
| Target | User manifest | |
|---|---|---|
claude-code | ~/.agent-surface/claude-code-manifest.json | |
codex | ~/.agent-surface/codex-manifest.json | |
cursor | ~/.agent-surface/cursor-manifest.json | |
kilo | ~/.agent-surface/kilo-manifest.json | |
antigravity | ~/.gemini/.agent-surface/antigravity-manifest.json | |
antigravity-cli | ~/.gemini/.agent-surface/antigravity-cli-manifest.json | |
vscode / copilot | ~/.agent-surface/vscode-manifest.json, ~/.agent-surface/copilot-manifest.json |
For each manifest, verify that the JSON parses, that target matches the manifest name, and that managed paths still exist; report the manifest's age if it predates the latest source commit. A missing local manifest is a warning unless the user claims that target is installed.
7. Full Verification
For --depth full, run these sequentially, never in parallel, because npm test and build both rewrite dist/. Nothing tracked changes, but this depth writes:
- the build output, in the gitignored
dist/; - temporary git worktrees that the tests add under the system temp directory and register in this repository, then remove;
- a
git worktree pruneafter the tests, which also drops the record of any other worktree whose directory no longer exists.
The commands:
Output
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 repositoryCheckingskills/ops-doctor/SKILL.md
Popularity
- 7-day trend score
- 0
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/lyther/agent-surface/ops-doctor)