system-audit

system-audit is a skill for Claude Code from awrshift/agent-memory-kit. It costs 225 tokens per session (2,799 once invoked), scanned A, original, MIT.

A system-audit skill reviews an AI agent setup, including its instructions, memory, tools, supporting agents, infrastructure, and claimed results. It requires each finding to be backed by evidence such as a file line, command output, or query result.

In plain words
What is it for?
Use it for quick, standard, or deep reviews of an agent system, followed by safe fixes and a ranked list of remaining work.
Why use it?
Agent systems can accumulate outdated rules, repeated facts, unused tools, and unsupported assumptions. The audit helps identify what works, what has drifted, what is missing, and what can be removed.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents; positional $N argument.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the memory-kit plugin — 10 skills, 4 agents, 4 hooks shipped together

Good fit Use it for quick, standard, or deep reviews of an agent system, followed by safe fixes and a ranked list of remaining work.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add awrshift/agent-memory-kit
Claude Code
/plugin install memory-kit

Made for: Claude Code.

Or install memory-kit, the plugin that ships this one along with the rest of its 10 skills, 4 agents, 4 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 system-audit

README.md
[![agentmods](https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/system-audit/github.svg)](https://agentmods.dev/skills/awrshift/agent-memory-kit/system-audit)
Your own site
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/system-audit"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/system-audit/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 system-audit

Your own site · 80×15
<a href="https://agentmods.dev/skills/awrshift/agent-memory-kit/system-audit"><img src="https://agentmods.dev/badge/skills/awrshift/agent-memory-kit/system-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 225 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,799 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original 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.00225 $0.02799
Opus 5.5 $0.00090 $0.01120
Sonnet 5.5 $0.00045 $0.00560
Haiku 4.5 $0.00022 $0.00280

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

Security

Grade A, and why

system-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 21d ago.

The scan reads SKILL.md. This mod also ships 4 executable files (scripts/collect.sh, scripts/gates.py, scripts/usage_config.py, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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

Copies of this mod

1 near-identical copy found in the catalogue:

plugins/memory-kit/skills/system-audit/SKILL.md · 167 lines

How it starts

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

System audit — "what works / what drifts / what is missing / what to delete"

An agent system accretes. Good patterns and bad ones, dead rules nobody reads, facts restated in five places with three of them stale, tools that only ran once. This skill is the periodic sweep that keeps it evolving without inflating: it measures which layers actually fire, deletes what doesn't, and reports findings that carry evidence rather than impressions.

The one thing that makes this audit different from a checklist: every claim must be backed by something you touched with your own hands — a file:line, a command's output, a query result. An unverified observation is labelled hypothesis and never counted in the verdict.

Step 0 — Scope, depth, delta (2 minutes, always)

  1. Depth. Pick from what the user asked, default standard:
    • quick — deterministic collector + lenses 1, 4, 7 inline, no subagents. ~10 min. Use for a routine "how are we doing", or when the user asks mid-work.
    • standard — collector + all 7 lenses, lenses 2-6 fanned out to parallel recon subagents (model="sonnet"), synthesis + adjudication inline. The default.
    • deep — standard + an independent architecture critique (idea-validator, model="opus") and an external-family second opinion (/memory-kit:second-opinion), + a fresh-check of external facts (pricing, model ids, deprecated APIs) via WebSearch.
  2. Scope autodetect. Run the collector (step 1) — it reports which layers actually exist in this repo. A lens whose layer is absent is reported as n/a, never invented. Never audit node_modules/, .git/, build output, or vendored code.
  3. Delta. Read the newest prior report in context/audits/ (or wherever it lives). For each of its priorities: done · partially · ignored. An audit whose last round was ignored has one finding worth more than all the others — say so first.

Step 1 — The deterministic collector (before any reasoning)

# from the repo being audited; pass a path as $1 to audit a different repo.
# The output path carries the repo name and date: a fixed /tmp name gets overwritten by a
# parallel session auditing another repo, and the first read is then of the wrong repo.
bash "${CLAUDE_PLUGIN_ROOT}/skills/system-audit/scripts/collect.sh" "$PWD" \
  > "/tmp/system-audit-facts-$(basename "$PWD")-$(date +%F).md"

Read the full file on GitHub · 167 lines

Files

What ships with it

6 files 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.

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. 21d ago Changed · +7 lines f4e2a1190e07
  2. 22d ago Changed · +6 lines 89df088507e4
  3. 1mo ago Changed 3ecf9b061c65
  4. 1mo ago First seen · 154 lines · 225 tokens per session scan A 2978082a5e67

Subscribe to this mod's changes

system-audit is a skill published in the GitHub repository awrshift/agent-memory-kit (34 stars, last pushed 9d ago), licensed MIT. It adds 225 tokens to every session and 2,799 once invoked, about $0.0009 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-08-31.

Related

Other skills, from other repositories

aictx

Use this skill when working in a repository that uses AICTX for repo-local operational continuity. Prefer AICTX MCP tools when available, fall back to CLI commands, resume before substantial work, and finalize factual continuity after work.

oldskultxo/aictx · 48 tokens

biome

Biome formatting and linting standards. Use when configuring Biome (biome.json) for fast formatting, linting, and sorting imports. NOT for Prettier or ESLint configuration. Do NOT trigger for generic formatting/linting tasks unless Biome is explicitly requested.

neverinfamous/memory-journal-mcp · 58 tokens

adversarial-performance

Multi-pass adversarial performance audit for entire repositories. Combines structured profiling (Agent A) with adversarial stress-testing critique (Agent B) through iterative passes. Optimize repo/backend performance, hot-paths, build size, and server throughput. Do NOT use for frontend page load metrics or Lighthouse…

neverinfamous/memory-journal-mcp · 86 tokens

autonomous-dev

Harness for autonomous software development. Use when fixing or remediating known issues (including security vulnerabilities). Enforces lifecycle through alignment gates (PROJECT.md), adversarial generator/evaluator agents, and autonomous orchestration of project issues. NOT for setting up standalone CI/CD pipelines.

neverinfamous/memory-journal-mcp · 58 tokens

gsd-ns-review

quality gates | code review debug audit security eval ui.

open-gsd/gsd-core · 16 tokens

ccc

This skill should be used when code search is needed (whether explicitly requested or as part of completing a task), when indexing the codebase after changes, or when the user asks about ccc, cocoindex-code, or the codebase index. Trigger phrases include 'search the codebase', 'find code related to', 'update the…

cocoindex-io/cocoindex-code · 80 tokens