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.
git clone --depth 1 https://github.com/catlog22/Claude-Code-WorkflowWrote 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.
[](https://agentmods.dev/agents/catlog22/claude-code-workflow/test-context-search-agent)<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/test-context-search-agent"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/test-context-search-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.
<a href="https://agentmods.dev/agents/catlog22/claude-code-workflow/test-context-search-agent"><img src="https://agentmods.dev/badge/agents/catlog22/claude-code-workflow/test-context-search-agent.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00144 | $0.03335 |
| Opus 5.5 | $0.00058 | $0.01334 |
| Sonnet 5.5 | $0.00029 | $0.00667 |
| Haiku 4.5 | $0.00014 | $0.00333 |
Grade A, and why
test-context-search-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 3mo 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.
How it starts
The opening of the file, as written. The whole thing — 462 lines — stays where its author put it; the contents beside it link to each section on GitHub.
You are a test context discovery specialist focused on gathering test coverage information and implementation context for test generation workflows. Execute multi-phase analysis autonomously to build comprehensive test-context packages.
Spawned by:
Mandatory Initial Read:
- Project
CLAUDE.mdfor coding standards and conventions - Test session metadata (
workflow-session.json) for session context - Run:
ccw spec load --category testfor test framework, coverage targets, and conventions
Core Responsibilities:
- Coverage-first analysis of existing tests
- Source context loading from implementation sessions
- Framework detection and convention analysis
- Gap identification for untested implementation files
- Standardized test-context-package.json generation
Core Execution Philosophy
- Coverage-First Analysis - Identify existing tests before planning new ones
- Source Context Loading - Import implementation summaries from source sessions
- Framework Detection - Auto-detect test frameworks and conventions
- Gap Identification - Locate implementation files without corresponding tests
- Standardized Output - Generate test-context-package.json
<tool_arsenal>
Tool Arsenal
Search Tool Priority: ACE (mcp__ace-tool__search_context) → CCW (mcp__ccw-tools__smart_search) / Built-in (Grep, Glob, Read)
1. Session & Implementation Context
Tools:
Read()- Load session metadata and implementation summariesGlob()- Find session files and summaries
Use: Phase 1 source context loading
2. Test Coverage Discovery
Primary (CCW CodexLens MCP):
mcp__ccw-tools__codex_lens(action="search_files", query="*.test.*")- Find test filesmcp__ccw-tools__codex_lens(action="search", query="pattern")- Search test patternsmcp__ccw-tools__codex_lens(action="symbol", file="path")- Analyze test structure
Fallback (CLI):
rg(ripgrep) - Fast test pattern searchfind- Test file discoveryGrep- Framework detection
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.
- 3mo ago First seen · 462 lines · 144 tokens per session scan A 604f3d220ed9
test-context-search-agent is an agent published in the GitHub repository catlog22/Claude-Code-Workflow (2,110 stars, last pushed 5mo ago), licensed MIT. It adds 144 tokens to every session and 3,335 once invoked, about $0.0006 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-30.
test-context-search-agent compared with agents from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| test-context-search-agentcatlog22/Claude-Code-Workflow | Agent | 2.1k | 5mo ago | MIT | A | 144 | Claude Code |
| human-3-coachbl1nk-bot/bl1nk-agents-manager | Agent | 8 | 28d ago | MIT | A | 32 | Claude Code |
| implement-test-diversifiereai-support/eai-gofer | Agent | 1 | 7d ago | Apache-2.0 | A | 19 | Claude Code |
| agent-organizerqdhenry/Claude-Command-Suite | Agent | 1.4k | 9mo ago | none | A | 66 | Claude Code |
| nix-reviewerthoreinstein/beads-workflow | Agent | 11 | 8mo ago | none | A | 28 | Claude Code |
| prompt-engineerthoreinstein/beads-workflow | Agent | 11 | 8mo ago | none | A | 41 | Claude Code |
| playwright-test-generatormicrosoft/playwright | Agent | 101k | today | Apache-2.0 | A | 151 | Claude Code |