distilr
Terminal agent that distills any SaaS into a complete build spec — research, design tokens, architecture, and a phased plan, ready for your AI coding agent.
what it does
Point it at any SaaS — a form builder, a scheduling tool, a project tracker, an email tool, anything with a focused feature surface. distilr explores the public marketing site and the authenticated app in a real Chromium browser, distills what it sees into a feature catalog, walks you through a wizard, and emits a phased build spec your coding agent can execute.
You stay in the loop. The agent never enters payment info, sends
emails, or clicks destructive buttons without your explicit terminal
approval. Press p at any point to interrupt and steer.
how distilr respects the source
distilr studies a SaaS to inform a new MVP — never to clone
it. Every agent in the pipeline operates under these rules, baked
into their system prompts. The source of truth is one file
(src/agents/guidelines.ts) so the prompts and these
docs cannot drift apart.
- Never copy source code (even partially). We capture behavior and shape; the implementing agent writes new code from scratch.
- Never reproduce exact UI designs, layouts, or assets. Describe patterns, not pixel-perfect copies. No extracting icons, illustrations, custom fonts, or brand assets.
- Never copy text content — docs, onboarding flows, microcopy, error messages, marketing copy. Describe what the text accomplishes; new copy is written for the new product.
- Never use the source's trademarks or branding in a confusing way. The output is inspired-by, not a clone or knockoff. Pick a name that's clearly distinct.
- Respect the source's Terms of Service. Stay on the user-facing surface. Respect rate limits. Don't reverse-engineer protected APIs. Don't bulk-scrape.
These are not opt-in — they're injected into every heavy agent's system prompt at build time.
built for the agent era
multi-provider
One CLI, four providers. Anthropic, OpenAI, Google, OpenRouter — pick whichever you have keys for.
tool-agnostic output
Emits the harness-engineering doc layout your coding agent already knows. AGENTS.md and CLAUDE.md in one shot.
scope-aware
Pre-flight LLM realism check, hard caps on must-haves and phases, token-budget warnings at 50k / 200k / 500k.
you sign in
Real headed Chromium browser. The agent never sees credentials. Destructive clicks always prompt the terminal first.
checkpointed
Ctrl-C is always safe. Resume any project from its last completed stage.
open source
MIT-licensed TypeScript. PRs welcome — see CONTRIBUTING.
the pipeline
works with any coding agent
Output is tool-agnostic — same content under both AGENTS.md
and CLAUDE.md, plus per-phase exec plans your agent can pick up.
- Claude Code
- OpenAI Codex
- OpenCode
- Aider
- Cursor
- GitHub Copilot
- Gemini CLI
quickstart
Requires Node 20+. The first run launches a setup wizard for your provider and API key.