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/documentation)<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/documentation"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/documentation/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/documentation"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/documentation.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.01038 | $0.01038 |
| Opus 5.5 | $0.00415 | $0.00415 |
| Sonnet 5.5 | $0.00208 | $0.00208 |
| Haiku 4.5 | $0.00104 | $0.00104 |
Grade A, and why
documentation 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 2mo 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 — 137 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Documentation Rules
Documentation Standards
File Organization
- Documentation: Store in
/docs/**/*.md - Planning Docs: Store in
./plans/**/*.md - Cursor Rules: Store in
.cursor/rules/*.mdc - Architecture Notes: Note in
.cursor/rules/*.mdcfiles
Content Standards
- Be Pithy: Link to files in
/docs/rather than including all content - Cross-References: Use task lists (- [ ] / - [x]) and cross-link related docs
- No Emojis: Do not use emojis in markdown, ./docs, or ./plans files
- Self-Documenting: Prefer clear code over extensive documentation
Documentation Types
Architecture Documentation
- Design Principles: Note in
.cursor/rules/architecture.mdc - System Design: Link to detailed docs in
/docs/ - Component Relationships: Document in planning docs
- Decision Records: Track architectural decisions
Implementation Documentation
- Code Comments: Minimal, only when necessary
- API Documentation: Docstrings on every public symbol
- Function Documentation: Clear parameter and return descriptions
- Class Documentation: Purpose and usage examples
Planning Documentation
- Task Lists: Use - [ ] for pending, - [x] for completed
- Cross-Links: Link to related planning and implementation docs
- Refactoring Plans: Document in
./plans/when code gets too large - Feature Planning: Track feature development and dependencies
Documentation Maintenance
Update Requirements
- Functionality Changes: Update docs when functionality changes
- Mock Implementations: Ensure implementation docs are added/updated for mocks
- API Changes: Update API documentation immediately
- Architecture Changes: Update architecture documentation
Documentation Workflow
- Create: Write documentation alongside code
- Review: Review documentation for accuracy
- Update: Keep documentation current with changes
- Validate: Ensure links and references work
- Archive: Move outdated docs to archive
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.
- 2mo ago Changed · -3 tokens per session d8602d35964a
- 3mo ago First seen · 137 lines · 1,041 tokens per session scan A 4f59e19bdb81
documentation is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed yesterday), licensed MIT. It adds 1,038 tokens to every session, about $0.0042 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.
documentation compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| documentationbernierllc/agents-environment-config | Cursor rule | 11 | yesterday | MIT | A | 1,038 | Cursor |
| css-stylingConsensys/doc.linea | Cursor rule | 480 | 10d ago | Apache-2.0 | A | 0 | Cursor |
| kotlin-springboot-rulesholtwood/awesome-cursorrules-zh | Cursor rule | 244 | 1mo ago | MIT | A | 0 | Cursor |
| creating-cursor-rulespr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 16 | Cursor |
| springboot-jpa-best-practicesholtwood/awesome-cursorrules-zh | Cursor rule | 244 | 1mo ago | MIT | A | 0 | Cursor |
| python-django-generalholtwood/awesome-cursorrules-zh | Cursor rule | 244 | 1mo ago | MIT | A | 195 | Cursor |
| error-handling-and-validationholtwood/awesome-cursorrules-zh | Cursor rule | 244 | 1mo ago | MIT | A | 185 | Cursor |