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 agentmods add skills/roccodaffuso/sift/sift-memorynpx skills add roccodaffuso/sift --skill sift-memorygit clone --depth 1 https://github.com/roccodaffuso/siftWrote 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/roccodaffuso/sift/sift-memory)<a href="https://agentmods.dev/skills/roccodaffuso/sift/sift-memory"><img src="https://agentmods.dev/badge/skills/roccodaffuso/sift/sift-memory.svg" alt="Measured on agentmods" 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 | $0.00075 | $0.00829 |
| Opus 5 | $0.00037 | $0.00415 |
| Sonnet 5 | $0.00015 | $0.00166 |
| Haiku 4.5 | $0.00007 | $0.00083 |
Grade A, and why
sift-memory scanned grade A with 0 findings 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 4d 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.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 109 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Sift Memory
Use sift as a local memory search layer for prior AI coding-assistant sessions. It reads only local Claude Code, Codex, Cursor, and OpenCode logs/databases and writes only its own index under ~/.sift/.
Command Resolution
Prefer the installed CLI:
sift --help
When working inside the sift repository and the global command is unavailable, use:
node ./bin/sift.js --help
Do not use npx or any network-based install path. If neither command works, tell the user to install sift locally.
Actions
sift_index
Refresh the local index before memory-heavy work, after new logs were created, or when search says no index exists:
sift index --json
Use the repo-local fallback when needed:
node ./bin/sift.js index --json
Use a full rebuild only when the user asks, parser/index behavior changed, or results look stale after an incremental run:
sift index --full --json
sift_search
Search prior local sessions with targeted queries:
sift "<query>" --limit 10 --json
Filter by source when useful:
sift "<query>" --tool codex --limit 10 --json
sift "<query>" --tool claude --limit 10 --json
sift "<query>" --tool cursor --limit 10 --json
sift "<query>" --tool opencode --limit 10 --json
Good queries are concrete: project names, command names, file names, bug symptoms, package names, decisions, or user phrasing. Prefer a few focused searches over one broad search.
sift_show
Follow a search result ref when the surrounding conversation is needed:
sift show "<ref>" --json
Use --context N only when the default two messages before and after are insufficient.
sift_list
List recent indexed sessions when you need orientation before choosing search terms:
sift list --limit 10 --json
Filter by source when useful:
sift list --tool codex --limit 10 --json
Workflow
- Use this skill when local session memory could materially improve the answer.
- Run
sift indexunless the task is tiny or the index is known to be fresh. - Run
sift_searchwith 1-3 focused queries and structured JSON output. - Follow only the most relevant result refs with
sift_showwhen more context is needed. - Use the results as private local context. Summarize only the relevant facts needed for the task.
- Do not paste large raw logs. Do not expose secrets, credentials, tokens, private personal data, or unrelated session contents.
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 4d ago First seen · 109 lines · 75 tokens per session scan A 798562327742
sift-memory is a skill published in the GitHub repository roccodaffuso/sift (2 stars, last pushed 1mo ago), licensed MIT. It adds 75 tokens to every session and 829 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
karpathy-llm-wiki
Use when building or maintaining a personal LLM-powered knowledge base. Triggers: ingesting sources into a wiki, querying wiki knowledge, linting wiki quality, 'add to wiki', 'what do I know about', or any mention of 'LLM wiki' or 'Karpathy wiki'.
daily-journal
A passive daily work journal that Claude keeps FOR you so you never have to write it yourself. Append short entries after meaningful work (what was done, what you focused on, artifacts touched) to 01-daily/journal/YYYY-MM-DD.md. Run a guided reflection at night or in the morning. Use when you run /daily-journal, say…
init
Install or update OwnMem in the current repository. Use when the user asks to set up OwnMem, add local project memory for coding agents, or refresh an existing OwnMem installation after a version bump.
kiro-steering-custom
Create custom steering documents for specialized project contexts.
honey-memory
Per-project persistent memory files indexed in MEMORY.md.
doc-drift
Use this skill when the user wants to audit the memory and documents Claude Code loads into context — CLAUDE.md (user global + project + nested), MEMORY.md, @imports, .claude/skills, .claude/agents, .claude/commands, installed plugins — and detect three kinds of issues: outdated claims, mutually contradictory…