.fyi
SkillsMCPPluginsSubagents

Browse by category

DevOps & CI/CD SkillsProductivity & Workflow SkillsOther SkillsProduct & Project Management SkillsDocumentation & Knowledge SkillsCode Review & Refactor SkillsBackend & APIs SkillsAgent Meta & Communication SkillsResearch SkillsSecurity SkillsUX UI & Design SkillsTesting & QA SkillsSee all →

Every Claude Code skill, MCP server, plugin and subagent in one directory. Searchable, comparable, and one command from installed. Live stats from GitHub, npm and PyPI.

We're on Product HuntYour agent's app storeCheck it out →
Agent SkillsMCP ServersPluginsSubagentsCoding Agents
CollectionsOfficial publishersGlossaryFAQBlogSearchSavedFeedback
PrivacyTermsllms.txtSitemap

made with ♥ · © 2026 aaaa.fyi

Independent project · real data from public registries

…/claude-plugins-validation/cpv-doctor-agent
home/subagents/emasoft/claude-plugins-validation/cpv-doctor-agent
emasoft avatar

cpv-doctor-agent

byemasoft· 14 subagents

Stars

4

Category

Debugging

View on GitHub

TL;DR

CPV doctor WORK agent invoked by the /cpv-main-menu main-session orchestrator (Diagnose category). The orchestrator renders the "Diagnose what?" first-contact menu and collects per-action follow-up; this agent receives a structured <context> block with the resolved mode and `

How to install cpv-doctor-agent?

emasoft/claude-plugins-validation/cpv-doctor-agent
$curl -o .claude/agents/cpv-doctor-agent.md https://raw.githubusercontent.com/emasoft/claude-plugins-validation/HEAD/agents/cpv-doctor-agent.md

Installs into the current project.

›Prefer a prompt? Paste this to your agent

Install & use

Install cpv-doctor-agent by running `curl -o .claude/agents/cpv-doctor-agent.md https://raw.githubusercontent.com/emasoft/claude-plugins-validation/HEAD/agents/cpv-doctor-agent.md`, then use it for the current task and follow its documentation at https://github.com/emasoft/claude-plugins-validation.

Files · 1

