toh-ship

toh-ship is a command for coding agents from wasintoh/toh-framework. It costs 15 tokens per session (983 once invoked), scanned A, original, MIT.

A deployment command for publishing an app to a live production environment, including services such as Vercel and Netlify. It runs build and configuration checks before deployment and verifies the live site afterward.

In plain words
What is it for?
Use it to build, lint, check environment variables, prepare deployment settings, publish to Vercel or Netlify, and test the deployed site.
Why use it?
It gathers the checks and release steps needed to move an app from development to a public URL without overlooking common configuration problems.

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-ship
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-ship

README.md
[![agentmods](https://agentmods.dev/badge/commands/wasintoh/toh-framework/toh-ship.svg)](https://agentmods.dev/commands/wasintoh/toh-framework/toh-ship)
Your own site
<a href="https://agentmods.dev/commands/wasintoh/toh-framework/toh-ship"><img src="https://agentmods.dev/badge/commands/wasintoh/toh-framework/toh-ship.svg" alt="Measured on agentmods" height="20"></a>
Per session 15 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 983 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.00015 $0.00983
Opus 5 $0.00008 $0.00491
Sonnet 5 $0.00003 $0.00197
Haiku 4.5 $0.00002 $0.00098

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

Security

Grade A, and why

toh-ship 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 5d 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-ship.md · 131 lines

How it starts

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

/toh-ship - Deploy to Production

Signature Command 🚀

/toh-ship [platform]
/toh-s [platform]

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/release notes)
   └── Tier 3 · read ONLY when referenced
       ├── .toh/memory/decisions.md    (past decisions)
       └── .toh/memory/agents-log.md   (agent activity)

1. PRE-FLIGHT Checks
   ├── npm run build (must pass)
   ├── npm run lint (should pass)
   ├── Check environment variables
   └── Verify .gitignore

2. PREPARE
   ├── Update next.config.js if needed
   ├── Create/update vercel.json
   └── Check for hardcoded localhost URLs

3. DEPLOY
   ├── Vercel: npx vercel --prod
   ├── Netlify: netlify deploy --prod
   └── Others: provide instructions

4. POST-DEPLOY
   ├── Verify live site works
   ├── Check environment variables are set
   └── Test critical flows

5. 🚨 SAVE MEMORY
   ├── Update active.md (ALWAYS — deployed URL)
   ├── Update summary.md (production URL — project shape changed)
   ├── Update changelog.md (deployment)
   ├── Update decisions.md (deployment config)
   └── Update agents-log.md (if agents delegated)

Example Prompts

# Default (Vercel)
/toh-ship

# Specific platform
/toh-s vercel
/toh-ship netlify

# With checks
/toh-s deploy with full checks first

Output Format

## 🚀 Deployed successfully!

### Pre-flight:
- ✅ Build passed
- ✅ No TypeScript errors
- ✅ Environment variables ready

### Deployed to:
**https://your-app.vercel.app**

### Environment Variables to set in Vercel:

NEXT_PUBLIC_SUPABASE_URL=xxx NEXT_PUBLIC_SUPABASE_ANON_KEY=xxx NEXT_PUBLIC_LIFF_ID=xxx (if using LINE)


### Closing:

Close per **engineer-harness Section C** (announce block: Status / Result / Evidence + exactly 3 next actions). Default trio for the shipped stage:

1. `/toh-test` — regression safety net ← recommended
2. `/toh-plan <new feature>` — next feature
3. business-type fit (F&B → payments, receipts · E-commerce → Stripe, order emails · Booking → calendar sync · SaaS → user roles, billing)

Read the full file on GitHub · 131 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. 5d ago First seen · 131 lines · 15 tokens per session scan A 2e18e9ab0b2b

Subscribe to this mod's changes

toh-ship is a command published in the GitHub repository wasintoh/toh-framework (95 stars, last pushed 2d ago), licensed MIT. It adds 15 tokens to every session and 983 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.