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 commands/wasintoh/toh-framework/toh-testgit clone --depth 1 https://github.com/wasintoh/toh-frameworkWrote 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/wasintoh/toh-framework/toh-test)<a href="https://agentmods.dev/commands/wasintoh/toh-framework/toh-test"><img src="https://agentmods.dev/badge/commands/wasintoh/toh-framework/toh-test.svg" alt="Measured on agentmods" 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 | $0.00011 | $0.01819 |
| Opus 5 | $0.00005 | $0.00910 |
| Sonnet 5 | $0.00002 | $0.00364 |
| Haiku 4.5 | $0.00001 | $0.00182 |
Grade A, and why
toh-test 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 4d 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 — 234 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/toh-test - Auto Test & Fix
Purpose
Automated system testing, and if errors are found, will call /toh-fix to fix and re-test until passing.
Workflow
User: /toh-test test login page
┌─────────────────────────────────────────────────────┐
│ 🧪 Test Runner │
├─────────────────────────────────────────────────────┤
│ 0. 🚨 READ MEMORY (Tiered - not all 7) │
│ Tier 1 - read ALWAYS (~800 tokens): │
│ ├── .toh/memory/active.md (current task) │
│ └── .toh/memory/summary.md (project) │
│ Tier 2 - read per task type: │
│ ├── .toh/memory/changelog.md (changes) │
│ ├── .toh/memory/components.md (components) │
│ └── .toh/memory/architecture.md (structure) │
│ Tier 3 - only when referenced: │
│ ├── .toh/memory/decisions.md (decisions) │
│ └── .toh/memory/agents-log.md (agents) │
│ │
│ 1. 🔐 QUICK SECURITY CHECK │
│ ├── Scan for hardcoded secrets │
│ ├── Check dangerous patterns │
│ └── If CRITICAL → BLOCK testing │
│ │
│ 2. Setup Playwright (if not exists) │
│ 3. Generate test cases from existing UI │
│ 4. Run tests │
│ 5. If PASS → Report results ✅ │
│ 6. If FAIL → Analyze error │
│ └── Call /toh-fix to fix │
│ └── Run tests again │
│ └── Loop until passing (max 3 rounds) │
│ │
│ 7. 🚨 SAVE MEMORY │
│ ├── Update active.md (ALWAYS) │
│ ├── Update summary.md (if shape changed) │
│ ├── Update changelog.md (test session) │
│ ├── Update components.md (if new) │
│ ├── Update architecture.md (if changed) │
│ ├── Update decisions.md (if fixes made) │
│ └── Update agents-log.md (if delegated) │
│ │
│ 8. Summary of test results │
└─────────────────────────────────────────────────────┘
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.
- 4d ago First seen · 234 lines · 11 tokens per session scan A f79d8a269f64
toh-test is a command published in the GitHub repository wasintoh/toh-framework (95 stars, last pushed 8d ago), licensed MIT. It adds 11 tokens to every session and 1,819 once invoked, about $0.0001 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-30.
Other commands, from other repositories
live-verify
Two-part gate for gflow-cli feature work — pre-flight state check at the start, live-verification against real Flow before claiming done.
record
Record a browser walkthrough of a URL using Antigravity (agy). Generates .webm video, screenshots, and a report. Auto-converts to MP4 if ffmpeg is available.
brainstorm
Command dispatcher for brainstorm.
start
Operate in Agentic Loop mode: create or refine the durable task record, route maintainer, engineer, and auditor roles, verify evidence, certify the finished work unit, and close out according to the project backend.
planflow
Draft a plan and get it approved as an editable flowchart in the browser before executing.
stop
Deactivate Agentic Loop for this conversation and safely checkpoint unfinished work.