ekg
Skill by ahyatt
Gives an AI assistant persistent memory through the ekg Emacs package. It reads, adds, edits and tags notes and org tasks using command-line scripts that call emacsclient. Built for agents that need to recall how to do things or track task state.
Install ekg
Built from the published package, never by AI.
git clone --depth 1 https://github.com/ahyatt/ekg /tmp/ekg && mkdir -p ~/.claude/skills && cp -r /tmp/ekg/agent_tools ~/.claude/skills/ekgRun in your terminal. Claude Code loads skills from ~/.claude/skills automatically.
git clone --depth 1 https://github.com/ahyatt/ekg /tmp/ekg && mkdir -p ~/.gemini/antigravity-cli/skills && cp -r /tmp/ekg/agent_tools ~/.gemini/antigravity-cli/skills/ekgAntigravity CLI loads skills from ~/.gemini/antigravity-cli/skills, or .agents/skills for one project.
Skills can run scripts on your machine. Some need an API key: check the README.
About
ekg is an Emacs Knowledge Graph skill that lets an AI agent store and look up notes, backed by a sqlite database in the ekg Emacs package. The agent runs command-line scripts such as ekg-add-note, ekg-read, ekg-tags and ekg-org-edit. Each script calls emacsclient, so the user must run M-x server-start and load the ekg package first.
The skill covers org tasks, which appear in the org agenda once the user adds the tasks file to the agenda, and prompt notes, which are instructions injected into related tasks. The source describes it as agent memory that users may also use for their own notes. It suits agents that need to check how to do something or track the state of tasks.
Written from the project's SKILL.md and checked against it.
What it can do
- ekg-add-noteCreates a new note with a title, tags, content and a mode such as org-mode.
- ekg-readReads notes by tag, ID, full-text search, semantic search or recency.
- ekg-update-tagsAdds or removes tags on an existing note.
- ekg-tagsSearches and lists tags by regex, prefix, substring or co-tagging.
- ekg-append-noteAppends formatted text to an existing note of any type.
- ekg-trashSoft-deletes a note, and permanently deletes it if run again.
- ekg-org-add-childCreates a child org task under an existing parent task.
- ekg-org-editChanges the title, body, status or properties of an org task.
- ekg-org-import-planImports a complete org plan from JSON as linked EKG notes.
What you need
- Emacs with the ekg package loaded
- A running Emacs server started with M-x server-start
- emacsclient from the same Emacs installation as the server
Try asking
- Search my ekg notes for how we deployed the last release.
- Create an org task to track this feature and mark it done when finished.
- Check my prompt notes for Slack rules before posting a message.
Good to know
- Requires a running Emacs server with ekg loaded.
- Note text must be formatted for the note's mode, such as org markup for org-mode.
- Trashing a note only soft-deletes it until the trash command is run again.
Security check
ANo download-and-run commands, hidden instructions or signs of sending keys out were found.
Checked automatically: agent_tools/skill.md. This looks for known risky patterns and is not a full audit. How grades work
Alternatives to ekg
All alternatives →Set up and diagnose a local agentmemory installation. It covers MCP connections, environment variables, ports, auth and feature flags, and is for users getting started or checking a connection.
Analyzes a Karpathy-pattern LLM wiki and builds an interactive knowledge graph with entities, implicit links and topic clusters. Built for people who maintain LLM-generated markdown wikis.
Saves and loads timestamped reports for AI assistants, with keyword routing for fast lookup. It also runs an Actionability Gate that checks report links before delivery. Intended for morning briefings, meeting digests and research reports.
Removes a personal fact, preference, relationship detail, topic or past event from Muse's active memory. It also stops existing copies and automations from bringing it back.
Git Context Controller (GCC) is a skill that stores agent memory as a versioned file system under .GCC/. It suits multi-step projects that need milestone tracking, branching and context recovery across sessions.
Guides an evidence-first reading of a book, article, PDF or document set. Built for readers who want claims, evidence and recall rather than a short summary.
Compare with agentmemory-config, understand-knowledge or reports
ekg: common questions
Does ekg need Emacs to be running?
Yes. The scripts call emacsclient, so the user must run M-x server-start on their Emacs and load the ekg package.
What is a prompt note in ekg?
A note tagged prompt plus other tags, such as slack. The source says the agent should retrieve these and use them before significant actions involving those tags.
How do users see org tasks created by the agent?
Tasks with the org/task tag appear in the org-mode agenda at /ekg:tasks.org once the user adds that file to the agenda.
How do I install ekg?
Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.
Is ekg free?
The code is published under the GPL-3.0 licence. The service it connects to may have its own pricing.
Is ekg safe to use?
It scores 74 of 100. Grades: maintenance A, licence C, quality B. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.
What are alternatives to ekg?
Similar skills: agentmemory-config, understand-knowledge, reports, forget.
