eve-chat-template-eve

eve-chat-template-eve is a skill for Codex from vercel/eve. It costs 75 tokens per session (1,199 once invoked), scanned A, original, Apache-2.0.

A set of project-specific rules for changing the Eve chat template, including its agent, web routes, login checks, stored chat events, streaming, and connections to external tools.

In plain words
What is it for?
Use it when modifying Eve agent behavior, chat screens, session storage, authorization, event logs, or Eve and MCP connections.
Why use it?
It helps prevent changes from breaking the separation between the app's chat data and Eve's long-running sessions or interrupting message streaming and resuming.

Skill for Codex ✓ vendor

Written for Codex: agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Good fit Use it when modifying Eve agent behavior, chat screens, session storage, authorization, event logs, or Eve and MCP connections.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/vercel/eve/eve-chat-template-eve
About the project

eve is a filesystem-first framework for building durable AI agents, with agent instructions, tools, and configuration kept in ordinary project files. It is for developers creating agents that can be inspected, extended, and operated through a conventional codebase. The catalogue add-ons support working with eve agents and their workflows.

vercel/eve · 5,573 stars · on GitHub · eve.dev

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add vercel/eve --skill eve-chat-template-eve
Clone the repo
git clone --depth 1 https://github.com/vercel/eve

Made for: Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for eve-chat-template-eve

README.md
[![agentmods](https://agentmods.dev/badge/skills/vercel/eve/eve-chat-template-eve/github.svg)](https://agentmods.dev/skills/vercel/eve/eve-chat-template-eve)
Your own site
<a href="https://agentmods.dev/skills/vercel/eve/eve-chat-template-eve"><img src="https://agentmods.dev/badge/skills/vercel/eve/eve-chat-template-eve/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for eve-chat-template-eve

Your own site · 80×15
<a href="https://agentmods.dev/skills/vercel/eve/eve-chat-template-eve"><img src="https://agentmods.dev/badge/skills/vercel/eve/eve-chat-template-eve.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 75 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,199 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00075 $0.01199
Opus 5.5 $0.00030 $0.00480
Sonnet 5.5 $0.00015 $0.00240
Haiku 4.5 $0.00007 $0.00120

Measured 17d ago against content hash edf77c8266d0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

eve-chat-template-eve scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 17d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

apps/templates/eve-chat-template/.agents/skills/eve-chat-template-eve/SKILL.md · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Eve Template Runtime

Overview

Use this skill to preserve the Eve protocol and durable-session invariants while changing the chat template.

First Pass

  • Read AGENTS.md first. It requires reading the relevant guide under node_modules/eve/dist/docs/public/ before writing code.
  • Read docs/how-the-chatbot-works.md for architecture changes and docs/setup-and-deploy.md for setup, auth, storage, or deployment changes.
  • Search with rg "useEveAgent|ClientSession|SessionState|message.appended|authorization.required|eveSession|chat_event|streamIndex|continuationToken|defineMcpClientConnection|defineTool".
  • Keep Eve runtime code separate from product shell code: agent/ defines agent behavior; app/_components/agent-chat.tsx bridges Eve to the web UI; lib/db/* persists app state.

Core Model

  • Treat an app chat row and an Eve session as different things. The app row owns URL, title, user ownership, pendingUserMessage, stored eveSession, and event rows. Eve owns the remote durable session and stream cursor.
  • Do not confuse chat_event.eventIndex with SessionState.streamIndex. The first orders local Postgres rows; the second resumes /eve/v1/session/:sessionId/stream.
  • Preserve same-origin Eve routes mounted by withEve(nextConfig): POST /eve/v1/session, POST /eve/v1/session/:sessionId, and GET /eve/v1/session/:sessionId/stream?startIndex=n.
  • Keep betterAuthEveAuth, localDev(), and vercelOidc() in the Eve channel unless deliberately changing local, browser, or Vercel auth behavior.

Persistence And Resume

  • Persist SessionState immediately after Eve returns sessionId and continuationToken; do not wait for the stream to finish.
  • Persist each stream event as it arrives, then use the final snapshot as the canonical cleanup pass.
  • Upsert events by local eventIndex; on final snapshot, delete rows beyond the final event length.
  • Keep pendingUserMessage for interruption recovery. Mark it before sending, consume it once in the session page, hide it after a settled event, and clear it after snapshot or authorization skip.
  • When preserving initial events, merge by prefix and compare JSON structurally. Do not rely on JSON.stringify key order.
  • Reset per-chat refs on route changes: event index, known initial events, stream events, resumed events, local events, pending bubbles, resume-started flags, and finalize timers.

Read the full file on GitHub · 62 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 17d ago Changed · +1 lines edf77c8266d0
  2. 1mo ago First seen · 61 lines · 75 tokens per session scan A 0e1ce48b074a

Subscribe to this mod's changes

eve-chat-template-eve is a skill published in the GitHub repository vercel/eve (5,573 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 1,199 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-15.