ekg

Store and retrieve notes across Emacs sessions using a sqlite-backed knowledge graph.

291|23|Updated Oct 9, 2022
One-click install
npx skills add https://github.com/ahyatt/ekg --skill ekg
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: ekg
Source: https://github.com/ahyatt/ekg/tree/main/agent_tools
Command: npx skills add https://github.com/ahyatt/ekg --skill ekg

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires emacs, emacsclient.

What problem does it solve?

ekg is an Emacs package for taking and retrieving notes, backed by a sqlite database. It should be used as a form of agent memory, and it may also be used by users for their notes as well.

Core Features & Use Cases

  • Create, organize, and retrieve notes across Emacs sessions using a sqlite-backed knowledge graph.
  • Manage memory for agents with tagging conventions (agent, date, org-task) and support for org-mode tasks.
  • Read, update, and extend notes via a set of command-line scripts (ekg-add-note, ekg-read, ekg-update-tags, ekg-org-edit, etc.) using emacsclient.

Quick Start

Create a memory entry with ekg-add-note, then retrieve relevant notes with ekg-read.

Frequently Asked Questions about ekg

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I store and retrieve agent memory notes across Emacs sessions?▼

You can store and retrieve agent memory notes across Emacs sessions using a sqlite-backed knowledge graph. The ekg package organizes notes with automatic tagging and safety checks, then retrieves them via command-line scripts like ekg-add-note and ekg-read.

What is a sqlite-backed knowledge graph for note-taking in Emacs?▼

A sqlite-backed knowledge graph for Emacs notes is a persistent database structure that stores, organizes, and retrieves notes across sessions. It supports tagging conventions for agent workflows, prompts, and org-mode task management.

Do I need emacsclient to manage agent memory with ekg?▼

Yes, you need emacsclient to manage agent memory with ekg. The Skill requires Emacs with the ekg package loaded and uses emacsclient to perform Elisp-based operations for creating, reading, updating, and organizing notes.

Can I use org-mode tasks with an Emacs knowledge graph for agent workflows?▼

Yes, you can use org-mode tasks with an Emacs knowledge graph for agent workflows. The system supports org-mode tasks and uses specific tagging conventions like agent, date, and org-task to manage memory entries.

What's the best way to organize agent memory notes with tagging conventions?▼

The best way to organize agent memory notes is using automatic tagging conventions like agent, date, and org-task. The ekg system applies these tags during note creation and supports updating tags via command-line scripts like ekg-update-tags.

Why does my Emacs note retrieval stop working across sessions?▼

Emacs note retrieval may stop working across sessions if the ekg package is not loaded or emacsclient cannot connect. The system requires a running Emacs instance with ekg loaded to execute Elisp-based operations against the sqlite database.