3.1 KiB
3.1 KiB
name, description, homepage, metadata
| name | description | homepage | metadata | |||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| org-agent-memex-zettlekasten | Automate the nightly distillation of Emacs Org-mode daily logs into atomic Atomic Notes (Atomic Notes (Zettelkasten)) notes. Use when: user wants to run the Scribe distillation pipeline, process daily captures, or extract Atomic Notes (Atomic Notes (Zettelkasten)) notes. NOT for: generic org-mode editing or GTD task management. |
|
Org-Agent Memex Atomic Notes (Atomic Notes (Zettelkasten)) (The Scribe)
Automated distillation skill designed to process raw daily captures into permanent atomic notes for your Atomic Notes (Atomic Notes (Zettelkasten)). It reads the raw chronological logs, identifies newly captured concepts, and extracts them into self-contained evergreen notes with proper Org-Roam id: backlinks.
When to Use
✅ USE this skill when:
- Running the nightly Atomic Notes (Atomic Notes (Zettelkasten)) distillation pipeline.
- User asks to "distill my daily notes", "run the scribe", or "process captures".
- Automating atomic note extraction via cron jobs.
❌ DON'T use this skill when:
- Editing standard GTD task lists.
- Capturing new notes (that's the user's job via Emacs
org-capture). - Modifying the daily logs (dailies are immutable).
Instructions
When triggered to distill the notes, execute the following strict pipeline:
- Read State: Read the distillation state file (defined by
$MEMEX_SYSTEM/distillation-state.json) to get thelastProcessedCommithash. - Find New Captures: Run a Git diff on the daily directory since that commit:
git diff <last_commit_hash> HEAD -- $MEMEX_DAILY - Process Each Capture:
For every new Atomic Notes (Atomic Notes (Zettelkasten)) capture found in the diff:
- Read the raw capture text.
- Determine the core concept being discussed.
- Generate a concise,
snake_casefilename (e.g.,core_concept_name.org). Do NOT use dates in this filename. - Write the content to the notes directory (
$MEMEX_NOTES/<filename>). - Ensure the new note is formatted as an atomic Org-mode note with an
#+IDand aSource:backlink using anid:reference pointing back to the original daily file.
- Update State: Update the distillation state JSON file with the current HEAD commit hash.
- Report: Output a summary of the concepts extracted and the files created.
Configuration
This skill expects the environment to be configured via a .env file containing at least:
MEMEX_DAILY- Directory containing daily logs (e.g.,memex/1_daily)MEMEX_NOTES- Directory for evergreen atomic notes (e.g.,memex/2_notes)MEMEX_SYSTEM- Directory for system files and state (e.g.,memex/9_system)CURRENT_TEXT_MANIPULATION_MODEL- The LLM to use for cron execution (e.g.,google-gemini-cli/gemini-3.1-flash)
Notes
- Immutability: The daily logs are raw, immutable records. Never modify them destructively during processing.
- Evergreen: Atomic notes should focus on concepts, not chronology.