Borrowing it
Nothing to install: this file belongs to ultra-ai-dle/frogger. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/ultra-ai-dle/frogger/develop/.claude/commands/trace-validate.mdgit clone --depth 1 https://github.com/ultra-ai-dle/froggerWrote 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/commands/ultra-ai-dle/frogger/trace-validate)<a href="https://agentmods.dev/commands/ultra-ai-dle/frogger/trace-validate"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/trace-validate/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/commands/ultra-ai-dle/frogger/trace-validate"><img src="https://agentmods.dev/badge/commands/ultra-ai-dle/frogger/trace-validate.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.00000 | $0.00565 |
| Opus 5.5 | $0.00000 | $0.00226 |
| Sonnet 5.5 | $0.00000 | $0.00113 |
| Haiku 4.5 | $0.00000 | $0.00056 |
Grade A, and why
trace-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 27d 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.
What it actually says
/trace-validate — Trace 스키마 + 병합 무결성 검증
목적
Pyodide Worker → Store → AI → Renderer 경계에서 trace 데이터가 올바르게 흐르는지 검증한다.
입력
$ARGUMENTS— (선택) 검증 범위 지정 (예:schema,merge,vartypes). 미지정 시 전체 검증.
실행 절차
-
RawTraceStep 스키마 검증 (
schema):src/types/prova.ts의RawTraceStep정의를 읽는다.- Worker 파일(
public/worker/pyodide.worker.js,public/worker/js.worker.js)에서 postMessage로 보내는 데이터 구조가RawTraceStep과 일치하는지 확인한다. - 필수 필드:
step,line,vars,scope,parent_frames,runtimeError scope는{ func: string, depth: number }형태여야 한다.
-
varTypes 합집합 검증 (
vartypes):- Worker에서 생성하는
varTypes의 키가 실제rawTrace[].vars의 키 합집합과 일치하는지 로직을 추적한다. /api/analyze에서varTypes를 받아var_mapping.var_name을 생성할 때, 존재하지 않는 변수명을 참조하는 경로가 없는지 확인한다.
- Worker에서 생성하는
-
mergedTrace 병합 무결성 (
merge):src/features/trace/merge.ts의 병합 로직을 읽는다.rawTrace.length !== annotatedChunk.length일 때EMPTY_ANNOTATED패딩이 올바르게 적용되는지 확인한다.- 병합 후
mergedTrace[i]에RawTraceStep+AnnotatedStep필드가 모두 존재하는지 확인한다. runtimeError와aiError가 충돌 없이 공존하는지 확인한다.
-
결과 보고: 이슈가 있으면 파일명:라인 형태로 구체적으로 보고한다.
검증 체크리스트
- Worker postMessage 페이로드 ⊇ RawTraceStep 필수 필드
- varTypes 키 ⊇ rawTrace vars 키 합집합
- var_mapping.var_name ∈ varTypes 키
- mergedTrace.length === rawTrace.length (패딩 포함)
- runtimeError step에서 aiError 공존 가능
- EMPTY_ANNOTATED 패딩 시 explanation='', visual_actions=[], aiError=null
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.
- 27d ago First seen · 36 lines · 0 tokens per session scan A 066cfee7774c
trace-validate is a command published in the GitHub repository ultra-ai-dle/frogger (8 stars, last pushed 6mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 565 tokens. 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-10-02.
Other commands, from other repositories
implement-fix
Minimal pipeline for test-fixing tasks.
playwright-test-heal
Run all my tests and fix the failing ones.
verify-bug
Post-merge UAT verification workflow. Walks JIRA reproduce steps, performs comparative audits (Before/After), attaches evidence to JIRA, and transitions status on PASS.
api-aqa-flow-execution-and-report-analysis
Phase 6 Execution & Report Analysis of api-aqa-flow (USER INTERACTION REQUIRED).
bugfix
Bug fix workflow: root cause analysis → user review → regression test + fix via TDD.
timeout-fix
A procedure for diagnosing and fixing tests that exceed their time limit by finding causes such as slow processing, hanging network calls, deadlocks, heavy setup, or leaked resources.