Claude Templates / B-tier · Situational
Growth & SEO
The Demo Sandbox Playbook
Let people try the product before signup: without handing over your API quota.
DEMO-SANDBOX-PLAYBOOK.md · 12 sections · 1,964 words · 14 KB · markdown
By Moe Ameen, founder of BILT · Published · Updated
The Demo Sandbox Playbook lets visitors try a product before signing up without draining your API budget. It gives three patterns to choose from, anonymous rate limiting that includes a mandatory global bucket, a demo-image manifest, sample-content seeding, conversion gates, per-run cost ceilings and tracking from sandbox use to signup. The file's thesis is that try first, then sign up beats sign up to try.
Key takeaways
- Pick at least one of three sandbox patterns.
- A global rate-limit bucket is mandatory, not just per-IP.
- Every demo must match the real signed-in product.
- Track sandbox use through to signup.
For products where onboarding friction kills conversion. A no-signup sandbox that runs on your keys, with a global rate-limit bucket that's the non-negotiable part: without it, a botnet rotating IPs drains your provider quota overnight.
What does the Demo Sandbox Playbook build?
It builds a no-signup trial surface on your own keys, with rate limits, cost ceilings and a handoff from sandbox to signup.
The file warns that a demo drifting from the real product becomes marketing that misrepresents it.
When is a demo sandbox worth it?
It is worth it when onboarding needs real setup (persona briefs, API keys, voice cloning) before the first useful output.
The file says to skip it when the product's value only shows after an account exists, such as team collaboration or long-running automations.
What do you need first?
You need App Infrastructure and Customer Analytics so you can measure whether the sandbox converts.
Set a cost ceiling for each run before you open it to the public.
What's inside
What does the playbook give you?
- //Two sandbox patterns: seeded read-only vs live-but-capped
- //Anonymous session handling and the sandbox → signup handoff
- //Per-IP and global rate-limit buckets (the global one is mandatory)
- //Cost ceilings per sandbox run
- //Conversion tracking from sandbox use to signup
When to use it
Pre-launch, if onboarding friction is a known conversion gate.
Build these first
Straight from the file
What does the writing look like?
Default to Option 1. Mixing demo into the production user-state table risks RLS misconfiguration leaking real user content.
Table of contents
Which sections does the file cover?
- 0. When to use this spec
- 1. Three patterns (pick at least one)
- 2. Architecture
- 3. Schema considerations
- 4. Anonymous rate limiting
- 5. Demo-image manifest
- 6. Sample-content seeding
- 7. Conversion gates
- 8. Branding & UI consistency
- 9. API key cost management
- 10. Common pitfalls
- 11. Kickoff prompt
How do you run it?
Drop DEMO-SANDBOX-PLAYBOOK.md into your repo, then tell Claude Code: “Read DEMO-SANDBOX-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
- Apps with heavy setup before the first result
- AI products where one sample output sells the product
- Founders seeing visitors leave at the signup wall
Not ideal for
- Products whose value needs an account or a team
- Apps without rate limiting infrastructure
- Teams that can't maintain a second surface
- Builders who won't adapt paths: the file points to a reference app you won't have
What else do people ask?
Which sandbox pattern should I pick?
The Demo Sandbox Playbook offers three: free single-purpose tools at /tools/<slug>, an anonymous chat bot that answers from a static corpus, and a sample-input flow on the homepage. Pick tools when your product has single-purpose value that maps to search queries, chat when visitors have pre-sale questions, and sample input when the value shows in one live generation.
What rate limits does it suggest?
The Demo Sandbox Playbook suggests 5-10 generation requests and 30 chat requests per IP per hour, plus a global cap of 1,500-3,000 requests an hour depending on cost per call. It recommends Upstash in production and in-memory limits only in dev.
Should demo outputs go in my main content table?
The Demo Sandbox Playbook recommends a separate demo_runs table with RLS on and no policies, so only the service role can touch it, with rows deleted by an hourly cron after 24 hours. Reusing your content table with an is_demo flag works at low volume, but the file warns it risks RLS mistakes that leak real user content.
Can visitors upload files, or should I ask for an email first?
The Demo Sandbox Playbook keeps demo inputs to text or pre-picked images from a manifest, since uploads bring abuse, storage cost and moderation work. It also says not to put the demo behind an email form, because visitors should see output before committing to anything.
What is in the Demo Sandbox Playbook download?
The Demo Sandbox Playbook is a markdown file of about 2,000 words. It includes a file tree, SQL for a demo_runs table and for the is_demo option, a sample demo-image manifest in JSON, nine pitfalls and a kickoff prompt.
How do we know this?
This page is based on the playbook file itself, DEMO-SANDBOX-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 growth & seo playbooks
Topical Authority
The 5-layer model that turns a marketing site into 250-350 pages that actually rank.
Read + download →A-tierCustomer Analytics
First-party event tracking that outlives cookie blockers and costs nothing per event.
Read + download →A-tierSEO/GEO Engine
The autonomous layer: trend discovery, LLM classification, auto-authored pages, tracking.
Read + download →