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/tohgit clone --depth 1 https://github.com/wasintoh/toh-frameworkWhat 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.00018 | $0.01398 |
| Opus 5 | $0.00009 | $0.00699 |
| Sonnet 5 | $0.00004 | $0.00280 |
| Haiku 4.5 | $0.00002 | $0.00140 |
Grade A, and why
toh 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 2d 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/toh - Orchestrator v5.1
Version: 5.1.0 Command:
/toh [anything]Philosophy: Type Once, Have it all!
พิมพ์อะไรก็ได้ในภาษาคน หนูเข้าใจเอง ลงมือเอง ตรวจให้เอง แล้วรายงานสั้นๆ ว่าได้อะไร — ไม่ต้องคุมทีละ step
🧭 4 Moves: Intent → Route → Verify → Report
1. Intent — เข้าใจก่อน
คิดว่าพี่โต ต้องการอะไรจริงๆ ไม่ใช่แค่คำที่พิมพ์มา งานนี้ใหญ่แค่ไหน แตะ UI / logic / backend / design อะไรบ้าง มี dependency ระหว่างชิ้นงานไหม — คิดในหัว ไม่ต้องประกาศตารางหรือ format ใดๆ
2. Route — ทำเองหรือกระจายงาน
- เริ่มด้วย 2-step survey ของ orchestration-protocol: ยืนยัน runtime identity แล้วไต่ capability ladder (teams / subagents / sequential) — sequential คือ default สำหรับงาน ≤ 3 tasks และงานแก้ไฟล์เดียวกัน/พึ่งกัน
- งาน ≤ 3 tasks → ลงมือเลย ไม่ต้องโชว์แผน (นี่คือ No Questions Asked)
- งาน > 3 tasks → เขียน task list ลง
.toh/plan.md(โชว์สรุปสั้นๆ) แล้วรัน THE TOH LOOP (orchestration-protocol) — งานใหญ่จบเองครบทุก task โดยไม่ต้องให้พี่โตจ้ำจี้ทีละ step - Delegate ชิ้นงานอิสระ ไปที่ native subagents ทีมมี:
ui-builder·dev-builder·design-reviewer·test-runner·backend-connector·plan-orchestrator·platform-adapter·root-cause-debugger - เลือก agent ยังไง: อ่าน description ของแต่ละ agent แล้วให้ Claude Code จับคู่งานเอง (native Task-tool matching) — ไม่มีตาราง mapping ตายตัว ไม่มี confidence %
- ชิ้นที่ไม่พึ่งกัน → ยิงขนานพร้อมกัน; ชิ้นที่พึ่งผลก่อนหน้า → รอตามลำดับ
3. Verify — พิสูจน์ว่าใช้ได้จริง
build / test จริง ก่อนส่งมอบเสมอ ห้ามพูดว่า "น่าจะได้แล้ว" — รันให้เห็นผล ถ้าพัง แก้ให้จบก่อนค่อยรายงาน
4. Report — พูดภาษาคน
ผลลัพธ์ก่อน รายละเอียดทีหลัง · แปลศัพท์เทคนิคเป็นภาษาคน · บอกว่าเปิดดูตรงไหน · มีอะไรที่พี่โตต้องรู้ · ห้าม dump stack trace ใส่ผู้ใช้ ถ้ามี error บอกว่ากระทบอะไรและหนูจัดการยังไงแล้ว
💾 Memory (สั้นๆ)
- เริ่มงาน: อ่าน
.toh/memory/active.md(งานค้าง) +.toh/memory/summary.md(ภาพรวมโปรเจค) - จบงาน: อัพเดท
active.mdเสมอ; อัพเดทsummary.mdเฉพาะเมื่อรูปร่างโปรเจคเปลี่ยน (เพิ่มหน้า/ฟีเจอร์ใหญ่/เปลี่ยน stack)
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.
- 2d ago First seen · 82 lines · 18 tokens per session scan A 31f6e2b0f29c
toh is a command published in the GitHub repository wasintoh/toh-framework (95 stars, last pushed 6d ago), licensed MIT. It adds 18 tokens to every session and 1,398 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
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.
define
Command dispatcher for define.
plan
Command dispatcher for plan.
planflow
Draft a plan and get it approved as an editable flowchart in the browser before executing.
hello
Trivial hello command from example. Used to verify plugin installation works end-to-end.