L1 v0.1.0 source

sage-memory

Keeps project and global memories in SQLite through a shared local daemon, hands the model the entries that match its file tool calls, prompts and subagent tasks, and saves new ones with a haiku consolidator after each main-loop turn.

Install

claude plugin marketplace add KilimcininKorOglu/claude-code-mods
claude plugin install sage-memory@kilimcininkoroglu-mods

Function hooks are early access. Start Claude Code with CLAUDE_CODE_ENABLE_FUNCTION_HOOKS=1, or keep it on in ~/.claude/settings.json:

{ "env": { "CLAUDE_CODE_ENABLE_FUNCTION_HOOKS": "1" } }

After installing

Restart Claude Code. List here every step a user must take by hand: a key, a login, a setting, another plugin to disable.

What it can reach

Validated on Claude Code VERSION:

❯ ./register.ts hooks: EVENTS
❯ ./register.ts calls: CALLS

Threat model

Threat model for sage-memory (reach LEVEL)
1. Reads:
2. Runs:
3. Sends:
4. Persists:
5. Hostile input: