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.
git clone --depth 1 https://github.com/bernierllc/agents-environment-configWrote 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/bernierllc/agents-environment-config/rules-about-rules)<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/rules-about-rules"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/rules-about-rules/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.
<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/rules-about-rules"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/rules-about-rules.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00605 | $0.00605 |
| Opus 5.5 | $0.00242 | $0.00242 |
| Sonnet 5.5 | $0.00121 | $0.00121 |
| Haiku 4.5 | $0.00060 | $0.00060 |
Grade A, and why
rules-about-rules 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 3mo 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 — 71 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Rules About Rules
Core Principle
Rules are living documents and should be updated as we learn. Suggest improvements when something is unclear or not working. Keep rules concise and merge overlapping rules where possible.
Global vs Project-Specific Rules
Global Rules (This Repository)
These rules in agents-environment-config/.cursor/rules/ are global rules that apply across all projects. They contain:
- General patterns and standards that work across projects
- Language-specific conventions (TypeScript, Python)
- Framework standards (Next.js, FastAPI, React Native)
- Cross-cutting topics (API design, Git workflow, security, quality)
Location: agents-environment-config/.cursor/rules/
Project-Specific Rules
Project-specific rules stay in their respective projects ({project}/.cursor/rules/) and should:
- Focus on project-specific patterns and business logic
- Reference global rules where applicable (avoid duplication)
- Handle custom workflows unique to that project
Location: {project}/.cursor/rules/
How Cursor applies them: Cursor discovers rules in parent directories, so global rules apply automatically. Project-specific rules take precedence for conflicts. Both rule sets complement each other.
For detailed architecture, see plans/cursor/architecture.md.
Guidelines for Rule Files
Structure
- Prefer small, focused rules with clear intent
- Keep terminology consistent across all rules
- When multiple files cover the same topic, consolidate into one and deprecate the rest
Content Standards
- Prefer active voice and imperative style ("Do X", "Avoid Y")
- Fix typos immediately; clear language beats clever phrasing
- Use short rationale lines for non-obvious rules (1–2 sentences max)
Maintenance Process
- When you change behavior or standards, submit an edit to the relevant rule file in the same PR
- When adopting a new convention, add it to the appropriate rule file and reference related docs in
/docs/ - Link to decisions or plans in
./plans/when context helps future readers - Run linting before committing rule changes to ensure formatting stays consistent
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.
- 3mo ago First seen · 71 lines · 605 tokens per session scan A 1c7dbbf1dc78
rules-about-rules is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed yesterday), licensed MIT. It adds 605 tokens to every session, about $0.0024 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.
rules-about-rules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| rules-about-rulesbernierllc/agents-environment-config | Cursor rule | 11 | yesterday | MIT | A | 605 | Cursor |
| creating-cursor-rulespr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 16 | Cursor |
| creating-skillspr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 19 | Cursor |
| coding-standards-demo.cruxzotoio/CRUX-Compress | Cursor rule | 8 | 1mo ago | MIT | A | 6 | Cursor |
| leanyugasun/aiops | Cursor rule | 4 | 6d ago | Apache-2.0 | A | 222 | Cursor |
| swift-argument-parsersteipete/agent-rules | Cursor rule | 5.7k | 7mo ago | MIT | A | 0 | Cursor |
| update-docssteipete/agent-rules | Cursor rule | 5.7k | 7mo ago | MIT | A | 1,833 | Cursor |