ai-dev-os-why

ai-dev-os-why is a cursor rule for coding agents from yunbow/ai-dev-os-plugin-cursor. It costs 41 tokens per session (277 once invoked), scanned A, original, MIT.

A rule-explanation guide for an AI development process. It connects a specific team rule to the broader principles and philosophy behind it.

In plain words
What is it for?
Answering questions about development rules with source references, examples, and before-and-after code.
Why use it?
It helps developers understand the reason for a rule and the risks of ignoring it.

Cursor rule

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 rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-why
Clone the repo
git clone --depth 1 https://github.com/yunbow/ai-dev-os-plugin-cursor

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-why

README.md
[![agentmods](https://agentmods.dev/badge/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-why.svg)](https://agentmods.dev/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-why)
Your own site
<a href="https://agentmods.dev/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-why"><img src="https://agentmods.dev/badge/rules/yunbow/ai-dev-os-plugin-cursor/ai-dev-os-why.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 277 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.00041 $0.00277
Opus 5 $0.00020 $0.00138
Sonnet 5 $0.00008 $0.00055
Haiku 4.5 $0.00004 $0.00028

Measured 3d ago against content hash 20b490fe7c21, 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-why 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.

rules/ai-dev-os-why.mdc · 48 lines

What it actually says

AI Dev OS "Why This Rule?" Explainer

Execution Flow

1. Parse the User's Question

Identify the relevant L3 guideline rule from the question.

2. Load L3 Guideline

Retrieve the relevant rule and its context.

3. Reference L2 Principles

Find the principle referenced by the guideline (via traceability links).

4. Reference L1 Philosophy

Identify the philosophical value that the principle is rooted in.

5. Provide Examples

  • Concrete examples of what happens without this rule
  • Before/After code snippets

Output Format

📖 Rule: [Rule content]
📁 Source: [Guideline file]

🔗 Traceability:
  L3 Guideline → [Specific rule]
  L2 Principle  → [Supporting principle]
  L1 Philosophy → [Underlying value]

💡 Without this rule:
  [Description of specific risks or problems]

📝 Before/After:
  [Code examples]

Language

Respond in the same language as the project's .cursorrules file.

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. 3d ago First seen · 48 lines · 41 tokens per session scan A 20b490fe7c21

Subscribe to this mod's changes

ai-dev-os-why 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 41 tokens to every session and 277 once invoked, about $0.0002 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.