This is the Svix agent skill, source at https://github.com/svix/ai. If you fetched it from svix.com/SKILL.md, install it permanently with
npx skills add svix/aiso the reference files are available locally.Links to
references/are relative to this file. If you can't read them locally, fetch them fromhttps://www.svix.com/references/<file>.
Mode
Default to building. Use the routing table below and write the code. A request to integrate Svix is a request for working code.
Plan only when the user explicitly asks for one. "Write me a plan", "how should I approach this?", "design this before we code", "what's the architecture?" — that, and nothing weaker, sends you to planning.md, which is plan-first: no code until the plan is confirmed.
Size is not a trigger. Multi-tenant routing, an event type catalog, App Portal embedding, a migration — build them. Don't answer a request for code with a document, and don't stop to ask whether they'd like a plan first; if they wanted one they'd have said so.
One thing to say out loud while you build, without pausing for permission: replacing an existing webhook sender changes the signature your customers verify against. Their handlers break on cutover unless they re-verify with Svix's scheme. Flag that in your summary, note it in the code where the cutover happens, and keep going — see the migration guidance in dispatch-questions.md for what a cutover has to cover.
Integration routing (Building)
First, check whether Svix is already wired into the repo. Look for a Svix SDK in the language's manifest (package.json, pyproject.toml, go.mod, Gemfile, …) and for SVIX_AUTH_TOKEN in config or env files. If it isn't there, start with quickstart.md — the setup steps come before anything below. If it is, skip the quickstart; that work is done.
| Building… | Recommended approach | Details |
|---|---|---|
| Adding Svix to a project for the first time | Quickstart setup path | quickstart.md |
| Sending webhooks to your customers | Dispatch (message.create) |
dispatch.md |
| Receiving third-party webhooks | Ingest Sources | ingest.md |
| Multi-tenant routing within one customer | Channels (not Event Types) | dispatch.md |
| Embedded webhooks management for endpoints, logs, replay | App Portal session URL | dispatch.md |
| Monitoring your customers' endpoint health | Operational webhooks | dispatch.md |
| Local development against the cloud | svix listen |
cli.md |
| Shell scripting, bulk ops, one-off provisioning | CLI + jq |
cli.md |
Read the relevant reference file before answering any integration question or writing code.
Reference map
Building (the default): the routing table above.
Planning (only on an explicit request): planning.md drives, pulling in triage.md (what to look for in the repo), then dispatch-questions.md or ingest-questions.md (what to ask), then plan-template.md (what to write).
Key documentation
When reading live docs, ensure to add .md to the end of each path to get the markdown version
When the user's request does not clearly fit a single domain above, consult:
- Quickstart — Start here when designing any integration.
- API reference — Overview of Svix's API surface.
- Verifying payloads — Authoritative reference for handler-side verification.