ai-dev-os-scan

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

A project-wide checker that compares every source file with rules in CLAUDE.md and the guideline files it references. It scans the whole project, not only changes recorded by Git.

In plain words
What is it for?
Use it for an initial audit, regular full-project reviews, or checks after adding new development guidelines.
Why use it?
It finds compliance problems in existing files that a change-only review would miss.

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-scan
Any agent
npx skills add yunbow/ai-dev-os-plugin-claude-code --skill ai-dev-os-scan
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-scan

README.md
[![agentmods](https://agentmods.dev/badge/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-scan.svg)](https://agentmods.dev/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-scan)
Your own site
<a href="https://agentmods.dev/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-scan"><img src="https://agentmods.dev/badge/skills/yunbow/ai-dev-os-plugin-claude-code/ai-dev-os-scan.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,054 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 $0.00059 $0.01054
Opus 5 $0.00030 $0.00527
Sonnet 5 $0.00012 $0.00211
Haiku 4.5 $0.00006 $0.00105

Measured 5d ago against content hash c2198797a8c5, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ai-dev-os-scan 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-scan/SKILL.md · 131 lines

How it starts

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

AI Dev OS Full Project Scan

Execution Flow

1. Parse CLAUDE.md

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

2. Discover Target Files

If the user provides a directory or glob pattern, use that as the scope. Otherwise, scan the entire project:

  • Find all source files using find or Glob (e.g., **/*.{ts,tsx,js,jsx,py,go})
  • Exclude common non-source directories: node_modules/, .git/, dist/, build/, .next/, __pycache__/, .venv/, vendor/
  • Exclude files listed in .gitignore

3. Build Dynamic Mapping

Dynamically build the mapping between file patterns and guidelines.

Examples by tech stack:

  • Python: *.py → code.md, naming.md, validation.md; */router.py → security.md, cors.md; */models.py → naming.md, validation.md; */schemas.py → validation.md; alembic/** → naming.md
  • Next.js: *.tsx → ui.md, form.md, code.md, naming.md; app/**/page.tsx → routing.md; app/**/action.ts → server-actions.md
  • Go: *.go → code.md, naming.md, error-handling.md

4. Extract Check Items

Auto-detect check items from each guideline using the following keywords:

  • "MUST", "MUST NOT", "PROHIBITED", "REQUIRED", etc.
  • If frontmatter contains checklist: [...], use that instead

If checklist templates exist in the plugin's checklist-templates/ directory for the detected tech stack, load them as a reference.

5. Run Checks (Batch Processing)

Process files in batches to manage context window:

  • Group files by directory or module
  • For each batch:
    • Auto-check items detectable via static analysis (Grep/Glob)
    • Flag items requiring judgment with ⚠️ for human review
  • Track progress: "Scanning batch N/M..."

6. Aggregate Results

Combine results from all batches:

  • Deduplicate violations
  • Sort by severity (❌ violations first, then ⚠️ reviews)
  • Group by guideline for pattern analysis

7. Report Output

Output in the following format:

## AI Dev OS Full Project Scan Report

### Summary
- Total files scanned: N
- ✅ Passed: N / ⚠️ Review: N / ❌ Violation: N
- Compliance rate: N%

### Violations by Guideline
| Guideline | Violations | Files Affected | Most Common Issue |
|-----------|-----------|----------------|-------------------|

### Top Violations
| # | File | Line | Rule | Guideline | Principle |
|---|------|------|------|-----------|-----------|

### Review Required
| File | Line | Item | Guideline |
|------|------|------|-----------|

### Hot Spots (Files with Most Violations)
| File | Violations | Reviews | Top Issues |
|------|-----------|---------|------------|

### Recommendations
1. [Priority: High] ...
2. [Priority: Medium] ...

### Why These Rules?
> Explains the rationale for the most frequent violations, tracing back to L2 principles → L1 philosophy

Read the full file on GitHub · 131 lines

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 · 131 lines · 59 tokens per session scan A c2198797a8c5

Subscribe to this mod's changes

ai-dev-os-scan 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 59 tokens to every session and 1,054 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