Claude Templates / A-tier · High leverage
Outreach
The SMS Copilot Console Playbook
Cold-SMS auto-reply: an LLM brain that drafts, and code that decides.
SMS-COPILOT-CONSOLE-PLAYBOOK.md · 15 sections · 5,121 words · 43 KB · markdown
By Moe Ameen, founder of BILT · Published · Updated
The SMS Copilot Console Playbook builds an auto-reply system for cold SMS where Claude classifies and drafts each reply but code on the server makes every decision that sends anything. It polls GoHighLevel every two minutes, runs the brain as a GitHub Action on a Claude subscription, tests opener variants with a Thompson-sampling bandit, keeps a mistakes knowledge base and starts in dry-run mode.
Key takeaways
- The model drafts; a deterministic code gate decides what sends.
- The brain runs in GitHub Actions via claude-code-action.
- Opener variants are tested with a champion/challenger bandit.
- Autosend starts off. Nothing sends until you flip it.
An auto-reply system for cold SMS where the model classifies and drafts, but every decision with a real-world side effect gets re-derived in code on the server. Includes a champion/challenger bandit, a self-improving mistakes knowledge base, four workers, and an admin console to watch it run dry before you let it send.
What does the SMS Copilot Console Playbook build?
It builds the loop from incoming reply to classified, drafted and gated response, plus Activity and Analytics pages with a reward funnel, per-frame and per-niche tables, and daily volume snapshots.
Callback routes are secret-gated so the brain never holds database credentials.
When does an SMS auto-reply copilot make sense?
It makes sense for cold-outreach apps already texting a list through GoHighLevel, after the admin console is built.
The playbook doesn't cover texting compliance. Settle consent and carrier registration separately before anything sends.
What do you need first?
You need the Admin Console, a GoHighLevel sub-account with a Private Integration Token, a Trigger.dev project for four workers, and a GitHub repo with Actions billing enabled.
The brain runs on your Claude subscription through a CLAUDE_CODE_OAUTH_TOKEN, per the file.
What's inside
What does the playbook give you?
- //The full loop: poll → queue → classify + draft → deterministic decision gate → send
- //A secret-gated callback API the brain can reach without any DB credentials
- //A champion/challenger Thompson bandit for message variants
- //A self-improving mistakes knowledge base
- //Four background workers + an Activity and Analytics console
- //Dry-run-first rollout, so nothing sends until you flip it on
When to use it
Cold-outreach apps with an SMS list, after the admin console.
Build these first
Straight from the file
What does the writing look like?
Built from the BKE / Kompozy implementation (LIVE dry-run verified 2026-07-15). Reference repo: reference app. Plan docs: Active/KOMPOZY-COLD-SMS/TIER3_AUTOREPLY_PLAN.md, REPLY_KNOWLEDGE_BASE.md, SMS_COPILOT_ANALYTICS_GAMEPLAN.md.
Table of contents
Which sections does the file cover?
- 0. Use this spec
- 1. Architecture — the loop (read this first)
- 2. Design system — the console look (copy verbatim)
- 3. Auth — two guards, one system
- 4. Page — Activity (sms-copilot/page.tsx + SmsCopilotView.tsx)
- 5. Page — Analytics (sms-copilot/analytics/page.tsx + AnalyticsView.tsx)
- 6. Admin API routes (4) — reference
- 7. Public secret-gated routes (5) — reference
- 8. The engine layer (lib + workers)
- 9. Schema — migrations 00177–00184
- 10. Env vars + secrets
- 11. Invariants to preserve (do not regress)
- 12. Build sequence (slices — pause after each for review)
- 13. Kickoff prompt
- 14. Reference files in BKE
How do you run it?
Drop SMS-COPILOT-CONSOLE-PLAYBOOK.md into your repo, then tell Claude Code: “Read SMS-COPILOT-CONSOLE-PLAYBOOK.md and implement it in this codebase.” It's written for an agent to execute end to end. Search the file for angle-bracket placeholders and swap in your own project names, domains, and keys before the first run.
Who is this for, and who should skip it?
Best for
- Cold-SMS operations already running on GoHighLevel
- Founders who want AI drafts with code-level safety rails
- Teams that will run it in dry-run before going live
Not ideal for
- SMS programs not on GoHighLevel
- Anyone without a compliant consent and registration setup
- Apps without the Admin Console shell
- Builders who won't adapt paths: the file points to a reference app you won't have
What else do people ask?
What does the SMS Copilot Console Playbook ask for up front?
The SMS Copilot Console Playbook's kickoff prompt asks for a campaign key, label and GoHighLevel location id, your niche list with per-niche merge variables, the opener frames, and the offer and bridge landing path. It also asks whether max_auto_depth is 'reveal' (the safe default) or 'bridge', plus the classify, draft and adjudicate contract copy.
Does it work without GoHighLevel, Trigger.dev or GitHub Actions?
The SMS Copilot Console Playbook is built on all three: the poller and sends use the GoHighLevel Conversations API, four scheduled workers run on Trigger.dev, and the classify-and-draft brain runs as a GitHub Action. It also assumes Supabase migrations and Next.js admin pages, with no alternatives described.
Which parts do I rewrite for my own app?
The SMS Copilot Console Playbook flags niche-map.ts and the 00184 seed migration as app-specific, so you rewrite them for your own segments and copy. You also rename the GHL_KOMPOZY_ env vars and point the dispatch REPO at your own repository.
What is in the SMS Copilot Console Playbook download?
The SMS Copilot Console Playbook is a markdown file of about 5,100 words. It has an architecture diagram of the loop, TypeScript for the design tokens and callback secret check, tables for the 4 admin routes, 5 public routes, 4 workers, migrations 00177 to 00184 and the env vars, plus 10 invariants and an 8-slice build sequence. The schema is summarized in a migration table rather than given as full SQL.
How long should it run in dry-run before I turn on autosend?
The SMS Copilot Console Playbook says to watch the Activity feed for a day or two in dry-run, flag mistakes to seed the knowledge base, and switch on Autosend only once draft agreement is high. In dry-run the whole loop runs but changes nothing in GoHighLevel: no sends, no DND, no tags.
How do we know this?
This page is based on the playbook file itself, SMS-COPILOT-CONSOLE-PLAYBOOK.md, which Moe Ameen wrote from the Kompozy codebase (called BKE in the file). We read the file on November 4, 2026; the facts here come from it, not from independent testing in other codebases.
More outreach playbooks
Publishing Pipeline
Scheduled posts, a scheduler tick, provider guards, and per-platform normalization.
Read + download →A-tierCold Email Campaign
The operational side: folder structure, daily metrics, A/B/C subjects, leak diagnosis.
Read + download →B-tierGoHighLevel Integration
OAuth, tokens, publishing and webhooks: the GHL API gotchas up front.
Read + download →