Persistent, tool-keyed experience memory for your AI tools, CLI workflows, and scripts. The auth callbacks, argument order, and path quirks your AI re-diagnoses every session — captured once, reused forever.
npx skills add yizhiyanhua-ai/fireworks-ai-tools-memory
Auth callbacks die halfway. CLI argument order is picky. A script fixed it once but nobody can find it. Without durable memory, the same pain gets re-diagnosed from scratch every session.
The memory unit is the actual runtime object that fails — ncm-cli, yt-dlp+mpv, lark-cli. Lessons transfer across skills instead of getting trapped inside one.
Each tool gets KNOWLEDGE.md (reusable lessons), CHECKPOINTS.md (raw field notes), and SCRIPTS.md + scripts/ (working assets).
inject → checkpoint → flush → register-script. Reload lessons before a task, capture friction mid-flight, distill after, promote a working script to a durable asset.
Lessons accumulate a [HIT:N] tag each time they re-occur. inject returns the most-validated entries first — pain self-ranks to the top.
register-script copies a working script into tool memory, marks it executable, and indexes it. Scripts are first-class assets, not side notes.
Designed for Codex and Claude Code. Resolves memory home via AI_TOOLS_MEMORY_HOME → CODEX_HOME → ~/.ai-tools-memory. Companion to fireworks-skill-memory.
inject --tool yt-dlp+mpv prints the tool's prior lessons + script index into context.
checkpoint --tool ncm-cli --note "Search works but playback fails on source availability" writes a timestamped raw note.
flush --tool spotify-cli --summary-file ./session-summary.md extracts lessons (parses ## lessons / ## 避坑 / ## best practices, bilingual) and merges into KNOWLEDGE.md.
register-script --tool yt-dlp+mpv --source ./scripts/play_mix.sh --name play-mix copies it into tool memory for later export-script retrieval.
yt-dlp+mpv) is the stable runtime object, so lessons transfer across skills instead of being trapped inside one. They're complements, not replacements.AI_TOOLS_MEMORY_HOME → CODEX_HOME/memories/... → ~/.ai-tools-memory, so the same store works across both runtimes. Install via npx skills add yizhiyanhua-ai/fireworks-ai-tools-memory or ./install-codex.sh.[HIT:N] counter instead of duplicating. Repeated pain self-ranks to the top of inject.flush recognizes both ## lessons / ## best practices / ## pitfalls and ## 经验 / ## 避坑 / ## 最佳实践 headers when extracting lessons.Open source, MIT, built in the open. Sponsorship funds new tool integrations, better lesson extraction, and keeps the memory loop sharp.