toh-design

toh-design is a command for coding agents from wasintoh/toh-framework. It costs 11 tokens per session (1,167 once invoked), scanned A, original, MIT.

A design-review command for making an existing interface look more polished and less machine-generated. It reads project design notes, memory files, and relevant design guidance before reviewing the work.

In plain words
What is it for?
Use it to refine a specified part of a website or application, while checking the project's design contract, components, architecture, and recent changes.
Why use it?
It helps find visual inconsistencies and apply the project's design rules instead of making isolated styling changes.

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-design
Clone the repo
git clone --depth 1 https://github.com/wasintoh/toh-framework

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 toh-design

README.md
[![agentmods](https://agentmods.dev/badge/commands/wasintoh/toh-framework/toh-design.svg)](https://agentmods.dev/commands/wasintoh/toh-framework/toh-design)
Your own site
<a href="https://agentmods.dev/commands/wasintoh/toh-framework/toh-design"><img src="https://agentmods.dev/badge/commands/wasintoh/toh-framework/toh-design.svg" alt="Measured on agentmods" height="20"></a>
Per session 11 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,167 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.00011 $0.01167
Opus 5 $0.00005 $0.00583
Sonnet 5 $0.00002 $0.00233
Haiku 4.5 $0.00001 $0.00117

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

Security

Grade A, and why

toh-design 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.

src/commands/toh-design.md · 137 lines

How it starts

The opening of the file, as written. The whole thing — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.

/toh-design - Polish Design

Signature Command ✨

/toh-design [specific area]
/toh-ds [specific area]

What Happens

0. 🚨 READ MEMORY (Tiered Loading — don't blind-read all 7)
   ├── Tier 1 · ALWAYS at start (~800 tokens)
   │   ├── .toh/memory/active.md   (current task)
   │   └── .toh/memory/summary.md  (project overview)
   ├── Tier 2 · read per task type
   │   ├── .toh/memory/architecture.md (structure — build/code work)
   │   ├── .toh/memory/components.md   (existing components — build/code work)
   │   └── .toh/memory/changelog.md    (recent changes — debug work)
   └── Tier 3 · read ONLY when referenced
       ├── .toh/memory/decisions.md    (past decisions)
       └── .toh/memory/agents-log.md   (agent activity)

1. READ Skills
   ├── ~/.claude/skills/design-craft/SKILL.md
   └── ~/.claude/skills/design-craft/AVOID-LIST.md

1.5 🎨 READ ROOT DESIGN.md FIRST
   ├── Exists → re-read it; it is the contract the audit compares against
   └── Missing → generate it first via design-reviewer Mode A /
       design-craft DESIGN-TEMPLATE.md
       (compact retrofit for existing projects: infer identity from
       current globals.css + pages, then SHOW the inferred identity
       in the report so the user can correct it)

2. AUDIT Current Design — against THREE layers (no hardcoded list)
   ├── DESIGN.md conformance (tokens, typography, nav, signature element)
   ├── AVOID-LIST.md — zero AI-tell patterns (the versioned list lives there)
   └── Usability floor (design-craft SKILL.md — focus/empty/loading/error,
       logo top-left, no desktop hamburger, WCAG AA, <=200ms)

3. IMPROVE
   ├── Fix by consulting DESIGN.md tokens (never invent new colors/fonts)
   ├── Adjust typography scale per DESIGN.md
   ├── Normalize spacing
   ├── Add subtle animations
   └── Remove every AVOID-LIST tell found

4. REPORT Changes

5. 🚨 SAVE MEMORY
   ├── Update active.md (ALWAYS — current state)
   ├── Update summary.md (if project shape changed)
   ├── Update components.md (if UI changed)
   ├── Update changelog.md (design changes)
   ├── Update decisions.md (design decisions)
   └── Update agents-log.md (if agents delegated)

Read the full file on GitHub · 137 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. 4d ago First seen · 137 lines · 11 tokens per session scan A 05e37dfeae2f

Subscribe to this mod's changes

toh-design is a command published in the GitHub repository wasintoh/toh-framework (95 stars, last pushed yesterday), licensed MIT. It adds 11 tokens to every session and 1,167 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.