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.
npx agentmods add skills/pharosone/vector-plugin/batch-fix-findingsnpx skills add pharosone/vector-plugin --skill batch-fix-findingsgit clone --depth 1 https://github.com/pharosone/vector-pluginWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00066 | $0.00884 |
| Opus 5 | $0.00033 | $0.00442 |
| Sonnet 5 | $0.00013 | $0.00177 |
| Haiku 4.5 | $0.00007 | $0.00088 |
Grade A, and why
batch-fix-findings 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 54 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Goal
Harden the user's agent against N red-team findings from a single Vector session. The key insight: many findings share a root cause; one config change can close several at once. Do NOT propose N independent fixes.
Context — gather the findings
You need: session_id, total Broken count, and for each finding: attack_id, category / subcategory, attacker prompt, agent's response, judge reasoning. Two ways to get them:
-
MCP-first (preferred). If the Vector MCP server is connected in this client (this plugin pre-wires it):
get_session({ session_id })to confirm the session iscompleted.wait_for_report({ session_id })orget_report({ session_id })to fetch the report. The report'sfindingsarray is the source of truth — filter to verdictFAIL(and optionallyPARTIALif the user wants soft leaks too). Ask the user only forsession_idand which verdicts to include.
-
Manual paste (fallback). Ask the user to:
- Open the session in the cabinet (
/sessions/{session_id}page). - Filter findings by
FAILverdict. - Paste the findings as a structured list (one block per finding with the six fields from
harden-from-finding).
- Open the session in the cabinet (
Per-finding caps for context window safety: prompt up to ~1500 chars, response up to ~2000 chars, judge reason up to ~800 chars. Truncate longer values with …[truncated; N more chars in the full report] and tell the user to open the cabinet for the full text.
Tasks
- Read the current system prompt and tool definitions of the agent in this repo.
- Group the failures by root cause. Examples:
- "weak refusal phrasing" (multiple bypass attempts succeeded because the refusal can be argued with)
- "missing guardrail on tool X" (every attack that called tool X leaked something)
- "system prompt leaked via tool description" (the tool description echoes part of the system prompt)
- "PII handling in support flow" (multiple PII exfil attacks succeeded because there's no PII filter on the response) Multiple findings above often share a single fix. Print the groupings explicitly before proposing fixes.
- For each group, propose concrete, minimal edits to the system prompt, tool definitions, or guardrail code. Quote the exact lines that should change and write the replacement inline. Explain WHY each edit addresses the root cause (so the user can sanity-check your reasoning).
- Add a unit / integration test PER GROUP (not per finding) that:
- Replays at least one representative attacker prompt from that group.
- Asserts the safe behaviour.
- Names the test after the group's root cause (e.g.
test_pii_filter_blocks_email_exfil), not after a singleattack_id.
- Do NOT over-correct. Each fix must be the narrowest change that closes the specific gap. Blanket refusals harm normal traffic; flag any proposed change that risks normal-use regression and ask before applying.
- After the changes, recommend a follow-up Vector scan (re-running
POST /api/v1/sessionsagainst the sameagent_context, or "Re-run" in the cabinet, or the MCPcreate_sessiontool with the same context) so the user can confirm the fixes hold.
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.
- yesterday First seen · 54 lines · 66 tokens per session scan A 49ae6640105f
batch-fix-findings is a skill published in the GitHub repository pharosone/vector-plugin (1 stars, last pushed 3mo ago), licensed MIT. It adds 66 tokens to every session and 884 once invoked, about $0.0003 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.
Other skills, from other repositories
resemble-detect
Deepfake detection and media safety — detect AI-generated audio, images, and video, trace synthesis sources, and analyze media intelligence using direct Resemble AI API calls.
AI System Quality Engineer
Test LLM, RAG, MCP, and agentic systems end to end. Build golden datasets, run deterministic checks and LLM judges, score retrieval, probe prompt injection, verify tool use, and gate CI on thresholds. Orchestrates DeepEval, Ragas, promptfoo, and Langfuse.
Agent Evaluation Framework Builder
Designs an eval suite for an LLM agent or pipeline including success metrics, trajectory scoring, LLM-as-judge setup, and regression test cases.
agent-resilience-testing
Orchestrates end-to-end resilience testing for LLM agents with AgentBreak, including LLM infrastructure failures, prompt injection, agent skill supply-chain risk, guardrail verification, and MCP server/tool failures. Use when the user asks to "test my agent for resilience", "chaos test this agent", "find failure modes…
bug_fix
Constrains the Agent to follow a structured bug fix process — locate → root cause → fix → regression verify.
feature_dev
Constrains the Agent to follow a structured feature development process — requirements → design → implement → verify.