Install the Zanfia funnels skill
Give Claude Code, Cursor or Codex a ready-made skill that builds a Zanfia funnel from pages your agent writes as HTML: the page contract, the tool cheat sheet and page templates, installed with one command.
A skill is a folder of instructions and reference files that an AI agent loads when a task matches. The zanfia-funnels skill teaches your agent how a Zanfia funnel is built from your own HTML pages: which data-zanfia-* attributes each step needs, which MCP tools, CLI commands or API routes create, publish and join the pages, and when to stop and ask you. When you finish, your agent builds a complete funnel in your workspace from a one-line brief, with your copy and your design, and never publishes without your go.
What is in the skill
| File | Purpose |
|---|---|
SKILL.md | The workflow: discover ids, write pages, create, preview, publish, join, add the checkout and e-mails, go live. |
references/page-contract.md | Every attribute the signup form, buy link, on-page checkout, one-time offer and thank-you slots use. |
references/tools.md | MCP tool names, CLI commands and REST routes side by side, plus the funnel step object. |
templates/*.html | Minimal signup, welcome, sales, one-time-offer and thank-you pages with the markup already in place. |
Everything is plain Markdown and HTML at https://zanfia.com/skills/zanfia-funnels/, so you can read it before installing.
Connect your agent to the workspace
The skill drives the workspace through the MCP server, the CLI or the API. Set up one of them
first: Connect AI clients to your workspace (MCP, no key needed in
Claude Code) or Use the CLI with AI agents. The key or connection
needs the pages scope for pages and the products scope for funnels, products, checkouts and
forms.
Install the skill
Run this in the folder where your agent works (it creates .claude/skills/zanfia-funnels/):
curl -fsSL https://zanfia.com/skills/zanfia-funnels/install.sh | shPass another folder as the first argument to install elsewhere, for example
~/.claude/skills/zanfia-funnels to make it available in every project, or your client's own
skills folder. Cursor, Codex and other agents that do not load skills by themselves still work:
paste the content of SKILL.md into their rules or system prompt and keep the references and
templates folders next to your project.
Ask for a funnel
Describe the path and the copy in one message, for example: "Build a lead-magnet funnel for the product Jedz normalnie: signup page for the free meal plan, a welcome page, then a sales page for the course. Use the form Newsletter. Here is the copy: …". The agent lists the ids it found, writes the pages from the templates, creates them as drafts and asks you before publishing and before the funnel goes live.
Review in the dashboard
Drafts are visible to you at /[slug] on your site. The funnel appears in Your site → Pages &
Funnels; open any of its pages and switch to Funnel to see the canvas, add the Checkout
and E-mails steps and read the counters. Details: Use your own HTML pages in a
funnel.
Good to know
The skill never invents ids and never publishes, sends or deletes on its own; those rules are written into it. You can still narrow what the agent can do with the scopes of its key. Update the skill by running the install command again.
Was this article helpful?

