ops-doctor

ops-doctor is a skill for Claude Code from Lifecycle-Innovations-Limited/claude-ops. It costs 28 tokens per session (2,144 once invoked), scanned B, original, MIT.

A diagnostic workflow for investigating broken plugins, services, tools, configuration, and secret access in an operations setup.

In plain words
What is it for?
Use it for “plugin broken” or “ops doctor” requests, including running the health diagnostic, checking daemon state, reviewing configured channels, and verifying how secrets are resolved.
Why use it?
It gathers health information and checks the configured services and credential-resolution paths so failures can be narrowed down systematically.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents; names the AskUserQuestion tool.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the ops plugin — 66 skills, 21 agents, 5 hooks, 1 MCP server shipped together

Good fit Use it for “plugin broken” or “ops doctor” requests, including running the health diagnostic, checking daemon state, reviewing configured channels, and verifying how secrets are resolved.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add Lifecycle-Innovations-Limited/claude-ops
Claude Code
/plugin install ops

Made for: Claude Code.

Or install ops, the plugin that ships this one along with the rest of its 66 skills, 21 agents, 5 hooks, 1 MCP server.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ops-doctor

README.md
[![agentmods](https://agentmods.dev/badge/skills/lifecycle-innovations-limited/claude-ops/ops-doctor/github.svg)](https://agentmods.dev/skills/lifecycle-innovations-limited/claude-ops/ops-doctor)
Your own site
<a href="https://agentmods.dev/skills/lifecycle-innovations-limited/claude-ops/ops-doctor"><img src="https://agentmods.dev/badge/skills/lifecycle-innovations-limited/claude-ops/ops-doctor/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ops-doctor

Your own site · 80×15
<a href="https://agentmods.dev/skills/lifecycle-innovations-limited/claude-ops/ops-doctor"><img src="https://agentmods.dev/badge/skills/lifecycle-innovations-limited/claude-ops/ops-doctor.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,144 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00028 $0.02144
Opus 5 $0.00014 $0.01072
Sonnet 5 $0.00006 $0.00429
Haiku 4.5 $0.00003 $0.00214

Measured 12d ago against content hash 5d0045609196, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

ops-doctor scanned grade B with 1 finding 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 12d ago.

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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

1. **Preferences**: `cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json` — check all configured channels and services
claude-ops/skills/ops-doctor/SKILL.md · 203 lines

How it starts

The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Runtime Context

Before diagnosing, load:

  1. Preferences: cat ${CLAUDE_PLUGIN_DATA_DIR:-$HOME/.claude/plugins/data/ops-ops-marketplace}/preferences.json — check all configured channels and services
  2. Daemon health: cat ${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json — primary diagnostic input
  3. Secrets: Verify secret resolution chain works: Doppler MCP → env → Doppler CLI → password manager

OPS ► DOCTOR

Load ops-rules before acting. Public repo (no personal data). Outbound: one draft → one approval → one send. If AskUserQuestion / Workflow are missing, follow Rule 10 in ops-rules (Hermes: numbered options / two-turn Telegram card; delegate_task).

CLI/API Reference

ops-doctor bin script

Command Usage Output
${CLAUDE_PLUGIN_ROOT}/bin/ops-doctor Run full health diagnostics JSON with errors, warnings, tools, env_vars, registry
${CLAUDE_PLUGIN_ROOT}/bin/ops-doctor 2>/dev/null || echo '{"errors":["diagnostic_script_failed"]}' Run with fallback JSON or error sentinel

Key files read by diagnostics

File Purpose
${CLAUDE_PLUGIN_DATA_DIR}/daemon-health.json Primary daemon health input
${CLAUDE_PLUGIN_DATA_DIR}/preferences.json Configured channels and services
${CLAUDE_PLUGIN_ROOT}/.claude-plugin/plugin.json Plugin manifest validation
${CLAUDE_PLUGIN_ROOT}/scripts/registry.json Project registry validation

Read the full file on GitHub · 203 lines

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. 12d ago First seen · 203 lines · 28 tokens per session scan B 5d0045609196

Subscribe to this mod's changes

ops-doctor is a skill published in the GitHub repository Lifecycle-Innovations-Limited/claude-ops (189 stars, last pushed today), licensed MIT. It adds 28 tokens to every session and 2,144 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

release-it

Build production-ready systems with stability patterns: circuit breakers, bulkheads, timeouts, and retry logic. Use when the user mentions "production outage", "circuit breaker", "deployment pipeline", "chaos engineering", "retry storm", "health checks", "my service keeps crashing", "prevent cascading failures", or…

wondelai/skills · 131 tokens

hotfix-triage

Urgent issue classification, root cause analysis, and fast-path routing for production hotfixes.

a5c-ai/babysitter · 24 tokens

debug

Interactive debugging workflow with hypothesis-driven probe loop. Use when: unknown bugs, script errors, silent failures, troubleshooting. Not for: known bugs (use bug-fix), GitHub issue analysis (use issue-analyze), code understanding (use code-explore). Output: debug report with probe journal + root cause + fix.

sd0xdev/sd0x-harness · 67 tokens

resolving-merge-conflicts

Use when a git merge or rebase reports conflicts and the operation is in progress.

romiluz13/cc10x · 25 tokens

git-investigate

Git history investigation. Use when: tracking code changes, finding where bugs were introduced, root cause analysis. Not for: code exploration (use code-explore), issue analysis (use issue-analyze). Output: history trace + root cause report.

sd0xdev/sd0x-harness · 53 tokens

analyze

Deep-dive codebase analysis that explains how things actually work — business rules, architecture patterns, auth flows, data models, integrations, and performance hotspots. Use whenever the user asks "how does X work", "map the Y flow", "what are the business rules for Z", "trace the auth path", "explore the codebase…

rsmdt/the-startup · 118 tokens