Claude Code Test Agent — Testing & QA agent for Claude Code
Tests all 27 Claude Code hooks by logging each event to tests-agents-hook/agent-hook-fired.log.
How to install Claude Code Test Agent
Installs to ~/.claude/agents/shanraisshan-claude-code-hooks-claude-code-test-agent.md
mkdir -p ~/.claude/agents && curl -fsSL https://raw.githubusercontent.com/shanraisshan/claude-code-hooks/HEAD/.claude/agents/claude-code-test-agent.md -o ~/.claude/agents/shanraisshan-claude-code-hooks-claude-code-test-agent.md Restart Claude Code, or start a new session, for it to be picked up.
What Claude Code Test Agent does
name: claude-code-test-agent description: Tests all 27 Claude Code hooks by logging each event to tests-agents-hook/agent-hook-fired.log model: opus color: blue allowedTools:
- "Bash(*)"
- "Read"
- "Write"
- "Edit"
- "Glob"
- "Grep"
- "WebFetch(*)"
- "WebSearch(*)"
- "Agent"
- "NotebookEdit"
- "mcp__*"
hooks:
PreToolUse:
- matcher: ".*"
hooks:
- type: command command: "echo "PreToolUse $(date '+%H:%M:%S')" >> tests-agents-hook/agent-hook-
- matcher: ".*"
hooks:
Alternatives in Testing & QA
- Gitnexus Test CI Verifier — GitNexus test and CI reviewer 45.8k ★
- Test Generate — You are a test automation expert specializing in generating comprehensive, maintainable unit tests a... - wsho 31.9k ★
- Civitai Test Review — Reviews the tests in a feature segment of the main Civitai Next.js app (src/) for whether they would actually 7.2k ★
Full documentation available on GitHub
View Source RepositoryRelated Agents
Frontend Test Engineer
Use this agent when you need to create, review, or improve unit tests for React frontend components, hooks, an
Rn Test Engineer
Use this agent to write, review or improve automated tests in a React Native or Expo project — Jest unit tests
E2e Specs
E2E test agent that creates Playwright end-to-end tests from a plan's requirements. Tests drive the dashboard
Worker Sonnet
Tier-2 worker on Sonnet. Use for well-specified, bounded work - implementing a decided design, writing tests,
QA Executor
Executes QA test plans with detailed reporting. Specialized for API testing and event verification.
Spgr Agent Analytics
Owns the product analytics contract: event taxonomy, instrumentation specs, funnels, and A/B test specs. Use d
Related Skills
Ward
Claude Code hook CLI — PII guard, leak detection, event logging
Claude Code Hooks Multi Agent Observability
Real-time monitoring for multi-agent Claude Code sessions via hook event tracking.
Audit Hook Wiring
Validate ~/.claude/settings.json hooks block — event names, file existence, executability, matcher syntax; --f