ijfw-auto-memorize

Solid

Session-end auto-extraction of lessons, errors, fixes, and user feedback into structured memory. Fires at session end. Requires consent on first run.

AI & Automation 184 stars 32 forks Updated yesterday MIT

Install

View on GitHub

Quality Score: 88/100

Stars 20%
75
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

Fires at session end. Reads deterministic signals captured during the session and synthesizes structured memories. Nothing leaves the machine unless the user explicitly configured an API model via `IJFW_AUTOMEM_MODEL`. ## Consent gate (first run only) Before any synthesis, check `.ijfw/.automem-consent`: - If missing: ask the user once: *"IJFW can automatically extract lessons (errors hit, fixes applied, preferences you stated) at session end into local memory. OK? (y/n). Reply `y`, `n`, or `ask` (ask again next time)."* Write answer as `{"consented": true|false, "at": "<iso>"}` to `.ijfw/.automem-consent`. - If `"consented": false`: do nothing this session. - If `"consented": true`: proceed. ## Inputs (all local files) - `.ijfw/.session-signals.jsonl` -- ERROR/FAIL/Traceback lines captured by the PreToolUse hook (W3.6). - `.ijfw/.session-feedback.jsonl` -- corrections/confirmations/preferences detected by the UserPromptSubmit hook (W3.7). - `.ijfw/.prompt-check-state` -- last turn's intent + vague signals. - `.ijfw/memory/project-journal.md` -- existing entries (dedupe against these). - Transcript read via Claude Code's Stop-hook payload (`transcript_path`). ## Synthesis For each signal cluster: 1. **Redact secrets first.** Call `redactSecrets()` from `mcp-server/src/redactor.js` on every field that came from transcript or tool output. 2. **Cap sizes.** Run `applyCaps` from `mcp-server/src/caps.js`. content ≤4KB, why/how ≤1KB, summary ≤120. 3. **Dedupe.** Use BM25 sea...

Details

Author
FerroxLabs
Repository
FerroxLabs/ijfw
Created
1 months ago
Last Updated
yesterday
Language
JavaScript
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category

AI & Automation Listed

mem-forever

Every AI tool forgets you. This one doesn't. Ever. Auto-generates your profile from conversation, saves decisions and lessons, applies your preferences across every session. Works with Claude Code, Cursor, Codex, Copilot, Gemini CLI. Use this skill at session start to load memory, and throughout the session to save new observations.

1 Updated today
Whistlegenusvincetoxicum446
AI & Automation Listed

consolidate-memory

Extract persistent learnings from the current session and save them to the auto-memory system. Triggers when the user says "consolidate", "consolidate learnings", "save learnings", "what did we learn", "save what we learned", "extract memories from this session", or invokes /consolidate-memory. Also trigger proactively after a long debugging session, a corrected approach, or when the user explicitly validates something non-obvious. Do NOT wait for the user to ask if the session clearly produced memorable learnings.

0 Updated today
Myra-Agents
AI & Automation Listed

bettermemory

Verification-grade memory between sessions. Use bettermemory's MCP tools (memory_search, memory_show, memory_write, memory_verify, memory_record_use, etc.) instead of writing to files when the user asks you to "remember" something or references shared context from a past session. Default is to NOT call memory_search; only retrieve when the user references context you don't have ("my project", "the script we wrote") or a request is ambiguous in a way stored preferences could resolve. Every hit carries a staleness_verdict (calendar + path-drift + commit-drift); when it isn't "fresh", spot-check a claim before relying and call memory_verify to attest. Every use should record a claim_excerpt so retrievals stay auditable.

0 Updated yesterday
0Mattias