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/environments)<a href="https://agentmods.dev/rules/bernierllc/agents-environment-config/environments"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/environments/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/environments"><img src="https://agentmods.dev/badge/rules/bernierllc/agents-environment-config/environments.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.00788 | $0.00788 |
| Opus 5.5 | $0.00315 | $0.00315 |
| Sonnet 5.5 | $0.00158 | $0.00158 |
| Haiku 4.5 | $0.00079 | $0.00079 |
Grade A, and why
environments 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 — 133 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deployment Standards
Environment Overview
Development Environment
- Branch:
development - Database: Local or development database
- Server: Local development server
- Purpose: Feature development and testing
Staging Environment
- Branch:
staging - Database: Dedicated staging database
- Server: Dedicated staging deployment
- Purpose: Pre-production testing and validation
Production Environment
- Branch:
main - Database: Dedicated production database
- Server: Dedicated production deployment
- Purpose: Live application serving real users
Deployment Workflow
Feature Development Flow
Feature Branch → Development → Staging → Main
- Feature Branch: Create from
development - Development: Merge feature after review and testing
- Staging: Promote from
developmentafter validation - Main: Promote from
stagingafter staging verification
Environment Protection
Branch Protection Rules
Development Branch
- Required: Pull request reviews
- Required: Status checks pass
- Required: No merge conflicts
- Forbidden: Direct pushes
Staging Branch
- Required: Pull request reviews
- Required: All tests pass
- Required: Build successful
- Required: Database migrations safe
- Forbidden: Direct pushes
- Forbidden: Merges from feature branches
Main Branch (Production)
- Required: Pull request reviews (2 approvals)
- Required: All staging tests pass
- Required: Staging deployment verified
- Required: Database backup completed
- Forbidden: Direct pushes
- Forbidden: Merges from development or feature branches
Database Management
Migration Safety
- Development: Test migrations locally
- Staging: Verify migrations in staging environment
- Production: Backup database before applying migrations
Environment Variables
- Separate databases for each environment
- Different API keys for each environment
- Proper access control for production
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 · 133 lines · 788 tokens per session scan A 329de44beeed
environments is a cursor rule published in the GitHub repository bernierllc/agents-environment-config (11 stars, last pushed today), licensed MIT. It adds 788 tokens to every session, about $0.0032 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.
environments compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| environmentsbernierllc/agents-environment-config | Cursor rule | 11 | today | MIT | A | 788 | Cursor |
| releasing-operatorjumpstarter-dev/jumpstarter | Cursor rule | 237 | today | Apache-2.0 | A | 12 | Cursor |
| releaselouisbrulenaudet/monorepo-template | Cursor rule | 19 | 7d ago | Apache-2.0 | A | 0 | Cursor |
| ci-cd-workflowsmondaycom/vibe | Cursor rule | 695 | 4d ago | none | A | 0 | Cursor |
| cut-releaseahmadulhoq/agentskel | Cursor rule | 13 | 9d ago | MIT | A | 27 | Cursor |
| dev-workflowgracefullight/stock-checker | Cursor rule | 52 | today | none | A | 18 | Cursor |
| dev-workflowgracefullight/krds | Cursor rule | 47 | today | none | A | 18 | Cursor |