Tooluck logoTooluck
SKILL.md

memory

Agent skill fromcodeaholicguy/ai-devkit

AI DevKit · Use the memory CLI as a durable knowledge layer. Search before non-trivial work, store verified reusable knowledge, update stale entries, and avoid saving transcripts, secrets, or one-off task progress.

How to install memory

install memory
# install the ai-devkit pack with the skills CLI
npx skills add codeaholicguy/ai-devkit

# or add only this skill to Claude Code: copy the folder

skills/memory/

# into

~/.claude/skills/memory/ (all projects)

.claude/skills/memory/ (one project)

skills/memory/SKILL.md

Apache-2.0Full file
1# AI DevKit Memory CLI
2
3Use `npx ai-devkit@latest memory ...` as the durable knowledge layer.
4
5## Workflow
6
71. For implementation, debugging, review, planning, or documentation tasks, search before deep work unless the task is trivial:
8 ```bash
9 npx ai-devkit@latest memory search --query "<task, subsystem, error, or convention>" --limit 5
10 ```
11 For broad or risky tasks, search multiple angles: subsystem, error text, framework, command, and task intent.
12
132. Use results as context:
14 - Trust repo files, tests, fresh command output, and explicit user instructions over memory.
15 - If memory conflicts with verified evidence, use the evidence and update the stale memory.
16 - Mention memory only when it changes the plan or avoids asking the user again.
17
183. Search before storing:
19 ```bash
20 npx ai-devkit@latest memory search --query "<knowledge to store>" --table
21 ```
22
234. Store or update only after the quality gate passes.
24
25## Quality Gate
26
27Before storing, all must be true:
28
29- Future sessions are likely to reuse it.
30- It is verified by code, docs, tests, command output, or explicit user instruction.
31- It is not merely a restatement of obvious nearby files unless it prevents repeated agent mistakes.
32- It is scoped narrowly enough.
33- Existing memory does not already cover it.
34- It contains no secrets, credentials, private customer data, personal data, raw logs, or temporary paths.
35
36Store:
37- Project conventions, user preferences, durable decisions.
38…

Excerpt shown under the repository's Apache-2.0 license.

More skills in ai-devkit

Keep exploring

Similar skill repositories

thedotmack /

claude-mem
116k

Persistent Context Across Sessions for Every Agent – Captures everything your agent does during sessions, compresses it with AI, and injects relevant context back into future sessions. Works with Claude Code, OpenClaw, Codex, Gemini, Hermes, Copilot, OpenCode + More

CCCXGHGM+135 skills

Newsletter

Join the Community

Subscribe to our newsletter for the latest news and updates