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 Morningstar202604/awesome-skillkit --skill memory-extractorgit clone --depth 1 https://github.com/Morningstar202604/awesome-skillkitWrote 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/morningstar202604/awesome-skillkit/memory-extractor)<a href="https://agentmods.dev/skills/morningstar202604/awesome-skillkit/memory-extractor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-extractor/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/morningstar202604/awesome-skillkit/memory-extractor"><img src="https://agentmods.dev/badge/skills/morningstar202604/awesome-skillkit/memory-extractor.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.00096 | $0.02478 |
| Opus 5.5 | $0.00038 | $0.00991 |
| Sonnet 5.5 | $0.00019 | $0.00496 |
| Haiku 4.5 | $0.00010 | $0.00248 |
Grade A, and why
memory-extractor 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 2mo 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 — 152 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Memory Extractor
Nine out of ten things in a conversation are not worth remembering. This skill solves "what is worth remembering and how to record it cleanly": it extracts candidate memory entries from a conversation or document, splits each to fine granularity, deduplicates, and scores confidence, producing a machine-parseable candidates.json. It only extracts — it does not write to the store (that is memory-manager's job).
Input Checklist
Collect everything up front before starting. If an input is missing, ask the user once with this prompt: "To extract memory entries, please provide all at once: the conversation or document text to extract from, the user_id the memories belong to, and an export of the existing memory store (for deduplication; skip dedup and mark NO_DEDUP if absent)."
| Input | Required | Notes |
|---|---|---|
| Conversation/document text | Yes | Full text or conversation log; secondhand "roughly what we talked about" paraphrases are not accepted |
| user_id | Yes | The owning subject; multi-user conversations must be labeled separately |
| Existing store export | No | Same-topic existing entries for dedup comparison; when absent, mark NO_DEDUP in the output |
| Schema constraint | No | If upstream memory-architect has frozen a schema, execute per its type enum |
Pre-flight Self-check
This is a pure-prompt skill; no environment probing needed. It only checks input completeness:
- Are the source text and user_id both present? If either is missing → ask once with the prompt above; do not guess the ownership.
- Is the source text a paraphrase rather than the original record? Paraphrasing introduces the paraphraser's summarizing distortion → ask for the original; if you cannot get it, drop the whole output one confidence tier and mark
secondhand: true. - Existing store export is missing → proceed normally, but mark the final output NO_DEDUP and let memory-manager complete the dedup.
Red Lines
- Do not infer sensitive categories: health, finances, religion, political leanings, sexual orientation, and the like are never extracted unless the user explicitly asks to remember them in conversation — a passing mention like "I've been in chemo lately" is not an extractable memory.
- Inferred entries must be flagged: any entry not directly supported by the user's own words but inferred from behavior or context gets confidence ≤ 0.7 and an
[inferred]marker appended to the content. - evidence_quote must be a verbatim quotation from the source: any entry that cannot yield a verbatim quote is dropped; never fabricate evidence "from memory."
- Do not extract one-off transactions: "book me a meeting room for Wednesday" is a schedule item, not a memory; writing it into the store only creates noise.
- Do not rewrite the user's stance: the source saying "I don't want to use Vue for now" must not be extracted as "the user dislikes Vue."
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.
- 2mo ago Changed · -7 tokens per session 4dd62b31c067
- 2mo ago First seen · 152 lines · 103 tokens per session scan A a39410027918
memory-extractor is a skill published in the GitHub repository Morningstar202604/awesome-skillkit (0 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 96 tokens to every session and 2,478 once invoked, about $0.0004 per session on Opus 5.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-09-19.
memory-extractor compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| memory-extractorMorningstar202604/awesome-skillkit | Skill | 0 | 2mo ago | Apache-2.0 | A | 96 | Claude Code, Codex |
| mem0-vercel-ai-sdkmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 146 | Claude Code, Codex |
| mempalace-recallMemPalace/mempalace | Skill | 61k | 3d ago | MIT | A | 94 | Claude Code |
| pausemem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 30 | Claude Code |
| mineMemPalace/mempalace | Skill | 61k | 3d ago | MIT | A | 21 | Claude Code |
| agent-carnetyamadashy/repomix | Skill | 30k | yesterday | MIT | A | 67 | Claude Code, Codex |
| mem0-oss-to-platformmem0ai/mem0 | Skill | 70k | 3d ago | Apache-2.0 | A | 217 | Claude Code, Codex |