Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add kopp0510/claude-dd --skill remembergit clone --depth 1 https://github.com/kopp0510/claude-ddWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/kopp0510/claude-dd/remember)<a href="https://agentmods.dev/skills/kopp0510/claude-dd/remember"><img src="https://agentmods.dev/badge/skills/kopp0510/claude-dd/remember/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/kopp0510/claude-dd/remember"><img src="https://agentmods.dev/badge/skills/kopp0510/claude-dd/remember.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00029 | $0.01586 |
| Opus 5.5 | $0.00012 | $0.00634 |
| Sonnet 5.5 | $0.00006 | $0.00317 |
| Haiku 4.5 | $0.00003 | $0.00159 |
Grade B, and why
remember scanned grade B with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 15d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Reads agent configuration directoriesmediumAgent snooping
.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.
[ -d "$MEMORY_DIR" ] || { echo "Memory directory not found: $MEMORY_DIR"; find ~/.claude/projects -maxdepth 1 -name "*$(basename "${ROOT:-$PWD}" | sed 's/[^a-zA-Z0-9]/-/g')"; } Copies of this mod
1 near-identical copy found in the catalogue:
- remember — 92% identical, 76 lines differ
How it starts
The opening of the file, as written. The whole thing — 132 lines — stays where its author put it; the contents beside it link to each section on GitHub.
/self-improving-agent:remember — Save Knowledge Explicitly
Writes an explicit entry to auto-memory when something is important enough that you don't want to rely on Claude noticing it automatically.
Usage
/self-improving-agent:remember <what to remember>
/self-improving-agent:remember "This project's CI requires Node 20 LTS — v22 breaks the build"
/self-improving-agent:remember "The /api/auth endpoint uses a custom JWT library, not passport"
/self-improving-agent:remember "Reza prefers explicit error handling over try-catch-all patterns"
When to Use
| Situation | Example |
|---|---|
| Hard-won debugging insight | "CORS errors on /api/upload are caused by the CDN, not the backend" |
| Project convention not in CLAUDE.md | "We use barrel exports in src/components/" |
| Tool-specific gotcha | "Jest needs --forceExit flag or it hangs on DB tests" |
| Architecture decision | "We chose Drizzle over Prisma for type-safe SQL" |
| Preference you want Claude to learn | "Don't add comments explaining obvious code" |
Workflow
Step 1: Parse the knowledge
Extract from the user's input:
- What: The concrete fact or pattern
- Why it matters: Context (if provided)
- Scope: Project-specific or global?
Step 2: Check for duplicates
# Claude Code replaces EVERY non-alphanumeric character in the resolved absolute path
# with a single "-" (dots, spaces and CJK included).
# The directory is keyed by the git repo root, not the cwd: subdirectories and worktrees
# share the main checkout's directory (tested 2026-11-19). Outside a git repo it is the cwd.
ROOT=$(g=$(git rev-parse --git-common-dir 2>/dev/null) && cd "$g" >/dev/null 2>&1 && pwd -P)
case $ROOT in */.git) ROOT=${ROOT%/.git} ;; ?*) ROOT=$(git rev-parse --show-toplevel 2>/dev/null) ;; esac # no /.git at the end: a submodule, keyed by its own root
MEMORY_DIR="$HOME/.claude/projects/$(printf '%s' "${ROOT:-$(pwd -P)}" | sed 's/[^a-zA-Z0-9]/-/g')/memory"
# Verify before writing — a wrong path loses the entry silently while still looking saved.
# Under LC_ALL=C sed goes per byte, so when the directory is missing, say so and list candidates
# (find, not a glob: zsh aborts on an unmatched glob). A candidate is a project directory: its memory
# is <candidate>/memory. If one is clearly this project and that directory exists, set MEMORY_DIR to it.
# No candidate, or several and none clearly this project: report that with the candidates and stop;
# write nothing and do not create the directory.
[ -d "$MEMORY_DIR" ] || { echo "Memory directory not found: $MEMORY_DIR"; find ~/.claude/projects -maxdepth 1 -name "*$(basename "${ROOT:-$PWD}" | sed 's/[^a-zA-Z0-9]/-/g')"; }
# MEMORY.md may only be an index; search the topic files too.
# Search once per keyword, not one phrase: a phrase misses entries worded differently.
# Pick 2-4 distinctive words from the fact (tool, file or command names, error text);
# skip common words that would match everything. -F keeps dots and brackets literal.
for k in "<keyword1>" "<keyword2>"; do grep -rniF -- "$k" "$MEMORY_DIR" 2>/dev/null; done
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 15d ago Changed · +27 lines scan A → B 9e0557558479
- 2mo ago Changed · +5 lines e02d25f209ef
- 3mo ago First seen · 100 lines · 29 tokens per session scan A d986e3b25621
remember is a skill published in the GitHub repository kopp0510/claude-dd (12 stars, last pushed 4d ago), licensed MIT. It adds 29 tokens to every session and 1,586 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (reads agent configuration directories). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
remember compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rememberkopp0510/claude-dd | Skill | 12 | 4d ago | MIT | B | 29 | Claude Code |
| setup-gbraingarrytan/gstack | Skill | 143k | today | MIT | A | 47 | Claude Code |
| context-restoregarrytan/gstack | Skill | 143k | today | MIT | A | 32 | Claude Code |
| learngarrytan/gstack | Skill | 143k | today | MIT | A | 18 | Claude Code |
| rememberlangchain-ai/deepagents | Skill | 32k | today | MIT | A | 71 | Claude Code, Codex |
| md-auditchaitanyagiri/munder-difflin | Skill | 10k | 6d ago | MIT | A | 85 | Claude Code |
| memory-to-skillzilliztech/memsearch | Skill | 3.0k | 2d ago | MIT | A | 82 | Claude Code, Codex |