cpv-batch-scope-diagnose

cpv-batch-scope-diagnose is a skill for Claude Code from Emasoft/claude-plugins-validation. It costs 114 tokens per session (1,078 once invoked), scanned B, original, MIT.

A read-only diagnostic tool for checking Claude configuration across several project folders. It can inspect user-wide settings, project settings, local settings, or all of them together.

In plain words
What is it for?
Use it to diagnose Claude settings across a fleet of local projects. It is for finding issues in user configuration, project configuration, and local settings files.
Why use it?
It helps find configuration problems and conflicts without changing files. A project folder is the directory containing a software project.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter. Also seen: reads .claude/ paths; mentions .claude-plugin; mentions subagents.

Part of the claude-plugins-validation plugin — 52 skills, 14 commands, 14 agents shipped together

Good fit Use it to diagnose Claude settings across a fleet of local projects. It is for finding issues in user configuration, project configuration, and local settings files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose
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.

Any agent
npx skills add Emasoft/claude-plugins-validation --skill cpv-batch-scope-diagnose
Clone the repo
git clone --depth 1 https://github.com/Emasoft/claude-plugins-validation

Made for: Claude Code.

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 52 skills, 14 commands, 14 agents.

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 cpv-batch-scope-diagnose

README.md
[![agentmods](https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose/github.svg)](https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose)
Your own site
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose/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 cpv-batch-scope-diagnose

Your own site · 80×15
<a href="https://agentmods.dev/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose"><img src="https://agentmods.dev/badge/skills/emasoft/claude-plugins-validation/cpv-batch-scope-diagnose.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 114 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,078 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.00114 $0.01078
Opus 5.5 $0.00046 $0.00431
Sonnet 5.5 $0.00023 $0.00216
Haiku 4.5 $0.00011 $0.00108

Measured 7d ago against content hash fda68c7287c1, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

cpv-batch-scope-diagnose 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 7d 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.

- `local`: `<project>/.claude/settings.local.json`
skills/cpv-batch-scope-diagnose/SKILL.md · 98 lines

How it starts

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

cpv-batch-scope-diagnose

Overview

Read-only scope-aware doctor across a fleet of project folders. Each cpv-doctor-agent subagent diagnoses one of:

  • user: ~/.claude/
  • project: <project>/.claude/ (git-tracked entries)
  • local: <project>/.claude/settings.local.json
  • full: all of the above + cross-scope conflict checker

The orchestrator body lives in this plugin's commands/cpv-batch-scope-diagnose.md slash-command file.

Prerequisites

  • claude-plugins-validation plugin installed.
  • LOCAL filesystem access — the doctor reads ~/.claude/ and <project>/.claude/. URL inputs cannot reach these and are rejected with a CRITICAL message.
  • A valid Claude installation at ~/.claude/ for user and full scopes.

Inputs

Shape Example
Single project folder the absolute path to the project root
List of project folders (CLI) multiple whitespace-separated entries
List file a path prefixed with @, e.g. an inputs list file
Default (no input) $PWD
URL or owner/repo REJECTED with CRITICAL message

Instructions

  1. Confirm the user wants READ-ONLY diagnosis. If they want fixes, route to cpv-batch-scope-fix or cpv-batch-scope-diagnose-and-fix.
  2. Invoke the slash command body:
    /cpv-batch-scope-diagnose <project-list> --scope <full|user|project|local>
    
  3. Each per-project agent runs in batch_scope_diagnose mode.
  4. The user gets the final status table + a one-line summary (DONE: projects=N clean=X findings=Y warning-only=Z. Conflicts total: C).
  5. If findings or conflicts surface, suggest /cpv-batch-scope-fix --scope <same scope> <same target>.

Output

  • Unicode-bordered status table (one row per project).
  • One-line DONE summary.
  • Per-project scope-doctor reports under $MAIN_ROOT/reports_dev/scope-doctor/<ts±tz>-<project>.md.
  • Per-project status JSONs.

Token contract

Same as cpv-batch-validate — ~3-4K main-session tokens for a 17-project batch.

Read the full file on GitHub · 98 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. 7d ago Changed fda68c7287c1
  2. 3mo ago First seen · 98 lines · 114 tokens per session scan B 39b8b9189d18

Subscribe to this mod's changes

cpv-batch-scope-diagnose is a skill published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed today), licensed MIT. It adds 114 tokens to every session and 1,078 once invoked, about $0.0005 per session on Opus 5.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-31.

Related

cpv-batch-scope-diagnose compared with skills from other repositories

cpv-batch-scope-diagnose next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpv-batch-scope-diagnoseEmasoft/claude-plugins-validationSkill4todayMITB114Claude Code
systematic-debuggingopen-metadata/OpenMetadataSkill16ktodayApache-2.0A37Claude Code
log-error-digestzebbern/claude-code-guideSkill4.7ktodayMITA71Claude Code, Codex
observability-audit-sessionsIBM/mcp-context-forgeSkill4.9ktodayApache-2.0A64Claude Code, Codex
cwv-optimizeradobe/skillsSkill343todayApache-2.0A112Claude Code
performance-verificationvalkor-ai/loomSkill1.6k3d agoApache-2.0A45Claude Code, Codex
loop-engineeringhuytieu/COG-second-brainSkill1.6kyesterdayMITA63Claude Code