Skip to content
Skill

System audit

Audits an agent system's docs, rules, memory and tools for drift and dead layers

System audit is an open-source agent skill for developer tools. It is available on Claude Code.

Scripts
shell, Python
Platforms
Claude Code
GitHub stars
33
Last commit
License
MIT
Listing updated

Similar skills

About System audit

This skill runs a periodic self-audit of an AI agent setup. It starts with a read-only shell collector that inventories layers, checks doc frontmatter, memory caps, broken path references, git activity and exposed secrets, then a Python transcript profiler reports which rules, skills and agents were actually used in recent sessions. A separate gate prober feeds a known-bad sample through each PreToolUse hook to see which tools are really guarded.

The audit is organized into seven lenses covering delivery claims, knowledge drift, the operational layer, layer telemetry, tools and infrastructure, domain gaps and anti-bloat subtraction. Each finding must carry file-and-line or command evidence, otherwise it is labelled as a hypothesis and kept out of the verdict. Cheap, safe fixes are applied in the session, and the results are written to a dated report that serves as the baseline for the next run.

The skill expects a repository to audit, with bash and Python available, and works best when the user has an agent memory and rules structure to examine. It is designed as a Claude Code plugin skill, so its bundled scripts reference the plugin root directory.

When your agent uses it

Periodic evidence-based self-audit of the whole agent system — the orchestrator, its docs/SSOTs, rules, memory, subagents, tools, infra and the work it claims to have delivered — followed by immediate cheap-safe fixes and a ranked backlog. Use when the user says 'аудит системы', 'проверь себя', 'самопроверка', 'system audit', 'audit yourself', 'health check', 'что у нас накопилось', 'система раздулась', 'проверь что работает а что на бумаге', 'gap-анализ', 'что удалить', or on cadence triggers (every ~10 sessions, before a milestone, after a big refactor, when memory hits its caps, when onboarding this repo to a new agent). Seven lenses: delivery reality · knowledge drift · operational layer · layer telemetry (did it ever fire) · tools & infra · domain gaps · anti-bloat subtraction. Not for reviewing a single diff (use a diff-review pass) and not for probing a running product (use /memory-kit:qa-sweep).

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

From a static check of its 7 files (58 KB) on GitHub on 4 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.

Check another skill before you install it.

Install

This skill ships in the memory-kit plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

/plugin marketplace add awrshift/agent-memory-kit
/plugin install memory-kit@memory-kit

Or copy only this skill to ~/.claude/skills/system-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/system-audit &&
cp -R "$tmp/plugins/memory-kit/skills/system-audit" ~/.claude/skills/system-audit &&
rm -rf "$tmp"

For one project only, put the folder in .claude/skills/system-audit inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/system-audit to use it in every repository:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/system-audit &&
cp -R "$tmp/plugins/memory-kit/skills/system-audit" ~/.agents/skills/system-audit &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/system-audit inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/system-audit to use it in every project:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/system-audit &&
cp -R "$tmp/plugins/memory-kit/skills/system-audit" ~/.cursor/skills/system-audit &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/system-audit inside it instead.

Cursor docs on skills

Run in a terminal (add --scope workspace to install it for the current workspace only):

gemini skills install https://github.com/awrshift/agent-memory-kit.git --path plugins/memory-kit/skills/system-audit

Or copy the folder to ~/.gemini/skills/system-audit yourself.

Gemini CLI docs on skills

For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/system-audit:

tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/system-audit &&
cp -R "$tmp/plugins/memory-kit/skills/system-audit" ~/.copilot/skills/system-audit &&
rm -rf "$tmp"

For one project only, put the folder in .github/skills/system-audit inside it instead.

VS Code docs on skills

Get the folder:

git clone --depth 1 https://github.com/awrshift/agent-memory-kit.git

Then copy agent-memory-kit/plugins/memory-kit/skills/system-audit into your agent's skills folder as system-audit. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

What it does

Deterministic factbase collector
A read-only bash script gathers layer inventory, frontmatter coverage, memory caps, broken references and secret exposure checks before any reasoning.
Layer telemetry from transcripts
A Python profiler counts which files, skills and tools were deliberately used in session transcripts and flags those with no reads in 30 days.
Hook gate verification
A prober sends a known-bad sample through each PreToolUse hook wiring to show which tools are actually guarded.
Seven-lens review structure
Checks cover delivery reality, knowledge drift, operational layer, telemetry, tools and infra, domain gaps and anti-bloat subtraction.
Evidence-bound findings
Every claim needs a file reference or command output, with unverified observations marked as hypotheses and excluded from the verdict.
Dated audit reports
Writes a ranked set of priorities and a subtraction list to a dated report that becomes the baseline for the next audit.

Good for

  • Check whether the agent's documented rules and memory still match what the repo actually does
  • Find rules, skills or agents that have not been used in weeks
  • Verify that the pre-tool-use hooks actually block dangerous commands
  • Get a ranked list of cleanup candidates when the agent setup has grown bloated
  • Run a health check before a milestone or after a large refactor

System audit FAQ

What does System audit need to run?

It needs a repository to audit, bash for the collector and Python for the usage and gate scripts. The scripts are meant to run through the Claude Code plugin root path.

Does System audit change files in my repo?

The collector and profilers are read-only with respect to the audited repo. Cheap, safe fixes such as stale paths or missing frontmatter are applied in-session, while deletions and history changes require asking first.

When should System audit be run?

The skill suggests roughly every ten sessions, before a milestone, after a big refactor, when memory hits its caps, or when onboarding the repo to a new agent.

Does System audit review code or probe a running product?

No. It audits the system that produces the work, not business logic in a diff or a live product, which the skill directs to separate review and QA passes.

How do I install System audit in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/system-audit to use it in all your projects, or to .claude/skills/system-audit in one project. Or install the memory-kit plugin, which includes it: /plugin marketplace add awrshift/agent-memory-kit, then /plugin install memory-kit@memory-kit.

Does System audit run scripts?

Yes. It runs shell and Python scripts. No network calls were found in its scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

Which AI agents can use System audit?

Claude Code. It reads skills in the SKILL.md format; the install steps on this page show where to put the folder.

What are the best alternatives to System audit?

The closest alternatives to System audit are CLI audit, Agent architecture audit, Agentsmd optimize, Skill audit and Automation audit ops.

Where this comes from

  • Description: from the skill's own SKILL.md.

More from awrshift/agent-memory-kit

  1. Runs an end-of-session audit that promotes repeated patterns and writes a handoff

    • Open source
    • 33 GitHub stars
    • Knowledge and memory
  2. Reconciles project specs and docs against the current code after merges

    • Open source
    • 33 GitHub stars
    • Developer tools
  3. Drafts PR bodies, changelog entries, release notes and postmortems from git diffs

    • Open source
    • 33 GitHub stars
    • Developer tools
  4. Audits a MEMORY.md cache against memory rules and proposes a move plan before editing

    • Open source
    • 33 GitHub stars
    • Knowledge and memory
  5. Runs a multi-lens QA sweep of a live product and turns verified findings into tickets

    • Open source
    • 33 GitHub stars
    • Developer tools
  6. Cross-checks your agent's answer with independent reviewers before it reaches you

    • Open source
    • 33 GitHub stars
    • Developer tools