knowledge-audit

knowledge-audit is a skill for Claude Code, Codex from n24q02m/claude-plugins. It costs 21 tokens per session (1,494 once invoked), scanned A, a copy of knowledge-audit, Apache-2.0.

A process for reviewing stored memories to find duplicates, contradictions, outdated entries, and overlapping information before consolidating them.

In plain words
What is it for?
Use it to audit memories about a topic or review the complete stored-memory inventory.
Why use it?
It keeps saved knowledge more consistent and prevents old or conflicting information from being reused.

Skill for Claude CodeCodex

Part of the mnemo-mcp plugin — 6 skills shipped together

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.

agentmods
npx agentmods add skills/n24q02m/claude-plugins/knowledge-audit
Any agent
npx skills add n24q02m/claude-plugins --skill knowledge-audit
Clone the repo
git clone --depth 1 https://github.com/n24q02m/claude-plugins

Made for: Claude Code, Codex.

Or install mnemo-mcp, the plugin that ships this one along with the rest of its 6 skills.

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 knowledge-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/n24q02m/claude-plugins/knowledge-audit.svg)](https://agentmods.dev/skills/n24q02m/claude-plugins/knowledge-audit)
Your own site
<a href="https://agentmods.dev/skills/n24q02m/claude-plugins/knowledge-audit"><img src="https://agentmods.dev/badge/skills/n24q02m/claude-plugins/knowledge-audit.svg" alt="Measured on agentmods" height="20"></a>
Per session 21 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,494 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 100% copy Near-identical to another mod 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 $0.00021 $0.01494
Opus 5 $0.00010 $0.00747
Sonnet 5 $0.00004 $0.00299
Haiku 4.5 $0.00002 $0.00149

Measured 3d ago against content hash 6e0224fe7810, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

knowledge-audit 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 3d 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.

Origin

This is a copy

100% identical to knowledge-audit — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

plugins/mnemo-mcp/skills/knowledge-audit/SKILL.md · 143 lines

How it starts

The opening of the file, as written. The whole thing — 143 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Knowledge Audit

Systematic review of stored memories to maintain quality. Finds duplicates, detects contradictions, flags stale entries, and consolidates overlapping memories.

Steps

  1. Scope the audit:

    • If topic specified: memory(action="search", query="[topic]") to find all related memories
    • If "all": memory(action="list") to get full inventory, then memory(action="stats") for overview
    • Group memories by tag/category for systematic review
  2. Identify duplicates:

    • Search for memories with similar content or overlapping keywords
    • Compare pairs that cover the same topic
    • Decision: keep the more detailed/recent one, delete the other
    • Use memory(action="delete", id="[duplicate-id]") for removals
  3. Detect contradictions:

    • Look for memories that make opposing claims about the same topic
    • Examples: "Use library A" vs "Switched to library B", conflicting conventions
    • Decision tree:
      • Both have dates -> keep the newer one (it supersedes)
      • Neither has date -> ask user which is current
      • Both are valid (context-dependent) -> update both to clarify their scope
    • Update the surviving memory to note it supersedes the old one
  4. Flag stale entries:

    • Memories referencing specific versions that are now outdated
    • Memories about temporary workarounds that may have been resolved
    • Memories about tools/libraries that have been replaced
    • Action: mark as stale with memory(action="update", ...) adding [STALE] prefix, or delete if clearly obsolete
  5. Consolidate overlapping memories:

    • Multiple memories about the same topic that each have partial info
    • Merge into a single comprehensive memory
    • Steps: create new consolidated memory -> verify retrieval -> delete originals
    • Use memory(action="consolidate", ...) if available, otherwise manual merge
  6. Produce audit report:

    ## Knowledge Audit — [topic/all] — [date]
    
    ### Summary
    - Total memories reviewed: [N]
    - Duplicates removed: [N]
    - Contradictions resolved: [N]
    - Stale entries flagged/removed: [N]
    - Memories consolidated: [N merged into M]
    
    ### Actions Taken
    - [list of specific changes]
    
    ### Recommendations
    - [any patterns noticed, e.g., "many memories lack WHY context"]
    

Read the full file on GitHub · 143 lines

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. 3d ago First seen · 143 lines · 21 tokens per session scan A 6e0224fe7810

Subscribe to this mod's changes

knowledge-audit is a skill published in the GitHub repository n24q02m/claude-plugins (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 21 tokens to every session and 1,494 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 100% identical to knowledge-audit, differing in 0 lines, and is treated as a copy.

Related

Other skills, from other repositories

flow-next-audit

Audit .flow/memory/ entries against current code and keep, update, consolidate, replace, delete, or harden each. Use when asked to audit memory or graduate a recurring lesson into a gate.

gmickel/flow-next · 46 tokens

flow-next-audit

Audit .flow/memory/ entries against the current codebase and decide Keep / Update / Consolidate / Replace / Delete per entry. Triggers on /flow-next:audit, "audit memory", "review memory", "refresh learnings", "sweep stale memory", "consolidate overlapping memory entries". Optional mode:autofix token in arguments runs…

gmickel/flow-next · 112 tokens

flow-next-memory-migrate

Migrate legacy flat .flow/memory files to the categorized YAML schema. One-time ceremony. Use when asked to migrate flow memory.

gmickel/flow-next · 33 tokens

decision-ledger

Maintain an append-only decision ledger (DECISIONS.md). Use when the user confirms a decision, reverses or changes a past decision, asks what was decided and why, or at session start to load standing decisions.

svy04/ballast · 48 tokens

knowledge-base

Keep verified findings in memory/knowledge/ so the same research is never done twice. Use before researching any topic, when a finding passes the verify gate, or when about to answer from something learned in an earlier session.

svy04/ballast · 47 tokens

pin

Turn a correction or working preference the user just expressed into a permanent ballast rule. Use when the user corrects your behavior, says "don't do X" / "always do Y" / "I told you before", or asks you to remember how they want things done.

svy04/ballast · 57 tokens