Your users can now send their own AI agent to get what you offer: find an event, sign up, search your knowledge, even prepare a checkout. They never have to open your website.
Most vibe-coded Next.js apps can't do that yet. Your website is a teller who needs to see a face: the code behind every button checks the browser's login cookie first, and an agent calling from ChatGPT, Claude or a server has no cookie. So it gets turned away. Not because it isn't allowed, but because the teller can't see a face.
On 13 September I connected pirateskills.com to my own Claude.ai, sent one chat message, and it registered me for an event. Here is how we got there, explained for people who vibe-code, not for senior engineers.
First, build the vault once. Each valuable action (discover events, register, search the knowledge, start a checkout) becomes one server function that is told who is asking, with the same AI SDK tool card for every door.
Then open thin doors onto it. The Captain, our on-page chat built with the Vercel AI SDK and the AI Gateway. An MCP server with OAuth sign-in for Claude, ChatGPT and Codex. API keys you create and revoke yourself. And a CLI for anyone in a terminal, you or your coding agent.
Why not stop at MCP? I personally am annoyed that these types of connections rarely hold. An agent running in the cloud, on OpenClaw, Hermes or a scheduled job, has nobody there to click "allow". OAuth is the convenience. The key is the guarantee.
A public SKILL.md is the treasure map: which door, when to use each tool, and an explicit yes before anything that changes something. And for money, the crew prepares the Stripe checkout and you sign. No tool can charge a card.
You don't need five doors. One vault and one door is the whole first version, and the article has the six steps plus a prompt to hand your coding agent.
IN THIS EPISODE
00:00:00 – Open your vault to agents
00:01:52 – The teller problem: six clicks to join an event
00:02:49 – Demo: signing up for the AI Compass from Claude
00:04:26 – What's in your vault
00:06:02 – Five doors into one vault
00:08:58 – How to build it with Next.js and the Vercel AI SDK
00:11:59 – Your own chat, MCP, and why an API key holds
00:15:45 – The skill: a map for your users' agents
00:17:52 – Agentic commerce: the agent prepares, you pay
00:20:26 – Open your first door, with a live build
00:26:26 – Where to go from here
DEEP DIVE LINKS
📖 Full Article (with the four doors, the handshake-vs-key table and the prompt for your coding agent): https://pirateskills.com/insights/open-your-vault
🎧 Spotify: https://open.spotify.com/show/7kFl0BJiOYih8yqQTRR9SN
🍎 Apple Podcasts: https://podcasts.apple.com/us/podcast/build-grow-repeat/id1870561487
🗓️ All upcoming events: https://pirateskills.com/events
💬 Connect with me on LinkedIn: https://www.linkedin.com/in/bensufiani/