Knowledge Audit — Security skill for Claude Code
Audit CLAUDE.md, .claude/rules and knowledge/ against the 3-tier budget; propose moves to keep always-loaded context small.
How to install Knowledge Audit
Installs to ~/.claude/skills/tammai-sdlc-knowledge-audit/SKILL.md
mkdir -p ~/.claude/skills/tammai-sdlc-knowledge-audit && curl -fsSL https://raw.githubusercontent.com/tammai/sdlc/HEAD/commands/knowledge-audit.md -o ~/.claude/skills/tammai-sdlc-knowledge-audit/SKILL.md Restart Claude Code, or start a new session, for it to be picked up.
What Knowledge Audit does
description: Audit CLAUDE.md, .claude/rules and knowledge/ against the 3-tier budget; propose moves to keep always-loaded context small
Use the `sdlc:managing-knowledge` skill and run its **Audit** section on this repo. If `knowledge/` doesn't exist yet, run its **Set up** section first.
Show the proposed moves (file → tier, with one-line reasons) and the CLAUDE.md line count before → after. Apply only what the user approves, then update `knowledge/index.md` and `knowledge/log.md`.
Alternatives in Security
- Maestro Knowledge — Intent-driven knowledge-store and Run knowledge lifecycle management — audit/prune, stage candidates (with sig 530 ★
- Memory Self Review — Mine recent agent history (claude-mem + usage stats) for recurring failures and repeated patterns, audit MEMOR 297 ★
- Tier 3 Code Refinement Report — Date: 2026-03-20 Status: ALL 54 FINDINGS IMPLEMENTED Scope: Full codebase (18 plugins, 888 files, ~266K lines) 222 ★
Full documentation available on GitHub
View Source RepositoryRelated Skills
Claude Clean Context
Keep Claude Code's always-loaded context lean: deterministic memory guard-rail distiller + skills audit. Never
Cleanup Docs
Audit and clean up a repo's Claude documentation — measure the always-on tier first (CLAUDE.md + nested + .cla
Ctxinit
Claude Code skill that scaffolds a single-source context/ knowledge hub — engineering rules, security law, com
Generalise
Audit a lemma or definition for assumption-weakening opportunities — try mechanical weakenings, search the lit
Repo Doctor
Audit a repo's agent docs — AGENTS.md/CLAUDE.md topology, always-loaded token cost, CodeMap freshness and line
Skill Detail
Shared model-rubric detail + plan-doc update pattern for gate-a~e, audit, doc-cleanup. Load on demand (not aut
Related Agents
Review Workflow Context Budget
Reviews workflow machinery for context-window budget on three axes: always-loaded surface, load-on-demand disc
Sdlc Coder
Drives strict TDD (Red→Green→Refactor) implementation of one story file, in the target repository. Always load
Context Architect
LLM context-consumption and agent-memory architecture expert for the meta-system. Covers how always-loaded rul