ai-dev-os-check

ai-dev-os-check is a skill for Claude Code from yunbow/ai-dev-os-plugin-claude-code. It costs 68 tokens per session (1,091 once invoked), scanned A, original, MIT.

A code-change checker that compares your work with the project's AI Dev OS guidelines. It can inspect unstaged changes, staged changes, or differences from another Git branch, and can fix violations automatically.

In plain words
What is it for?
Checking and correcting code before committing or opening a pull request. It can review the current changes, staged changes, or all changes against a branch.
Why use it?
It helps keep changes consistent with project rules without requiring you to inspect every guideline manually. Use report-only mode when you want findings without changing files.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: mentions CLAUDE.md.

Part of the ai-dev-os plugin — 11 skills, 3 agents, 3 hooks shipped together

Good fit Checking and correcting code before committing or opening a pull request. It can review the current changes, staged changes, or all changes against a branch.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check
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.

Any agent
npx skills add yunbow/ai-dev-os-plugin-claude-code --skill ai-dev-os-check
Clone the repo
git clone --depth 1 https://github.com/yunbow/ai-dev-os-plugin-claude-code

Made for: Claude Code.

Or install ai-dev-os, the plugin that ships this one along with the rest of its 11 skills, 3 agents, 3 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 ai-dev-os-check

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check/github.svg)](https://agentmods.dev/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check)
Your own site
<a href="https://agentmods.dev/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check"><img src="https://agentmods.dev/badge/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check/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 ai-dev-os-check

Your own site · 80×15
<a href="https://agentmods.dev/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check"><img src="https://agentmods.dev/badge/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 68 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,091 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.00068 $0.01091
Opus 5.5 $0.00027 $0.00436
Sonnet 5.5 $0.00014 $0.00218
Haiku 4.5 $0.00007 $0.00109

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

Security

Grade A, and why

ai-dev-os-check 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 1mo 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.

skills/ai-dev-os-check/SKILL.md · 144 lines

How it starts

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

AI Dev OS Guideline Check & Fix

Design Principle: Report-only checks have near-zero impact on code quality. Check + Fix in a single session achieves +9.9 improvement (benchmark Test 011).

Execution Flow

1. Determine Scope & Mode

Parse the argument to determine the check scope and mode:

Scope:

  • No argument: Check unstaged changes (git diff --name-only)
  • --staged: Check staged changes (git diff --cached --name-only)
  • [branch] (e.g., main, develop): Check all changes vs. the specified branch (git diff [branch]...HEAD --name-only) — ideal for PR review

Mode:

  • Default: Check & Fix — find violations and fix them automatically
  • --dry-run: Report only — list violations without modifying code

2. Parse CLAUDE.md

Extract the list of guideline file paths from CLAUDE.md.

3. Get Changed Files

Retrieve changed files based on the determined scope. If no files are changed, report "No changes to check" and exit.

4. Select Checklist

Auto-detect the tech stack from the project and load the appropriate checklist template:

  • checklist-templates/nextjs.md — for Next.js / React projects
  • checklist-templates/python.md — for Python / FastAPI projects
  • checklist-templates/go.md — for Go projects

Also load relevant guideline files from CLAUDE.md to extract additional MUST/MUST NOT rules.

5. Check — Systematic Violation Scan

Review ALL changed files against the checklist items systematically:

  1. Read each changed file
  2. Check each checklist item against the actual code
  3. Record violations with: file, line number, rule ID, description

Important: Check ALL items, not just obvious ones. Security and naming rules are easy to miss.

6. Fix — Auto-Correct Violations

Skip this step if --dry-run is specified.

For each violation found:

  1. Fix the violation directly in the code using Edit/Write tools
  2. Verify the fix doesn't break surrounding code
  3. Mark the item as fixed

Fix principles:

Read the full file on GitHub · 144 lines

Files

What ships with it

3 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. 1mo ago First seen · 144 lines · 68 tokens per session scan A bcd890d492f7

Subscribe to this mod's changes

ai-dev-os-check is a skill published in the GitHub repository yunbow/ai-dev-os-plugin-claude-code (2 stars, last pushed 7mo ago), licensed MIT. It adds 68 tokens to every session and 1,091 once invoked, about $0.0003 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

pr-triage

4-phase PR backlog management with audit, deep code review, validated comments, and optional worktree setup. Use when triaging pull requests, catching up on pending code reviews, or managing a backlog of open PRs. Args: 'all' to review all, PR numbers to focus (e.g. '42 57'), 'en'/'fr' for language, no arg = audit…

FlorianBruniaux/claude-code-ultimate-guide · 86 tokens

review-pr

Perform a comprehensive code review of a pull request.

FlorianBruniaux/claude-code-ultimate-guide · 12 tokens

pr

Analyze changes, detect scope issues, and create a well-structured PR.

FlorianBruniaux/claude-code-ultimate-guide · 16 tokens

validate-changes

Evaluate staged changes using LLM-as-a-Judge before committing.

FlorianBruniaux/claude-code-ultimate-guide · 16 tokens

code-review-loop

Use when opening a PR for review or when receiving review feedback. Activate for keywords like "code review", "PR review", "request review", "review feedback", "address comments", "reviewer said". Covers both ends of the loop: preparing a reviewable PR and acting on feedback rigorously. Always engage with every…

duthaho/claudekit · 79 tokens

pr-autofix

When the user has PR review feedback to address, CI failures to fix, or wants to automatically resolve common PR issues. Use when the user says "fix the PR," "address review comments," "CI is failing," "fix the build," "autofix," "pr feedback," "resolve comments," "fix merge conflicts," or when a PR needs updates…

irfad7/claude-power-skills · 93 tokens