phase-validate

phase-validate is an agent for Claude Code from leee880619-commits/ClaudeCode-Harness-Setup-Assistant. It costs 40 tokens per session (633 once invoked), scanned A, original, Apache-2.0.

A final checker for a Claude Code harness, meaning the files and instructions that control an AI coding workflow.

In plain words
What is it for?
Use it to read all earlier phase outputs, trace their connections through simulation, and produce a final validation report without changing files.
Why use it?
It finds syntax errors, inconsistencies, security issues, hidden instruction leakage, and broken file references before the harness is considered finished.

Agent for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: model in frontmatter; reads .claude/ paths; mentions CLAUDE.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the harness-architect plugin — 2 skills, 7 commands, 25 agents, 1 hook shipped together

Good fit Use it to read all earlier phase outputs, trace their connections through…

Compare 6 agents from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add leee880619-commits/ClaudeCode-Harness-Setup-Assistant
Claude Code
/plugin install harness-architect

Made for: Claude Code.

Or install harness-architect, the plugin that ships this one along with the rest of its 2 skills, 7 commands, 25 agents, 1 hook.

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 phase-validate

README.md
[![agentmods](https://agentmods.dev/badge/agents/leee880619-commits/claudecode-harness-setup-assistant/phase-validate.svg)](https://agentmods.dev/agents/leee880619-commits/claudecode-harness-setup-assistant/phase-validate)
Your own site
<a href="https://agentmods.dev/agents/leee880619-commits/claudecode-harness-setup-assistant/phase-validate"><img src="https://agentmods.dev/badge/agents/leee880619-commits/claudecode-harness-setup-assistant/phase-validate.svg" alt="Measured on agentmods" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 633 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.00040 $0.00633
Opus 5 $0.00020 $0.00316
Sonnet 5 $0.00008 $0.00127
Haiku 4.5 $0.00004 $0.00063

Measured 6d ago against content hash b064bf91e0ff, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

phase-validate 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 6d 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.

.claude/agents/phase-validate.md · 33 lines

What it actually says

You are a harness validator.

Identity

  • 대상 프로젝트에 생성된 전체 하네스의 정확성, 일관성, 완전성을 검증
  • 메타 누수, 보안 취약점, 구문 오류를 탐지
  • 시뮬레이션으로 파일 참조 체인을 추적하여 실제 동작을 검증

Playbooks

작업 시 어시스턴트 프로젝트에서 Read하여 방법론을 따른다:

  • ${CLAUDE_PLUGIN_ROOT}/playbooks/final-validation.md — 최종 검증 방법론

Knowledge 및 체크리스트는 필요 시 어시스턴트 프로젝트에서 Read:

  • ${CLAUDE_PLUGIN_ROOT}/knowledge/ — Claude Code 파일 명세, 안티패턴
  • ${CLAUDE_PLUGIN_ROOT}/checklists/ — 검증 항목, 보안 감사, 메타 누수 키워드

Input Context

작업 시작 전 반드시 {대상 프로젝트}/docs/{요청명}/ 아래 모든 Phase 산출물(00-target-path.md ~ 06-hooks-mcp.md)을 전체 Read하여 하네스 전반을 파악한다. 특히 각 파일의 ## Context for Next Phase 섹션 간 일관성을 교차 검증한다 (예: Phase 4에서 정한 에이전트 목록과 Phase 5에서 생성한 .claude/agents/*.md 파일 수·이름 일치).

프롬프트의 [이전 Phase 결과 요약](~200단어)는 힌트이며, 산출물 파일이 source of truth이다. Summary만 보고 검증을 시작하지 말 것.

Rules

  • 파일을 생성하거나 수정하지 않는다 (읽기 + 검증만)
  • 검증 실패 시 자동 수정하지 않고 문제점만 보고
  • AskUserQuestion 절대 호출 금지. 위반 시 오케스트레이터 상태 단절·다음 Phase에서 중복 질문 발생. 불확실 사항은 반드시 ## Escalations[ASK] / [BLOCKING] / [NOTE] 태그로만 기록한다.
  • Intent Gate 베이스라인 검증 의무: final-validation.md Step 3 항목 17 에 따라 .claude/rules/intent-gate.md + .claude/skills/intent-clarifier/SKILL.md + CLAUDE.md "작업 시작 전" 섹션 3종 존재를 확인. 누락 시 [BLOCKING]. 산출물에 ## Intent Gate 섹션 필수.
  • 완료 시 반환 포맷 준수: Summary, Files Generated, Escalations, Next Steps
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. 6d ago First seen · 33 lines · 40 tokens per session scan A b064bf91e0ff

Subscribe to this mod's changes

phase-validate is an agent published in the GitHub repository leee880619-commits/ClaudeCode-Harness-Setup-Assistant (2 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 40 tokens to every session and 633 once invoked, about $0.0002 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.

Related

Other agents, from other repositories

persona-innovator

Generates naming candidates, frame proposals, and external frontier absorption signals for harness evolution. Combines the harness owner's ideation algorithm with external frontier scanning. Use when new naming or frames are needed, or during autonomous meta-simulation rounds. Supports environments without naming…

chrono-meta/forge-harness · 61 tokens

quench-challenger

Dedicated quench attack-prescription synthesis agent — Devil (6-axis harness-specific attack) + Innovator (immediate alternatives) + Prescriber (one-line surgical prescription) 3-DNA synthesis. Every attack is paired with a concrete fix direction — no pure criticism. Built-in replacement engine for steel-quench Wave…

chrono-meta/forge-harness · 99 tokens

challenger

Frontier-grade adversarial evaluator for harness assets, papers, designs, and code. Goes beyond fixed-angle critique — adapts attack vectors to artifact type, enforces evidence citation on every attack, models its own information asymmetry (Sandboxed Adversary), and tracks convergence across rounds. Returns structured…

chrono-meta/forge-harness · 102 tokens

expert

Frontier-grade domain-authority evaluator. Checks an artifact's technical accuracy, completeness, and state-of-the-art currency against EXTERNAL authoritative sources — fetched from the open web, since a general model must ground domain claims rather than assert them. Top tier of the user-mastery spectrum (beginner →…

chrono-meta/forge-harness · 114 tokens

main-player

Frontier-grade engaged-user standpoint evaluator. Simulates the artifact's actual core user base — and intelligently scopes which engagement tier to inhabit (Light / Midcore / Heavy) based on who really uses this. Middle tier of the user-mastery spectrum (beginner → main-player → expert). The Heavy sub-tier carries…

chrono-meta/forge-harness · 123 tokens

beginner

Frontier-grade first-contact standpoint evaluator. Simulates a zero-context user meeting an artifact for the first time — attempts the task cold rather than skimming, then reports exactly where comprehension or execution breaks. Lowest tier of the user-mastery spectrum (beginner → main-player → expert). Constructive…

chrono-meta/forge-harness · 117 tokens