Claude Code config

Engrim

The Universal Cross-Model Episodic Memory Standard. Local-first, project-scoped SQLite engine for Google Antigravity, Claude Code, Cursor, Codex CLI, GitHub Copilot CLI, and OpenCode. Zero cloud lock-in.

304 stars 16 forksConfig & memory Plugin marketplace Source

Install

Add the plugin marketplace
/plugin marketplace add timgordontg/engrim

Run inside Claude Code, then /plugin to pick what to install from it.

Install
pip install engrim

Found in the project README. Check it for setup steps after installing.

From source
git clone https://github.com/timgordontg/engrim.git

From the README

engrim

The Universal Cross-Model & Cross-Agent Episodic Memory Standard.

A local-first, project-scoped SQLite memory engine that allows developers to freely switch between models and environments (Google Antigravity, Claude Code, Cursor, Codex CLI, GitHub Copilot CLI, OpenCode, and Windsurf) on the same codebase without losing architectural decisions, user constraints, or project state.

1. Overview & Core Value Proposition
"Why pay for 200,000 tokens of forgotten noise on every turn? The models are disposable utilities; your project's decisions are not."

Engrim is the universal, cross-model episodic memory standard engineered specifically for autonomous AI coding agents and heavy software development.

It solves the "200,000-token context window trap" (where coding models suffer from severe attention dilution, compounding per-turn token costs, and the loss of prior architectural decisions whenever a chat session is cleared) by replacing raw transcript replay with 4,000 characters of high-precision, curated episodic working memory stored in a single, local-first SQLite file (~/.engrim/memory.db).

The Problem vs. The Engrim Standard

| Context Window | Attention Dilution: 150k+ tokens re-sent on every turn; models lose reasoning sharpness and hallucinate past constraints. | Precision Working Memory: ~4,000 chars ( || engrim ... || true) ensuring sessions never experience silent hook failures when directories move or dotfiles sync across machines.
- Deep Integrity Audit: Validates SQLite WAL mode, database consistency (PRAGMA integrity_check), active records, and semantic model readiness (model2vec).

Explicit Platform Setup

🪐 Google Antigravity

- Configures ~/.gemini/config/hooks.json to execute engrim hook --agent agy --event boot on PreInvocation and engrim…
Read the full README on GitHub

Details

Language
Python
License
MIT
Last updated
26 September 2026
Topics
ai-agentsantigravityclaude-codecodexcontext-managementcopilotcopilot-clicursordeveloper-toolsepisodic-memorygithub-copilotllm

FAQ

What is Engrim?

The Universal Cross-Model Episodic Memory Standard. Local-first, project-scoped SQLite engine for Google Antigravity, Claude Code, Cursor, Codex CLI, GitHub Copilot CLI, and OpenCode. Zero cloud lock-in. It is a config for Claude Code, from timgordontg/engrim on GitHub.

How do I install Engrim?

Run pip install engrim, then follow the setup in the README.

Is Engrim popular?

timgordontg/engrim has 304 GitHub stars and 16 forks. It was last updated on 26 September 2026.

More config & memory

Browse the most popular Claude Code mods, all config & memory, or the skills and MCP server directories.