exomem-defrag

exomem-defrag is a skill for Claude Code from Artexis10/exomem. It costs 30 tokens per session (3,836 once invoked), scanned B, original, AGPL-3.0.

A tool for cleaning up a personal knowledge base called Exomem. It reviews duplicate, outdated, or conflicting memories while keeping their history.

In plain words
What is it for?
Use it to review memories, combine duplicates, and mark older information as replaced.
Why use it?
It reduces confusion caused by several notes saying the same thing or disagreeing with each other.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the exomem plugin — 10 skills, 5 hooks shipped together

Good fit Use it to review memories, combine duplicates, and mark older information as replaced.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/artexis10/exomem/exomem-defrag
Install

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.

Any agent
npx skills add Artexis10/exomem --skill exomem-defrag
Clone the repo
git clone --depth 1 https://github.com/Artexis10/exomem

Made for: Claude Code.

Or install exomem, the plugin that ships this one along with the rest of its 10 skills, 5 hooks.

Wrote 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.

agentmods badge for exomem-defrag

README.md
[![agentmods](https://agentmods.dev/badge/skills/artexis10/exomem/exomem-defrag/github.svg)](https://agentmods.dev/skills/artexis10/exomem/exomem-defrag)
Your own site
<a href="https://agentmods.dev/skills/artexis10/exomem/exomem-defrag"><img src="https://agentmods.dev/badge/skills/artexis10/exomem/exomem-defrag/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.

agentmods 80×15 button for exomem-defrag

Your own site · 80×15
<a href="https://agentmods.dev/skills/artexis10/exomem/exomem-defrag"><img src="https://agentmods.dev/badge/skills/artexis10/exomem/exomem-defrag.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 30 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,836 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin unknown No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00030 $0.03836
Opus 5.5 $0.00012 $0.01534
Sonnet 5.5 $0.00006 $0.00767
Haiku 4.5 $0.00003 $0.00384

Measured 6d ago against content hash d1351432d450, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade B, and why

exomem-defrag 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 6d 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.

Subtle steeringmediumPrompt injection

Instructions that bias recommendations or shape behaviour without the user noticing.

write nothing elsewhere. Never tell the user a write landed in a store other than the
plugins/claude-code/skills/exomem-defrag/SKILL.md · 152 lines

The source is not reproduced here

Licensed AGPL-3.0

The repository is licensed AGPL-3.0, which this catalogue does not treat as permission to reproduce the file. Read it at the source.

Read it on GitHub

Changes

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.

  1. 6d ago Changed d1351432d450
  2. 7d ago Changed 03886d7c0266
  3. 8d ago Changed · +1 lines 77341b5fe00e
  4. 9d ago Changed 24a862718120
  5. 10d ago Changed 983aab5aaa47
  6. 12d ago Changed · +1 lines 608babd0e466
  7. 13d ago Changed 3fdf45f32815
  8. 14d ago Changed 4bbbc053aee4
  9. 17d ago Changed ee55302a7b87
  10. 19d ago First seen · 150 lines · 30 tokens per session scan B a6c8876ab2a5

Subscribe to this mod's changes

exomem-defrag is a skill published in the GitHub repository Artexis10/exomem (9 stars, last pushed 6d ago), licensed AGPL-3.0. It adds 30 tokens to every session and 3,836 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (subtle steering). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

exomem-defrag compared with skills from other repositories

exomem-defrag next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
exomem-defragArtexis10/exomemSkill96d agoAGPL-3.0B30Claude Code
kb-memoryfish827-08/rag-kbSkill518d agoApache-2.0A112Claude Code, Codex
kbhraness/kbSkill132mo agoMITA155Codex
mnemonicnaveenadi/mnemonicSkill05mo agononeA79Claude Code
xerjxerj-org/xerjSkill23ktodayApache-2.0A38Claude Code, Codex
openloreaakarim/OpenLoreSkill2.0k9d agoApache-2.0A42Claude Code, Codex
llm-wikizosmaai/pi-llm-wikiSkill6345d agoMITA52Claude Code