cpv-spark-agent

cpv-spark-agent is an agent for Claude Code from Emasoft/claude-plugins-validation. It costs 226 tokens per session (1,893 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,893 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.01893
Opus 5.5 $0.00090 $0.00757
Sonnet 5.5 $0.00045 $0.00379
Haiku 4.5 $0.00023 $0.00189

Measured 7d ago against content hash d3038946554d, 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 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.

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. 7d ago Changed d3038946554d
  2. 3mo 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 today), licensed MIT. It adds 226 tokens to every session and 1,893 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

cpv-spark-agent compared with agents from other repositories

cpv-spark-agent next to 6 agents from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
cpv-spark-agentEmasoft/claude-plugins-validationAgent4todayMITA226Claude Code
playwright-test-generatormicrosoft/playwrightAgent102ktodayApache-2.0A151Claude Code
.NET-Notebook-Migration-Agentmicrosoft/ai-agents-for-beginnersAgent82ktodayMITA33Claude Code
AVM Owner Triagegithub/awesome-copilotAgent42kyesterdayMITA61Claude Code
Ultimate Transparent Thinking Beast Modegithub/awesome-copilotAgent42kyesterdayMITA11Claude Code
Context7-Expertgithub/awesome-copilotAgent42kyesterdayMITA22Claude Code
version-delta-analystanthropics/claude-plugins-officialAgent49ktodayApache-2.0A134Claude Code