cpv-spark-agent

cpv-spark-agent is an agent for coding agents 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

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

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.

agentmods
npx agentmods add agents/emasoft/claude-plugins-validation/cpv-spark-agent
Clone the repo
git clone --depth 1 https://github.com/Emasoft/claude-plugins-validation

Or install claude-plugins-validation, the plugin that ships this one along with the rest of its 31 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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00226 $0.01890
Opus 5 $0.00113 $0.00945
Sonnet 5 $0.00045 $0.00378
Haiku 4.5 $0.00023 $0.00189

Measured 3d ago against content hash 5ca65661245e, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 3d 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. 3d 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 yesterday), licensed MIT. It adds 226 tokens to every session and 1,890 once invoked, about $0.0011 per session on Opus 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.