toh

A plain-language command that works out what you want, carries out the work, checks the result and gives you a short report. It can handle small tasks directly and organise larger tasks across specialised agents.

In plain words
What is it for?
Use it for coding, design, backend and testing requests when you want one request to guide the work from understanding through verification.
Why use it?
It removes the need to break a request into technical steps or supervise each step manually. Verification and a brief report make it easier to see what was completed.

Command

Install

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.

agentmods
npx agentmods add commands/wasintoh/toh-framework/toh
Clone the repo
git clone --depth 1 https://github.com/wasintoh/toh-framework
Per session 18 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,398 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00018 $0.01398
Opus 5 $0.00009 $0.00699
Sonnet 5 $0.00004 $0.00280
Haiku 4.5 $0.00002 $0.00140

Measured 2d ago against content hash 31f6e2b0f29c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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.

src/commands/toh.md · 82 lines

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)

Read the full file on GitHub · 82 lines

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. 2d ago First seen · 82 lines · 18 tokens per session scan A 31f6e2b0f29c

Subscribe to this mod's changes

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.