add-editor

add-editor is a skill for Claude Code, Codex from sliamh11/Deus. It costs 89 tokens per session (2,824 once invoked), scanned A, original, MIT.

An integration that connects an external code editor, such as Zed, to Deus's memory and learning services through MCP, a standard way for tools to communicate with an AI client. The editor's own coding agent continues to handle editing work.

In plain words
What is it for?
It helps wire an editor to vault search, active prompts, interaction logging, reflections, and feedback recording.
Why use it?
It lets an editor agent recall information and use recorded reflections without replacing the editor or moving its editing controls into Deus.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/sliamh11/deus/add-editor
Any agent
npx skills add sliamh11/Deus --skill add-editor
Clone the repo
git clone --depth 1 https://github.com/sliamh11/Deus

Made for: Claude Code, 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 add-editor

README.md
[![agentmods](https://agentmods.dev/badge/skills/sliamh11/deus/add-editor.svg)](https://agentmods.dev/skills/sliamh11/deus/add-editor)
Your own site
<a href="https://agentmods.dev/skills/sliamh11/deus/add-editor"><img src="https://agentmods.dev/badge/skills/sliamh11/deus/add-editor.svg" alt="Measured on agentmods" height="20"></a>
Per session 89 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00089 $0.02824
Opus 5 $0.00044 $0.01412
Sonnet 5 $0.00018 $0.00565
Haiku 4.5 $0.00009 $0.00282

Measured 4d ago against content hash 16e90508f47b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

add-editor 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 4d 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.

.claude/skills/add-editor/SKILL.md · 234 lines

How it starts

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

Add Editor Integration (ACP / MCP)

Use Deus's memory and evolution layers from inside an external editor (or any MCP-capable client) by composing them onto the editor's own coding agent — you do not run Deus's container in the editor. The editor's agent keeps handling editor mechanics (diffs, permissions, buffers); Deus's two MCP servers supply the "brain":

  • deus-memorymemory_recall (semantic recall over your vault).
  • deus-evolutionget_reflections / log_interaction / get_active_prompt / record_feedback (the reflexion loop).

This skill performs the wiring interactively. For the why (compose-not-port rationale, caveats, why reflexion learns from mistakes not stated style), read docs/EDITOR_INTEGRATION.md — do not duplicate that reasoning here; just point the user at it if they ask.

Principle: when a precondition is missing, fix it (create the venv, pull the model). Only pause for genuine user decisions (which editor, employer-machine containment, target project). Use AskUserQuestion for every user-facing choice.


0. Scope — two independent parts

Tell the user this skill has two parts they can run independently:

  1. Machine-level editor config (steps 1-5) — wires the two MCP servers into the editor. Run once per machine.
  2. Per-project instruction file (step 6) — the close-the-loop AGENTS.md. Run once per repo you want the loop active in.

If they only want one part, skip to it. Do not assume the directory you're invoked from is the project they want the loop in — step 6 asks explicitly.

1. Resolve the Deus repo root (absolute path)

The config below needs an absolute path to this Deus clone — some MCP clients do not expand ~, and on another machine (e.g. a work PC) the clone lives at a different path. Resolve it in order and record it as ROOT:

git rev-parse --show-toplevel 2>/dev/null
  • If that prints a path and it contains scripts/deus-memory-mcp → that's ROOT.
  • Else if $HOME/deus/scripts/deus-memory-mcp exists → ROOT="$HOME/deus".
  • Else → AskUserQuestion: "Where is your Deus repo cloned?" and use the answer.

Read the full file on GitHub · 234 lines

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. 4d ago First seen · 234 lines · 89 tokens per session scan A 16e90508f47b

Subscribe to this mod's changes

add-editor is a skill published in the GitHub repository sliamh11/Deus (51 stars, last pushed today), licensed MIT. It adds 89 tokens to every session and 2,824 once invoked, about $0.0004 per session on Opus 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-08-30.

Related

Other skills, from other repositories

memcord

Privacy-first, self-hosted chat memory for OpenClaw — save and recall conversation history across sessions without any cloud dependency.

ukkit/memcord · 28 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

mem9

Persistent cloud memory for OpenClaw agents. Use when users say: "install mem9" "setup memory" "add memory plugin" "openclaw memory" "mem9 onboarding" "memory not working" "import memories" "upload sessions".

unvulcanised-watercress762/mem9 · 63 tokens

cortex

Personal knowledge compiler and memory system. Ingests raw sources (documents, notes, transcripts, captures) into a structured, interlinked knowledge base. Maintains living entity pages, learning analysis, and the MEMORY.md routing table. Replaces the librarian skill.

TechNickAI/openclaw-config · 55 tokens

librarian

DEPRECATED — Use the cortex skill instead. Cortex v2 absorbs all librarian functionality (memory maintenance, knowledge organization, learning analysis) into a unified knowledge compiler. This skill is kept for backwards compatibility but all triggers now route to Cortex.

TechNickAI/openclaw-config · 54 tokens

neuron-curated-memory

Use Neuron (the semantic-memory MCP server) the RIGHT way so its graph stays clean and useful. Before answering, load prior context; after answering, save a CURATED turn — 3-5 concept keywords (nouns/entities/tech, never verbs or filler), typed links with a short rationale, and never a self-link. This raises graph…

recla93/Neuron · 133 tokens