eve-chat-template-eve

eve-chat-template-eve is a skill for Claude Code, Codex from thedotmack/claude-mem. It costs 75 tokens per session (1,252 once invoked), scanned A, original, Apache-2.0.

A set of rules for changing the Eve chat template's agent connection, authentication, saved sessions, event logs, and message streams. Eve is the system that manages the chat agent and its long-lived conversations.

In plain words
What is it for?
Use it when changing Eve agents, chat routes, login checks, saved sessions, stream resumption, database event records, or tool connections.
Why use it?
It helps prevent changes from breaking session recovery, access checks, stored events, or the connection between the web app and the agent.

Skill for Claude CodeCodex

Written for Claude Code and Codex: shipped in a Claude Code plugin, but also agents/openai.yaml present. Also seen: installed under .agents/ (shared by several agents); mentions AGENTS.md.

Part of the claude-mem plugin — 6 skills, 1 command, 4 plugins shipped together

Good fit Use it when changing Eve agents, chat routes, login checks, saved sessions, stream resumption, database event records, or tool connections.

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

Claude-Mem, now presented as Grok Mem, records an agent's work, compresses it with AI, and brings relevant notes into later sessions so the agent can remember decisions and next steps. It is intended for persistent context across agent conversations and supports multiple coding-agent environments. The catalogue add-ons provide the workflows and integrations used to operate this memory system.

thedotmack/claude-mem · 120,667 stars · on GitHub · claude-mem.ai

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 thedotmack/claude-mem --skill eve-chat-template-eve
Clone the repo
git clone --depth 1 https://github.com/thedotmack/claude-mem

Made for: Claude Code, Codex.

Or install claude-mem, the plugin that ships this one along with the rest of its 6 skills, 1 command, 4 plugins.

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/thedotmack/claude-mem/eve-chat-template-eve/github.svg)](https://agentmods.dev/skills/thedotmack/claude-mem/eve-chat-template-eve)
Your own site
<a href="https://agentmods.dev/skills/thedotmack/claude-mem/eve-chat-template-eve"><img src="https://agentmods.dev/badge/skills/thedotmack/claude-mem/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/thedotmack/claude-mem/eve-chat-template-eve"><img src="https://agentmods.dev/badge/skills/thedotmack/claude-mem/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,252 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.01252
Opus 5.5 $0.00030 $0.00501
Sonnet 5.5 $0.00015 $0.00250
Haiku 4.5 $0.00007 $0.00125

Measured 18d ago against content hash a7b9393c43b7, 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 18d 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.

integrations/eve/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/docs/ 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|content.delta|interaction.opened|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. 18d ago First seen · 62 lines · 75 tokens per session scan A a7b9393c43b7

Subscribe to this mod's changes

eve-chat-template-eve is a skill published in the GitHub repository thedotmack/claude-mem (120,667 stars, last pushed today), licensed Apache-2.0. It adds 75 tokens to every session and 1,252 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-11-12.

Related

eve-chat-template-eve compared with skills from other repositories

eve-chat-template-eve next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
eve-chat-template-evethedotmack/claude-memSkill121ktodayApache-2.0A75Claude Code, Codex
hivemind-goalsactiveloopai/hivemindSkill1.7k19d agoApache-2.0A103Claude Code
hivemind-graphactiveloopai/hivemindSkill1.7k19d agoApache-2.0A105Claude Code
hivemind-memoryactiveloopai/hivemindSkill1.7k19d agoApache-2.0A33Claude Code
hivemind-memoryactiveloopai/hivemindSkill1.7k19d agoApache-2.0A33Claude Code
hivemindactiveloopai/hivemindSkill1.7k19d agoApache-2.0A32Claude Code
dejavucmg8431/claude-dejavuSkill26mo agoMITA51Claude Code