compatibility-audit

compatibility-audit is a skill for Claude Code from ivklgn/ai-kit. It costs 231 tokens per session (2,421 once invoked), scanned A, original, MIT.

A skill for checking whether a code or configuration change remains safe across its public interface, surrounding code, completeness, and runtime environment.

In plain words
What is it for?
Use it to audit packages, modules, functions, endpoints, schemas, and configuration changes against the repository's existing patterns and runtime conditions.
Why use it?
A change may build successfully yet still break users, ignore local conventions, be incomplete, or fail when deployed.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: model in frontmatter; mentions CLAUDE.md.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is | cmd/cli | `go build ./cmd/...` | FAIL — 2 errors |.

Part of the ai-kit plugin — 22 skills, 15 commands, 30 agents shipped together

Good fit Use it to audit packages, modules, functions, endpoints, schemas, and configuration changes against the repository's existing patterns and runtime conditions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/ivklgn/ai-kit
agentmods
npx agentmods add skills/ivklgn/ai-kit/compatibility-audit

Made for: Claude Code.

Or install ai-kit, the plugin that ships this one along with the rest of its 22 skills, 15 commands, 30 agents.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/ivklgn/ai-kit/compatibility-audit"><img src="https://agentmods.dev/badge/skills/ivklgn/ai-kit/compatibility-audit.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 231 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,421 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. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Anti-Refusal · line 22
    Skill instructs the agent to omit warnings, disclaimers, or ethical commentary. Stripping safety caveats hides risk from the user and is a common jailbreak preamble.
    Fix: Remove instructions that suppress warnings, disclaimers, or ethical commentary. Let the agent surface safety-relevant caveats to the user.
  • medium Excessive Agency · line 4
    Skill selects an external model or provider that may use a different account or billing plan than the operator expects. Undisclosed model switches can cause unexpected cost or quota consumption.
    Fix: Remove the model/provider override or disclose it prominently and require explicit operator approval before invoking an external coding CLI or billed model.
How audits are shown
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.00231 $0.02421
Opus 5.5 $0.00092 $0.00968
Sonnet 5.5 $0.00046 $0.00484
Haiku 4.5 $0.00023 $0.00242

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

Security

Grade A, and why

compatibility-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 3mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/resolve_scope.sh), 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.

plugins/ai-kit/skills/compatibility-audit/SKILL.md · 151 lines

How it starts

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

Compatibility Audit

Answer one question: is this change safe and clean with respect to everything it touches?

The audited unit can be anything with a boundary — a package, a module, a class, a single function, an endpoint, a schema, a config file. The word "surface" below means whatever that unit exposes.

Compatibility here is not only "does it break the build". Any change sits inside four boundaries, and it is compatible only when it agrees with all four:

Axis Boundary The question
Contract What it exposes outward Does anything that depends on it still work?
Integration The context it lives in Does it match the conventions and reuse the abstractions of this place?
Completeness The closure of the change Was the change carried through everywhere it had to be?
Environment What it executes on Does it survive its runtime, platform, and rollout?

This works across languages and domains because the axes are fixed while the reference standard is discovered per repository. Never judge against a generic best practice — judge against what this repo already does, and cite it.

This skill assesses; it does not fix. Evidence over intuition: every finding cites a file and line, a diff hunk, or a command result.

Step 0: Resolve the Scope

Run the bundled scope resolver — it handles baseline detection, all change states, and path scoping (paths are relative to this skill's directory):

sh scripts/resolve_scope.sh                      # current git changes vs merge base
sh scripts/resolve_scope.sh path/to/target       # a package, module, file, schema, or config dir
sh scripts/resolve_scope.sh --base v1.4.0 pkg/   # explicit baseline

It prints BASE, MODE, COUNT, the changed files, the manifests that govern them, and the touched directories. Parse that output; do not re-derive it.

The three modes mean different things:

  • git-changes / path-scoped-changes — baseline is BASE, candidate is the working tree. Diff with git diff <BASE> -- <paths>.
  • path-snapshot — no pending changes in that path. Audit the code as it stands against its current consumers ("is this thing in good standing?"). Contract findings become "risk in the existing surface" rather than "regression".
  • COUNT 0 — nothing to audit. Ask the user what to audit; do not guess.

Read the full file on GitHub · 151 lines

Files

What ships with it

4 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. 3mo ago First seen · 151 lines · 231 tokens per session scan A afef5021ecd5

Subscribe to this mod's changes

compatibility-audit is a skill published in the GitHub repository ivklgn/ai-kit (12 stars, last pushed 2mo ago), licensed MIT. It adds 231 tokens to every session and 2,421 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-30.

Related

compatibility-audit compared with skills from other repositories

compatibility-audit next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
compatibility-auditivklgn/ai-kitSkill122mo agoMITA231Claude Code
generic-react-code-reviewertravisjneuman/.claudeSkill1152d agoMITA71Claude Code
generic-fullstack-code-reviewertravisjneuman/.claudeSkill1152d agoMITA64Claude Code
generic-static-code-reviewertravisjneuman/.claudeSkill1152d agoMITA59Claude Code
agent-architecture-analysttravisjneuman/.claudeSkill1152d agoMITA13Claude Code
review-difffaizkhairi/claude-code-blueprintSkill7415d agoMITA40Claude Code
review-fullfaizkhairi/claude-code-blueprintSkill7415d agoMITA120Claude Code