Builds, changes, and verifies Vercel eve agents for production readiness. Scaffolds projects, adds tools/connections, verifies behavior with real turns, and assesses safety for deployment.
Ships in kheskills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
You own an eve project from "build me an agent" to a change that has run: scaffolded by the CLI, written from the docs of the installed version, safe to run twice, closed to callers nobody chose, and proven by a turn. This is an engineering skill with four jobs: new scaffolds a project, add builds one capability (a tool, a connection, a channel, a schedule, dynamic instructions), verify proves a project or a change, and ship answers whether an agent is safe to put in front of people.
It does not own Vercel deploy mechanics such as domains, environments and rollbacks (deploy-to-vercel, Vercel), the chat interface in front of the agent (khe-ui, and ui-sdk by Vercel), or the wording of the agent's instructions. It never upgrades eve, deploys, commits or renames a deployed name unless the user asked for that in this session.
eve is Vercel's, and so is the eve skill that points an agent at the bundled docs. This skill holds the judgment and leaves the API where it is exact: in node_modules/eve/docs/. It was written against eve 1.7.0, December 2026; credit, what was run and what is unverified are in sources. This is Harshit Khemani's reading. Vercel did not write or endorse it.
An eve agent's code runs more than once and acts with nobody watching, so every read is memoized, every effect is gated and keyed in code, and done means a turn ran.
A session is a durable workflow that replays after a crash, a wait or a deploy. A defineDynamic function runs before every model call. A tool with no approval runs with nobody asked. The model following its instructions is not a control.
Five ways it fails:
defineDynamic, outside ctx.memo. It runs before every model call: 20 calls in a turn is 20 requests.approval, a connection with every tool allowed, a route with placeholderAuth(), none() or auth: null.eve build does not type-check, and neither it nor the typecheck sends a message.When this skill is invoked with no request, reply only with:
I'm ready. Tell me what to build or check:
new <name>to scaffold an eve agent,add <capability>to build a tool, connection, channel or schedule into this one,verifyto prove the project with a real turn, orshipto find out whether it is safe to deploy. Usage:/khe-eve [new <name> | add <capability> | verify | ship]
Then wait.
You are the engineer who is on call for this agent. Assume the step you wrote will run again after a crash, that the model will call your tool with input nobody planned for, and that the first stranger to find the URL will try it.
Two failure modes, the worse first:
The gold in examples/ is the bar. Put your tool beside examples/refund-desk/agent/tools/refund_charge.ts: if yours has no approval, a key built from ctx.callId alone, or an SDK imported at the top of the file, that is the first fix. Then ask of every effect: what happens when this exact call runs a second time, and who was asked before the first? If the answer is "the model would not do that", the gate is missing.
node_modules/eve/package.json against npm view eve version, then the one page node_modules/eve/docs/README.md maps to the task. Every import, option, route and number comes from that page: names from memory are the ones 1.0 removed. When the page and this skill disagree, the page wins and the mismatch goes in gotchas.approval; a connection carries tools.allow and a policy that ends in "user-approval"; a route authenticates its caller. The default for all three is open, and an instruction holds only while the model follows it.refund:<session>:<charge>:<amount>), never from the attempt. Recovery replays steps and the model repeats calls, and approval stops neither.defineDynamic goes in ctx.memo, and no definition is built inside one. The function runs before every model call, so a bare read multiplies latency and spend by the number of calls. A memo saves plain JSON, so a define*() value returned from one fails the turn.eve info and eve build come first because they are cheap, and none of them sends a message. With no model credential the result is "inconclusive for the model", reported in those words with the command that fixes it. It is never a pass, and you never ask for a key in chat.409 session_stranded, and a rename orphans work in flight. Say what you found and let the user decide.npx eve@latest init for a project, eve registry search before a channel or an integration. The scaffold pins what the installed version expects, and the shipped channel verifies signatures a hand-written webhook does not.Name the job first. One request is one job.
| The request | Job |
|---|---|
| "Build an eve agent", "npx eve init", no project yet | new |
| "Add a tool", a connection, a channel, a schedule, memory, "it should also do X" | add |
| "Does it work", "it calls the API twice", "why does my defineDynamic run so often", a failing turn | verify |
| "Is this safe to deploy", "ship it", a pre-production review | ship |
Every job starts the same way: read gotchas and pov.
npx eve@latest init my-agent --non-interactive, with the user's name for my-agent. The target is a new or empty folder; init refuses a folder that holds files and no package.json. Never write the scaffold by hand. By deciding, Start a project. Exit: the folder exists and init exited 0.AGENTS.md, then node_modules/eve/docs/README.md. Exit: you can name the installed version.placeholderAuth() in agent/channels/eve.ts by gates, The auth walk, or tell the user it is still there and that it blocks ship. It is the scaffold's working default until real auth is chosen, so --gate only warns. Exit: the gate prints no placeholder-auth warning, or the handover names it.add job. Exit: each one's own exits.verify. Exit: its exits.node_modules/eve/docs/guides/upgrade/; go on with the installed one. Exit: one line with installed and latest, or "inconclusive".examples/. Exit: you can name it.evals/.verify. Exit: its exits.Cheapest first, by verifying. Stop at the first failure, fix the largest fault, run again. Three rounds on the same failure, then stop and report it with its output.
node scripts/eve-check.mjs <project> --gate, with --ship added when the project is deployed or about to be. Exit: eve-check passed, and every warning fixed or answered by name. Under --gate alone placeholder-auth and dev-only-auth are warnings the handover answers; under --ship they fail it.npm run typecheck. Exit: 0.npm exec -- eve info --json. Exit: status: "ready", 0 errors, your capability listed.npm exec -- eve build. Exit: 0.npm exec -- eve dev --no-ui --port 2317 in the background (the plain eve dev needs a TTY), wait for [DEV] ready at <url>, send a request that exercises the change, read the stream, stop the server by PID. Exit: turn.settled with outcome: "completed" and the expected call, or a turn parked on the approval you added, or "inconclusive for the model" with MODEL_CALL_FAILED pasted.npm exec -- eve eval --strict. Exit: 0, or inconclusive for the same reason as step 5.verify with --ship: node scripts/eve-check.mjs <project> --gate --ship. Exit: its exits, ending eve-check passed under --ship. A project that fails it is a no.dynamic-await is the nearest it sees; durability, Reads.ctx.callId alone. It stops a replay and not a repeated call; durability, Effects.once() on a tool whose input matters. One yes to a refund of 5 passes a refund of 5,000; gates, Which approval.bare-tool-name; the name is <connection>__<tool>.auth: [localDev()] or placeholderAuth() shipped. dev-only-auth and placeholder-auth warn under --gate and fail under --ship; the deployed agent answers 401 to the people it was built for.[DEV] ready at; verifying.t.succeeded(). bare-succeeded; it proves a turn ended.| Need | Example | What to learn |
|---|---|---|
| A tool that moves money | examples/refund-desk/agent/tools/refund_charge.ts | always() approval, a key built from the operation, the SDK imported inside execute |
| Route auth for a product with its own sign-in | examples/refund-desk/agent/channels/eve.ts | Your authenticator first, vercelOidc() next, localDev() last, no placeholder |
| An eval for a gated tool | examples/refund-desk/evals/refund/waits-for-approval.eval.ts | Assert the pending call, deny it, assert it never ran |
| Instructions that differ by caller | examples/tenant-context/agent/instructions/plan.ts | The read inside ctx.memo with a tuple key, the definition built outside |
| A remote MCP server | examples/tracker-connection/agent/connections/tracker.ts | tools.allow, a policy on qualified names that ends in "user-approval" |
| The reply at the end of a job | examples/refund-desk/HANDOVER.md | Version, pages read, the gate line, what ran, Not verified: last |
teaching/ holds eighteen bad/good pairs, one per gate line (teaching), for diagnosing a fault; the bad halves are never starting points.
| The job or the symptom | Open |
|---|---|
| Scaffold or not, registry before code, which slot, static or dynamic, how a call runs, whose credential | deciding |
| What runs how many times, memo keys, idempotency keys, renames under live work | durability |
| What is open by default, which approval, a connection policy, the auth walk, secrets | gates |
| The loop with its commands, the headless dev server, one turn over HTTP, stream events, no credential, evals | verifying |
| The ten pre-production checks, deploying, off Vercel, Windows, the bundle | shipping |
| The version check, reading the bundled docs, never upgrading unasked, names 1.0 removed | staying-current |
| The last pass, every gate line, what the gate cannot see, symptoms | verify |
| The brief for a fresh-eye reviewer | review |
| Which teaching pair matches a fault | teaching |
| What is Vercel's, the version this was written against, what was run, what is unverified | sources |
| Faults this skill has made before, and where the docs moved on | gotchas |
| Your own calls | pov |
Script: scripts/eve-check.mjs reads a project's agent/ and evals/ files (--help lists its lines; --self-test proves it on the examples and the pairs).
| Never | Instead |
|---|---|
A package.json and agent/ folder written by hand | npx eve@latest init my-agent --non-interactive |
await fetch(...) straight inside defineDynamic | The same call inside ctx.memo(key, fn) |
ctx.memo(key, () => defineInstructions(...)) | Memoize the text, build the definition outside |
A refund, an email or a delete with no approval | always(), or a policy whose last line returns "user-approval" |
A key of ctx.callId alone | A key built from the operation: session, resource, amount |
toolName === "delete_issue" in a connection policy | toolName.endsWith("__delete_issue") |
placeholderAuth() or auth: [localDev()] in a deployed agent | Your own authenticator first in the list |
| A hand-written Slack or GitHub webhook | eve registry search, then eve add channel/<name> --non-interactive |
eve dev started in an agent session, then sleep 10 | eve dev --no-ui in the background, wait for [DEV] ready at |
| The dev server killed by process name | Stopped by the PID that listens on its port |
| "It builds" or "typecheck passes" as done | A turn whose stream holds turn.settled, outcome: "completed" |
| A turn that failed for want of a credential, called a pass | "Inconclusive for the model", and npm exec -- eve link |
| An API key asked for in chat or written into a file | The user runs eve link; the key stays in .env.local and the host |
An eval of t.succeeded() alone | A behaviour check and a content check |
npm install eve@latest because the project was behind | Both versions said, the upgrade guide named, the user decides |
| "All checked" as the last line | Not verified: and what nobody ran |
Files first, then a short reply.
new: the scaffolded project. add: the capability and its eval in the project's working tree.verify and ship: no files unless a fix was asked for. The reply.The reply, in this order, with nothing after the last line (gold: examples/refund-desk/HANDOVER.md):
Version: installed and latest, and the pages read.ship: the ten rows.Gate: the last line of eve-check.mjs --gate (--gate --ship for ship), pasted, and each warning left in place with its reason.Ran: each step of the loop with its exit or its stream event.Not verified: the last line. What nobody ran: a completed model turn when there was no credential, production auth, the deployed agent, the sandbox production will use.Plain and exact. Name the file, the command and the event. Say "inconclusive" when you could not look and "no" when a check failed. Never call an agent "safe" or "production-ready"; say which checks passed and which nobody ran.
Read both before any job. They outrank the defaults here, and neither can override Hard rules 2, 3, 5 and 6.
khe-auto: routes here when a request names eve or a repo holds an agent/ folder, and runs this skill's gate in its loop.eve (Vercel): the framework's own skill. It sends the agent to the bundled docs; use it for the API, and this one for what to decide and how to prove it.deploy-to-vercel (Vercel): domains, environments, previews and rollbacks once ship says yes.khe-ui, and ui-sdk (Vercel): the chat interface in front of the agent.khe-poteto-pyramid: when the same eve mistake comes back in a project, place it as a check there.Harshit Khemani. MIT.
LICENSE (opens in a new tab)README.md (opens in a new tab)assets/flow.svg (opens in a new tab)examples/refund-desk/HANDOVER.md (opens in a new tab)examples/refund-desk/agent/channels/eve.ts (opens in a new tab)examples/refund-desk/agent/instructions.md (opens in a new tab)examples/refund-desk/agent/tools/refund_charge.ts (opens in a new tab)examples/refund-desk/evals/evals.config.ts (opens in a new tab)examples/refund-desk/evals/refund/asks-for-the-charge.eval.ts (opens in a new tab)examples/refund-desk/evals/refund/waits-for-approval.eval.ts (opens in a new tab)examples/tenant-context/agent/instructions.md (opens in a new tab)examples/tenant-context/agent/instructions/plan.ts (opens in a new tab)examples/tenant-context/agent/lib/billing.ts (opens in a new tab)examples/tracker-connection/agent/connections/tracker.ts (opens in a new tab)references/deciding.md (opens in a new tab)references/durability.md (opens in a new tab)references/gates.md (opens in a new tab)references/gotchas.md (opens in a new tab)references/pov.md (opens in a new tab)references/review.md (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
/kheskills:khe-evefrom kheskills
npx claudepluginhub hktitan/skills --plugin kheskills14 skills in this plugin
/khe-autoThe mode that runs the rest. Reads a request, picks a playbook or the one or two skills that own it, says why in a line, then does the work in order. Covers every skill in this collection: the khe skills (UI craft, design tokens, SVG, diagrams, sound, launch films), the skills by Emil Kowalski and Benji Taylor linked beside them, Vercel's `ui-sdk`, `eve` and agent skills, and the engineering skills of Lauren Tan (poteto) and Matt Pocock. Use when a request names no skill, spans several, or someone says "auto", "which skill", "where do I start", "what order", "list the skills", "make this better", "I need a launch video", "build this screen", "build it with ui-sdk", "we ship Thursday", "the agent keeps doing this". When the request already names a skill, use that skill./khe-content-engineBuilds and runs a content engine: a folder of small linked markdown nodes in your own project (a voice sampled from posts you wrote, audience segments, one node per platform you use, hooks, repurposing rules, content types, cadence), then turns one idea into a different draft for each platform and names the node behind every choice. Also reviews drafts against the engine and tunes the node that caused a wrong line. It drafts; a person posts. Use when someone says "build me a content engine", "turn this into posts for X and LinkedIn", "repurpose this", "write in my voice", "make a thread out of this", "why doesn't this sound like me", or wants one idea written for several platforms. For a launch film use `khe-launch-film`, for a product demo `khe-demo`, for stickers `khe-sticker`, for faux product UI `stageshow` (Benji Taylor). When unsure which skill owns a job, `khe-auto`.Other plugins' skills for the same job