Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

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.

  • Score 74
  • 296 stars
  • GPL-3.0
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

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/ekg

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install ekg in Claude Code

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

A

No 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 →

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.

Add to stack

Loading.