Battle-tested prompts. Free, forkable.
Paste any of these into Claude Code, Cursor, or Aider and let it build. Each one started as a real problem on the way to shipping Trillion. 16 prompts and counting.
Give Your AI Agents an Orchestration Layer — From a Pile of Sub-Agents to a Safe, Self-Conducting System in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through building the conductor that sits above your sub-agents: smart routing that picks the right agent and decomposes multi-step work, least-privilege tool scoping and bounded execution so no agent runs away, failure isolation at every boundary so one agent's error never crashes the system, human-in-the-loop confirmation gates, a structured handoff system where agents propose and the human approves (no silent agent-to-agent chaining), and a hot-reloading config-driven runtime that registers new agents without a restart. Interview first, then build tier by tier. Each tier ships independently with verification.
Want the agent behind these prompts?
These prompts came out of building Trillion. The whole thing is going open-source on GitHub. Drop your email and I'll ping you the moment the repo drops.
- ◦ Factory
Give Your AI Agent a Sub-Agent Spawner — From Hand-Coded Specialists to a Self-Extending Agent Factory in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through building a sub-agent whose only job is to design, prompt-write, and register new specialist sub-agents on demand: a research helper that produces a structured skills report with citations, a meta-prompt that drafts the new agent's system prompt, a staged human-approval gate, a hot-reloading config-driven runtime that picks up freshly-approved agents without a restart, and a tool-wishlist mechanism that captures what the new agent wants but you don't have yet. Interview first, then build tier by tier. Each tier ships independently with verification.
May 26, 2026agentagent-factory - ◦ Cost
Give Your AI Agent a Cost Dashboard — From Blind Spend to Live Token Tracking in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through capturing the token-usage data your LLM responses already return — and that you're almost certainly throwing away — pricing it from a local rate table, persisting one row per call, and surfacing a live month-to-date cost indicator with a click-to-expand breakdown: per model, cache savings, and day by day. Interview first, then build tier by tier. Each tier ships independently with verification.
May 22, 2026agentobservability - ◦ Self-Knowledge
Give Your AI Agent Real Self-Knowledge — From Black Box to Self-Aware in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through building a living self-knowledge document that auto-refreshes on every commit. Block parser with auto-generated sections, introspecting generators for tools / sub-agents / integrations, a drift checker that catches stale references, a pre-commit hook that keeps it fresh, and the wiring to surface it to the agent at runtime. Interview first, then build piece by piece. Each piece ships independently with verification.
May 18, 2026agentself-awareness - ◦ Design
Build a Head-of-Design Sub-Agent — From Vanilla HTML to a Composing Designer in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through building a head-of-design sub-agent that composes mockups from real component primitives (Next.js + Tailwind + shadcn/ui + MagicUI + Framer Motion + Google Fonts + AI-generated images) instead of authoring vanilla HTML. Interview first, then build tier by tier. Each tier ships independently with verification. Includes the stumbling blocks to avoid.
May 13, 2026agentdesign - ◦ Security
Harden Your AI Agent Against Real Attacks — From Binary Trust to Audited in One Session
Paste this into Claude Code, Cursor, or Aider and it'll walk your agent codebase through a complete hardening pass — log redaction, prompt-injection gates, tiered approval for code execution, a hardline shell blocklist, bearer-auth rate-limiting, secret rotation, security headers + CSP, a self-audit shield UI, anomaly caps per tool, a kill switch, and a per-credential incident runbook. Interview first, then build tier by tier. Each tier ships independently with verification.
May 11, 2026securityagent - ◦ Voice
Cut Your AI Voice Agent's Response Latency from 6 Seconds to 1
Paste this into Claude Code, Cursor, or Aider and it'll pipeline your LLM stream with your TTS provider so the first audible word lands roughly one second after the user stops talking — not four to eight. Per-sentence speak events, a hold-one-ahead pattern for clean turn endings, a client-side audio queue, and the silence-threshold tuning that actually matters. Interview first, code second.
May 5, 2026voicelatency - ◦ Personality
Lock in Your AI Agent's Personality So It Doesn't Drift Across Turns
Paste this into Claude Code, Cursor, or Aider and it'll add a personality-persistence layer to your AI agent: a recency voice cue on every user turn, a per-turn tonal checkpoint in the system prompt, and a personality file rebuilt around concrete voice examples. Stops the slide into generic-assistant mode that quietly starts after turn five. Interview first, code second.
May 4, 2026personalityprompt-engineering - ◦ Voice
Add a Voice-First Mobile PWA to your AI Agent
Paste this into Claude Code, Cursor, or Aider and it'll add a voice-first mobile PWA companion to your existing AI agent: orb UI, hands-free voice loop, and the iOS audio quirks already baked in. Interview first, code second.
Apr 30, 2026voicepwa - ◦ Code
Add a Bitcoin Mining Tracker to your AI Agent
Paste this into Claude Code or Cursor and it'll build a Bitcoin mining tracker tailored to your pool, hosting, and dashboard. Interview first, code second.
Apr 30, 2026trillionskill - ◦ Code
Massively Save Tokens with Handoffs
Stop losing context to /compact. This prompt has Claude Code write a proper engineering handoff before you clear, so the next session resumes with full memory of what was decided and why.
Apr 29, 2026claude codetokens - ◦ Code
Install Chief of Staff Skill
A skill that gives your AI agent the role a real Chief of Staff plays for a CEO. Plug in your strategic doctrine, get a daily prioritization brief that cites your own operating rules verbatim, not generic productivity advice.
Apr 28, 2026trillionskill - ◦ Code
Connect Trillion to Supabase
An AI playbook for wiring a new Supabase project into Trillion — without the IPv6 potholes.
Apr 24, 2026trillionsupabase - ◦ Code
Cloud Local Hybrid
How to get the best of both world when running your AI Agent locally and in the cloud.
Apr 24, 2026trillioncloud - ◦ Code
Build Your Own Voice-First UI
Three copy-paste prompts that recreate Trillion's luminous orb, glass shell, and mic button in any AI coding tool.
Apr 23, 2026designui - ◦ Code
The Code Sentinel
How I get Trillion to watch my repos, CI, and deploys, and only ping me when something actually matters.
Apr 12, 2026engineeringgithub