Skip to content
Back to skills

Session Memory Compile

ASecurity

Wrapper around scripts/compile_memory.py — distill knowledge/daily logs into durable knowledge/notes pages and refresh index + log.

  • 3 stars
  • 0 votes
  • 0 copies
  • 0 views
  • Added November 6, 2026
ai-agentspythonbashgit

Works with

  • cli

Security analysis

A100/100

Scanned November 6, 2026

npx -y skills add Ekgardt/llm-wiki --skill session-memory-compile --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Session Memory Compile?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Session Memory Compile
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ekgardt-session-memory-compile/badge)](https://www.skillsdirectory.com/skills/ekgardt-session-memory-compile)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
type: skill
name: session-memory-compile
argument-hint: "[--file path/to/daily.md | --dry-run]"
description: Wrapper around scripts/compile_memory.py — distill knowledge/daily logs into durable knowledge/notes pages and refresh index + log.
disable-model-invocation: true
allowed-tools: Read Glob Grep LS Bash(uv run python scripts/compile_memory.py *) Bash(python scripts/compile_memory.py *) Bash(uv run python scripts/rebuild_memory_index.py)
title: "Session Memory Compile"
timestamp: 2026-07-03T05:41:37
---
Run the scripted compile pass. The script uses the unified llm_client (`scripts/llm_client.py`) under the hood and follows `docs/AGENTS.md`.

Procedure:
1. Run `uv run python scripts/compile_memory.py $ARGUMENTS`.
   - no args = compile every daily log that has no committed receipt yet
   - `--file knowledge/daily/YYYY-MM-DD.md` = compile one specific daily log
   - `--dry-run` = plan only, no writes, no state or log updates
2. The script already:
   - reads `docs/AGENTS.md`, `knowledge/index.md`, `knowledge/log.local.md`, existing knowledge pages
    - writes/updates pages under `knowledge/notes/`
    - runs `scripts/rebuild_memory_index.py`
    - appends a dated entry to `knowledge/log.local.md`
    - records compiled hashes in `$LLM_WIKI_STATE_ROOT/run/state.json` (gitignored, inside the vault)
3. Read the script's `COMPILE_DONE:` line to see which pages were touched.
4. If the result is unsatisfying (e.g. a daily log held material the script did not lift), make targeted Edit/Write changes manually, then re-run `uv run python scripts/rebuild_memory_index.py` and append a corrective entry to `knowledge/log.local.md`.

Return:
- which daily logs were processed
- which pages were created or updated
- any unresolved questions or ambiguous decisions

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.