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.
npx agentmods add rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-scangit clone --depth 1 https://github.com/yunbow/ai-dev-os-plugin-cursorWrote 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.
[](https://agentmods.dev/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-scan)<a href="https://agentmods.dev/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-scan"><img src="https://agentmods.dev/badge/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-scan.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00051 | $0.00847 |
| Opus 5 | $0.00026 | $0.00424 |
| Sonnet 5 | $0.00010 | $0.00169 |
| Haiku 4.5 | $0.00005 | $0.00085 |
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 3d 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.
How it starts
The opening of the file, as written. The whole thing — 94 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 .cursorrules
Extract the list of guideline file paths from .cursorrules (or CLAUDE.md / AGENTS.md if present).
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 (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 - 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 .cursor/checklist-templates/ 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
- 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
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.
- 3d ago First seen · 94 lines · 51 tokens per session scan A 406c63342f61
ai-dev-os-scan is a cursor rule published in the GitHub repository yunbow/ai-dev-os-plugin-cursor (2 stars, last pushed 5mo ago), licensed MIT. It adds 51 tokens to every session and 847 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.
Other cursor rules, from other repositories
90-devops-deployment
Docker, CI/CD, AWS, Vercel, and VPS deployment rules.
00-global-architect
Global default behavior for the entire repository.
35-api-contracts
API versioning, contracts, and schema evolution rules.
45-environment-config
Environment configuration and secrets management rules.
50-rag-system
Retrieval-augmented generation rules.
55-data-model-versioning
Dataset versioning, model checkpoint management, and training reproducibility rules.