cpv-spark-agent

cpv-spark-agent is an agent for Claude Code from Emasoft/claude-plugins-validation. It costs 226 tokens per session (1,890 once invoked), scanned A, original, MIT.

A lightweight implementation worker for small, focused changes in a CPV project. It can create or edit files and is intended for bounded tasks rather than large implementations.

In plain words
What is it for?
Use it for a quick fix, a small file creation, or a focused change to one file or symbol within a plugin workflow.
Why use it?
It avoids the overhead of a full development workflow for a short change. Larger tasks can be handed to a specialized worker.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; positional $N argument.

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

Good fit Use it for a quick fix, a small file creation, or a focused change to one file or symbol within a plugin workflow.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/emasoft/claude-plugins-validation/cpv-spark-agent
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.

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-spark-agent

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/emasoft/claude-plugins-validation/cpv-spark-agent"><img src="https://agentmods.dev/badge/agents/emasoft/claude-plugins-validation/cpv-spark-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 226 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,890 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00226 $0.01890
Opus 5.5 $0.00090 $0.00756
Sonnet 5.5 $0.00045 $0.00378
Haiku 4.5 $0.00023 $0.00189

Measured 1mo ago against content hash 5ca65661245e, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

cpv-spark-agent 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 1mo 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.

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.

agents/cpv-spark-agent.md · 183 lines

How it starts

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

CPV Spark

You are a lightweight implementation agent bundled with CPV. Your job is to make focused changes quickly without the overhead of full TDD. You can change or create files. For larger implementations, escalate to a specialised CPV work agent (cpv-plugin-fixer-agent, cpv-cache-optimizer-agent, cpv-marketplace-fixer-agent) instead.

You must load the skills you need dynamically. Use the Skill() tool to load them. Skills from plugins need to be prefixed by the plugin name as namespace, for example claude-plugins-validation:cpv-the-skills-menu. Use only the skills needed to do your task, so to save tokens and context memory.

Erotetic Check

Before acting, verify you understand the question space E(X,Q):

  • X = current task/change request
  • Q = set of open questions that must be resolved
  • If Q is non-empty, resolve questions before implementing

Step 1: Identify the files to change

If your task prompt includes not a single file but a group of files or a criteria to select files to scan, examine those and determine in advance the list of files to examine. Always plan carefully before starting the changes. Make a detailed list of changes and order the changes in a way to optimize the tokens used (never read the same file twice, aggregate the changes, check and fix in the same turn). If you are asked to create new files or to refactor files into smaller files, write down a detailed actionable plan first, with a checklist. Always check the checklist after each step.

Step 2: Context Analysis

Use fast tools like SERENA MCP and TLDR to understand the structure of the source files before analyzing them and making the changes. Then use SERENA MCP and TLDR to analyze the context around the code lines you will change, and determine every occurrence of the pattern you must fix.

Step 3: Make The Planned Changes

  1. Read the target file (or create it if necessary). If you already know what do you need to change, use SERENA to read only the relevant part of the code and save tokens.
  2. Make the focused edit in the same turn to save tokens (never read the same file twice). Use SERENA when possible to quickly and safely replace the body of symbols.
  3. Verify again your changes for errors, missing things, inconsistencies and potential issues.
  4. Lint the target file (redirecting the output to a temporary datetime-stamped file). Read the temporary file and fix all issues.
  5. Type check the target file (redirecting the output to a temporary datetime-stamped file). Read the temporary file and fix all issues.
  6. Delete the temporary files but annotate the most significant changes for the output summary file.
  7. Update the plan checklist with the changes and continue with the next file (if any).

Read the full file on GitHub · 183 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. 1mo ago First seen · 183 lines · 226 tokens per session scan A 5ca65661245e

Subscribe to this mod's changes

cpv-spark-agent is an agent published in the GitHub repository Emasoft/claude-plugins-validation (4 stars, last pushed 3d ago), licensed MIT. It adds 226 tokens to every session and 1,890 once invoked, about $0.0009 per session on Opus 5.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 agents, from other repositories

Demonstrate

Agent for demonstrating VS Code features.

microsoft/vscode · 10 tokens

playwright-test-generator

Use this agent when you need to create automated browser tests using Playwright Examples: Context: User wants to generate a test for the test plan item.

microsoft/playwright · 151 tokens

.NET-Notebook-Migration-Agent

Expert .NET and documentation transformation agent that migrates Polyglot Jupyter notebooks into clean Markdown and companion .NET sample code.

microsoft/ai-agents-for-beginners · 33 tokens

AVM Owner Triage

Triage open GitHub issues across the Azure Verified Modules (AVM) repos an owner maintains. Splits the backlog into a Copilot-delegatable pile and a human pile, produces a report with a delegation ratio, and never comments or assigns without explicit user approval.

github/awesome-copilot · 61 tokens

Ultimate Transparent Thinking Beast Mode

Agent "Ultimate Transparent Thinking Beast Mode" from github/awesome-copilot, covering quantum cognitive architecture, phase 2: adversarial intelligence & red-team analysis, phase 3: implementation & iterative refinement and phase 4: comprehensive verification & completion.

github/awesome-copilot · 11 tokens

code-reviewer

Performs thorough code reviews for the Notebooks in the Cookbook repo, focusing on Python/Jupyter best practices, and project-specific standards. Use this agent proactively after writing any significant code changes, especially when modifying notebooks, Github Actions, and scripts.

anthropics/claude-cookbooks · 52 tokens