ai-dev-os-check

ai-dev-os-check is a skill for Claude Code, Codex 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 CodeCodex

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

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.

agentmods
npx agentmods add skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-check
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, Codex.

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.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.svg" alt="Measured on agentmods" 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. Scan, not verified.
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 $0.00034 $0.00545
Sonnet 5 $0.00014 $0.00218
Haiku 4.5 $0.00007 $0.00109

Measured 5d ago against content hash bcd890d492f7, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, 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 5d 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. 5d 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 5mo ago), licensed MIT. It adds 68 tokens to every session and 1,091 once invoked, about $0.0003 per session on Opus 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

guideline-checker

Automatically check whether git diff contents comply with project guidelines after code changes. Run at coding completion or before committing.

yunbow/ai-dev-os-rules-typescript · 27 tokens

type-check

Run TypeScript type checking and ESLint, identify error locations, and provide fix suggestions. Used for quality assurance after implementation.

yunbow/ai-dev-os-rules-typescript · 28 tokens

stale-brain

Audit AI agent memory and instruction files: CLAUDE.md, AGENTS.md, .cursorrules, GEMINI.md, copilot-instructions.md and every other major agent's memory files (13 agents, 18+ file locations) against the live repository. Use when the user runs /stale-brain or asks to audit, verify, refresh, lint, or fix agent memory…

stalebrainlabs/stalebrain · 185 tokens

project-spine-kickoff

Use when the user wants to set up Project Spine for a new project — phrases like "new client project", "kickoff", "create AGENTS.md from scratch", "generate agent instructions for this repo", "set up project context". Runs spine init → edits brief → spine compile → reviews outputs. For stale files use…

PetriLahdelma/project-spine · 84 tokens

project-spine

Use when the user mentions AGENTS.md, CLAUDE.md, copilot-instructions, Cursor rules, project brief, context for coding agents, agency kickoff, onboarding a new project, or asks "how do I set up Project Spine". This is the orientation skill — reach for it FIRST when the user's intent involves Project Spine, then chain…

PetriLahdelma/project-spine · 80 tokens

project-spine-drift

Use when the user mentions drift, says AGENTS.md / CLAUDE.md / copilot-instructions / Cursor rules are "stale" or "out of date", asks about CI catching docs drift, or says "check if my spine is still current". Runs spine drift check, interprets each drift category, and guides resolution. For initial setup use…

PetriLahdelma/project-spine · 87 tokens