Runtype
Runtype is a platform for shipping AI products: agents, flows, tools, surfaces, records,
schedules, evals, and product templates. Use this skill as the entry point when the user
is asking about Runtype broadly or needs help connecting an agent to the platform.
This skill is intentionally a router. For implementation work, switch to the narrower
skill that matches the job.
First Move
If the Runtype MCP server is available, use it as the live source of truth before giving
schema, catalog, or creation guidance:
get_build_instructions(task="explain-capabilities") for scoping.
get_build_instructions(task="build-product") before product construction.
get_build_instructions(task="generate-flow") before flow construction.
get_platform_documentation(topic=...) for schemas, surface traits, tool catalogs,
SDK docs, Persona embed docs, dashboard links, and type definitions.
If MCP is not connected, check runtype auth status for stored login/signup state.
If RUNTYPE_API_KEY is configured, verify it with runtype auth whoami --no-tty instead;
status ignores environment credentials. Reuse valid authentication before resuming
a stored pending signup using its next command. For a new account,
use runtype auth register --email <email> then runtype auth verify <code> — both work
without a TTY or browser. Do not run browser-only runtype auth login from a coding harness.
Run runtype install-mcp for the current harness, follow its action/restart status,
and keep working through the CLI while MCP is unavailable (runtype mcp tools and
runtype mcp call <tool> bridge the hosted tools). Use MCP once its tools actually appear;
configuration alone does not prove the connection is active.
For installation or auth recovery, read the public setup script at
https://runtype.ai/.well-known/agent.md; the raw auth protocol is at
https://runtype.com/auth.md. Existing-account credentials must be configured privately,
not pasted into the conversation. Only install or sign up when the user requests setup.
Route To Focused Skills
Use this routing table instead of loading every Runtype detail into context:
| User intent |
Use |
| Build, deploy, or validate a product with agents, flows, tools, surfaces, records, secrets, schedules, or evals |
runtype-build-product |
| Inspect or modify a live account, debug failures, read logs/traces, compare evals, manage resources |
runtype-admin |
| Embed or theme a Persona chat widget, build fullscreen assistant layouts, use client tokens, or configure WebMCP/browser-side local tools |
runtype-persona |
| Package a product as a distributable FPO template, handle pending secrets, validate import readiness |
runtype-templates |
| Use the TypeScript/Python SDK, CLI, Marathon, playbooks, sandboxes, or code-first stored/upsert/virtual workflows |
runtype-sdk-marathon |
| Connect an agent that runs outside Runtype (Flue, Cloudflare Agents SDK, Vercel AI SDK, LangChain, custom): send its traces to Runtype, let Runtype call it, capture and improve it from real runs |
runtype-external-agents |
| Design or review the tools an agent calls (names, schemas, results, errors, idempotency, secrets, bundling), on Runtype or any MCP or function-calling runtime |
tool-design |
Mental Model
- Product: the container the user ships.
- Agent: an LLM with a system prompt and tools. Start here for most interactive products.
- Flow: a deterministic pipeline. Use for fixed sequences, indexing, batch work, and hot
paths that should be fast and cheap.
- Tool: a typed callable, from built-ins, Orthogonal APIs, MCP servers, external HTTP,
custom code, local SDK tools, flows, or subagents.
- Surface: where users or machines reach the product, including
chat, api, mcp,
mcp_code, webhook, email, slack, schedule, sms, imessage, discord,
whatsapp, telegram, messaging, a2a, and hosted-page.
- Record: Runtype state and memory. It is not a replacement for the user's business
database.
- Eval: surface-level or capability-level comparison. Prefer surface/product evals when
measuring user experience.
- FPO template: the portable distribution format for a product.
When a product has multiple capabilities on one conversational surface, Runtype can
provision an orchestrator that routes each incoming message to the right capability.
Treat surfaces and capabilities as many-to-many.
Durable References
These local references are fallback context only. Prefer live MCP docs when available.
references/primitives.md for the deeper platform model.
references/mcp-tools.md for MCP tool groups and selection.
references/surfaces.md for surface traits and prompt implications.
references/flow-steps.md for flow step categories and common mistakes.
references/persona-widget.md for Persona embed details.
references/fpo-templates.md for template packaging.
references/working-modes.md for dashboard, MCP, REST, SDK, and on-prem tradeoffs.
references/recipes.md for worked product shapes.
Do Not Do
- Do not invent payload shapes. Fetch live docs or validate first.
- Do not let this router grow into platform docs. If more detail is needed, fetch
get_platform_documentation(topic="platform-catalog") or a focused topic, then
read the relevant direct MCP resources when the docs point to them.
- Do not inline secret values. Use
{{secret:KEY}} and pending-secret intake.
- Do not store all customer data in records; keep the source of truth where it belongs.
- Do not use Runtype for generic one-off LLM chat unless the user wants to ship a
repeatable product or operational workflow.
1---2name: runtype3description: >-4 Runtype umbrella skill for onboarding and routing. Use when the user mentions Runtype,5 asks what Runtype can build, needs MCP/CLI/dashboard setup, or wants to scope an AI6 product on Runtype. Route hands-on product builds to runtype-build-product, live account7 ops to runtype-admin, Persona widgets to runtype-persona, FPO packaging to8 runtype-templates, SDK/CLI/Marathon work to runtype-sdk-marathon, and agents that run9 outside Runtype (Flue, Cloudflare Agents SDK, Vercel AI SDK, LangChain, custom loops;10 OpenTelemetry traces, flue-otel, eval capture from external runs) to11 runtype-external-agents. Do not use for generic LLM chat or non-AI infrastructure12 unless Runtype is explicitly part of the request.13user-invocable: true14argument-hint: '[Runtype goal or setup question]'15---1617# Runtype1819Runtype is a platform for shipping AI products: agents, flows, tools, surfaces, records,20schedules, evals, and product templates. Use this skill as the entry point when the user21is asking about Runtype broadly or needs help connecting an agent to the platform.2223This skill is intentionally a router. For implementation work, switch to the narrower24skill that matches the job.2526## First Move2728If the Runtype MCP server is available, use it as the live source of truth before giving29schema, catalog, or creation guidance:3031- `get_build_instructions(task="explain-capabilities")` for scoping.32- `get_build_instructions(task="build-product")` before product construction.33- `get_build_instructions(task="generate-flow")` before flow construction.34- `get_platform_documentation(topic=...)` for schemas, surface traits, tool catalogs,35 SDK docs, Persona embed docs, dashboard links, and type definitions.3637If MCP is not connected, check `runtype auth status` for stored login/signup state.38If `RUNTYPE_API_KEY` is configured, verify it with `runtype auth whoami --no-tty` instead;39`status` ignores environment credentials. Reuse valid authentication before resuming40a stored pending signup using its `next` command. For a new account,41use `runtype auth register --email <email>` then `runtype auth verify <code>` — both work42without a TTY or browser. Do not run browser-only `runtype auth login` from a coding harness.4344Run `runtype install-mcp` for the current harness, follow its action/restart status,45and keep working through the CLI while MCP is unavailable (`runtype mcp tools` and46`runtype mcp call <tool>` bridge the hosted tools). Use MCP once its tools actually appear;47configuration alone does not prove the connection is active.4849For installation or auth recovery, read the public setup script at50`https://runtype.ai/.well-known/agent.md`; the raw auth protocol is at51`https://runtype.com/auth.md`. Existing-account credentials must be configured privately,52not pasted into the conversation. Only install or sign up when the user requests setup.5354## Route To Focused Skills5556Use this routing table instead of loading every Runtype detail into context:5758| User intent | Use |59| -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------- |60| Build, deploy, or validate a product with agents, flows, tools, surfaces, records, secrets, schedules, or evals | `runtype-build-product` |61| Inspect or modify a live account, debug failures, read logs/traces, compare evals, manage resources | `runtype-admin` |62| Embed or theme a Persona chat widget, build fullscreen assistant layouts, use client tokens, or configure WebMCP/browser-side local tools | `runtype-persona` |63| Package a product as a distributable FPO template, handle pending secrets, validate import readiness | `runtype-templates` |64| Use the TypeScript/Python SDK, CLI, Marathon, playbooks, sandboxes, or code-first stored/upsert/virtual workflows | `runtype-sdk-marathon` |65| Connect an agent that runs outside Runtype (Flue, Cloudflare Agents SDK, Vercel AI SDK, LangChain, custom): send its traces to Runtype, let Runtype call it, capture and improve it from real runs | `runtype-external-agents` |66| Design or review the tools an agent calls (names, schemas, results, errors, idempotency, secrets, bundling), on Runtype or any MCP or function-calling runtime | `tool-design` |6768## Mental Model6970- Product: the container the user ships.71- Agent: an LLM with a system prompt and tools. Start here for most interactive products.72- Flow: a deterministic pipeline. Use for fixed sequences, indexing, batch work, and hot73 paths that should be fast and cheap.74- Tool: a typed callable, from built-ins, Orthogonal APIs, MCP servers, external HTTP,75 custom code, local SDK tools, flows, or subagents.76- Surface: where users or machines reach the product, including `chat`, `api`, `mcp`,77 `mcp_code`, `webhook`, `email`, `slack`, `schedule`, `sms`, `imessage`, `discord`,78 `whatsapp`, `telegram`, `messaging`, `a2a`, and `hosted-page`.79- Record: Runtype state and memory. It is not a replacement for the user's business80 database.81- Eval: surface-level or capability-level comparison. Prefer surface/product evals when82 measuring user experience.83- FPO template: the portable distribution format for a product.8485When a product has multiple capabilities on one conversational surface, Runtype can86provision an orchestrator that routes each incoming message to the right capability.87Treat surfaces and capabilities as many-to-many.8889## Durable References9091These local references are fallback context only. Prefer live MCP docs when available.9293- `references/primitives.md` for the deeper platform model.94- `references/mcp-tools.md` for MCP tool groups and selection.95- `references/surfaces.md` for surface traits and prompt implications.96- `references/flow-steps.md` for flow step categories and common mistakes.97- `references/persona-widget.md` for Persona embed details.98- `references/fpo-templates.md` for template packaging.99- `references/working-modes.md` for dashboard, MCP, REST, SDK, and on-prem tradeoffs.100- `references/recipes.md` for worked product shapes.101102## Do Not Do103104- Do not invent payload shapes. Fetch live docs or validate first.105- Do not let this router grow into platform docs. If more detail is needed, fetch106 `get_platform_documentation(topic="platform-catalog")` or a focused topic, then107 read the relevant direct MCP resources when the docs point to them.108- Do not inline secret values. Use `{{secret:KEY}}` and pending-secret intake.109- Do not store all customer data in records; keep the source of truth where it belongs.110- Do not use Runtype for generic one-off LLM chat unless the user wants to ship a111 repeatable product or operational workflow.