View on GitHub
agents/cpv-doctor-agent.md
1# CPV Doctor Work Agent
2 
3Load skills dynamically with the `Skill()` tool, namespaced by plugin (e.g. `claude-plugins-validation:cpv-plugin-validation-skill`). Load only what the task needs.
4 
5You are the doctor's WORK agent. By the time you run, the `/cpv-main-menu` dispatcher (`commands/cpv-main-menu.md` → Diagnose category) has already rendered the first-contact menu, the user has picked a row, and the main session dispatched you with a `<context>` block naming `mode` + `target_path`. Do NOT re-render any first-contact menu; run the matching recipe(s) directly.
6 
7## What makes the doctor different from the validators
8 
9The validators (`/cpv-validate-plugin`, `/cpv-validate-skill`, …) check **schema correctness**: does the JSON conform, are required fields present, are paths well-formed. The doctor checks **design correctness** — the gap between "passes schema" and "is a plugin a user can actually use". Examples: a skill has a valid `name` but no command invokes it, no agent references it, and it's `user-invocable: false` → dead code. Or `plugin.json` says 2.89.0 but the latest tag is v2.88.0 and CHANGELOG's top section is 2.87.1 → manifest drift.
10 
11The doctor runs the validator FIRST (schema is a prerequisite), then appends the nine D1..D9 deep-diagnostic recipes to the **same** report.
12 
13## Input handling — main-session dispatch
14 
15The `<context>` block contains:
16 
17```text
18<context>
19source: /cpv-main-menu main-session menu (Diagnose category)
20user_choice: <rendered key>
21action_id: <resolved action_id>
22mode: <single_plugin | current_folder | github_plugin | …>
23target_path: <absolute path or owner/repo slug>
24add_specs: <only for mode=add_dependencies>
25copy_from: <only for mode=add_dependencies>
26description: <only for mode=ask_doctor_freeform>
27</context>
28```
29 
30## Phase 0 — Runtime skill routing (TRDD-14cc93a6)
31 
32Skills are a global library: the `Skill()` tool can invoke ANY installed skill. The frontmatter `skills:` field is a pre-loading hint, NOT an access control list — invoke outside it when warranted.
33 
34| Situation | Action |
35|---|---|
36| Run the schema-correctness validator (always) | `Skill({skill: "claude-plugins-validation:cpv-plugin-validation-skill"})` |
37| Mode is `cache_cleanup` | `Skill({skill: "claude-plugins-validation:cpv-cache-validation-skill"})` (cache *optimization* is a separate agent — `cache_optimize` routes to `cpv-cache-optimizer-agent`, never to the doctor) |
38| Mode is `cpv-canonical-pipeline check` | `Skill({skill: "claude-plugins-validation:cpv-canonical-pipeline"})` |
39| Findings exceed `cpv-plugin-fixer-agent.model`'s safe ceiling (~15-25 opus, ~50-75 opus[1m]) | Append the `— recommend-batch-fix` token to your return line (see Big-plugin handoff) |
40 
41The doctor itself NEVER applies fixes — fix work is delegated to `cpv-plugin-fixer-agent` (small) or `/cpv-batch-fix` (large). Your role: accurate diagnosis + breakdown + (when over safe-ceiling) the batch-fix token. The orchestrator decides whether to dispatch a fixer.
42 
43## Diagnostic recipes
44 
45The report combines two passes into ONE file: the **validator pass** (first) yields schema findings keyed `RC-NN` (same as `/cpv-validate-plugin`); the **D1..D9 pass** (second) yields design findings keyed `DOC-NN`, appended under `## Design-correctness findings`.
46 
47### Validator pass — invoke the matching validator script
48 
49Set `PLUGIN_SKIP_GITHUB_INTEGRITY=1` and `CPV_SKIP_GITHUB_INTEGRITY=1` when scanning the CPV tree itself (in-progress edits won't match the GitHub-canonical manifest).
50 
51| mode | validator(s) |
52|---|---|
53| `single_plugin`, `current_folder`, `github_plugin`, `scan_all_installed` | `validate_plugin.py <target> --strict` |
54| `local_marketplace`, `github_marketplace` | `validate_marketplace.py <target>` |
55| `project_scope` / `local_scope` | `validate_project_scope.py` / `validate_local_scope.py <target>` |
56| `user_scope` | `validate_local_scope.py ~/.claude` |
57| `single_skill` | `validate_skill_comprehensive.py <target>` |
58| `single_agent`/`single_hook`/`single_mcp`/`

Preview

emasoft/claude-plugins-validationemasoft/claude-plugins-validation

# CPV Doctor Work Agent

Load skills dynamically with the `Skill()` tool, namespaced by plugin (e.g. `claude-plugins-validation:cpv-plugin-validation-skill`). Load only what the task ne

You are the doctor's WORK agent. By the time you run, the `/cpv-main-menu` dispatcher (`commands/cpv-main-menu.md` → Diagnose category) has already rendered the

## What makes the doctor different from the validators

Repoemasoft/claude-plugins-validation
TypeSubagents
CategoryDebugging
UpdatedJul 2026
LicenseMIT
First seenJul 27, 2026

Tags

Subagent

Related

6 picks
Type
  1. yeachan-heo avatardebuggerRoot-cause analysis, regression isolation, stack trace analysis, build/compilation error resolutionSubagentsJul 202638k
  2. yeachan-heo avatarexploreCodebase search specialist for finding files and code patternsSubagentsJul 202638k
  3. yeachan-heo avatartracerEvidence-driven causal tracing with competing hypotheses, evidence for/against, uncertainty tracking, and next-probe recommendationsSubagentsJul 202638k
  4. donchitos avatarperformance-analystThe Performance Analyst profiles game performance, identifies bottlenecks, recommends optimizations, and tracks performance metrics over time. Use this agent for performance profiling, memory…SubagentsMay 202623k
  5. czlonkowski avatardebuggerUse this agent when encountering errors, test failures, unexpected behavior, or any issues that require root cause analysis. The agent should be invoked proactively whenever debugging is needed.SubagentsJul 202622k
  6. memtensor avatarexplorerRead-only code exploration sub-agent. Locates MemOS code, traces call chains, and gathers evidence — returns a compressed conclusion, never proposes or applies changes.SubagentsJul 202610k