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/ivangrynenko/cursorrules/lagoon-yml-standardsgit clone --depth 1 https://github.com/ivangrynenko/cursorrulesWrote 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/ivangrynenko/cursorrules/lagoon-yml-standards)<a href="https://agentmods.dev/rules/ivangrynenko/cursorrules/lagoon-yml-standards"><img src="https://agentmods.dev/badge/rules/ivangrynenko/cursorrules/lagoon-yml-standards.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.00000 | $0.01095 |
| Opus 5 | $0.00000 | $0.00548 |
| Sonnet 5 | $0.00000 | $0.00219 |
| Haiku 4.5 | $0.00000 | $0.00110 |
Grade A, and why
lagoon-yml-standards 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.
Copies of this mod
1 near-identical copy found in the catalogue:
- lagoon-yml-standards — 100% identical, 0 lines differ
How it starts
The opening of the file, as written. The whole thing — 121 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Lagoon Configuration Standards
Ensures proper configuration and best practices for Lagoon deployment files, focusing on environment configuration, routes, tasks, and deployment workflows.
actions:
-
type: enforce conditions:
-
pattern: "environments:\s*[\w-]+:\sroutes:\s-\s*\w+:\s*-[^:]+:\stls-acme:\strue" message: "Ensure tls-acme is set to 'false' until DNS points to Lagoon to prevent certificate issuance failures"
-
pattern: "post-rollout:\s*-\srun:\scommand:\sdrush(?!.\|\|)" message: "Wrap Drush commands in proper error handling using '|| exit 1' to ensure deployment fails on command errors"
-
pattern: "pre-rollout:\s*-\srun:\scommand:\s*(?!.*if)" message: "Add conditional checks for pre-rollout tasks to ensure they only run when necessary"
-
pattern: "cronjobs:\s*-\sname:[^\n]\n\sschedule:\s'\\s\*'" message: "Use 'M' or 'H' notation for randomized cron scheduling to prevent server load spikes"
-
pattern: "routes:\s*-\s*\w+:\s*-[^:]+:\s*(?!.*redirects:)" message: "Consider configuring redirects for routes to handle legacy URLs or domain migrations"
-
-
type: suggest message: |
Lagoon Configuration Best Practices:
Environment Configuration
- Use environment-specific configurations for different deployment targets
- Define environment types for proper resource allocation
- Configure environment variables specific to each environment
- Use environment-specific routes and domains
Routes Configuration
- Configure routes with appropriate SSL settings
- Set up redirects for legacy URLs
- Configure proper insecure traffic handling (Allow or Redirect)
- Use wildcard domains for feature branch environments
Tasks Configuration
- Implement proper pre-rollout tasks with error handling
- Configure post-rollout tasks with appropriate conditions
- Use conditional task execution based on environment
- Include database sync in PR environments
- Implement proper backup strategies before major changes
Cron Configuration
- Use randomized cron schedules with 'M' and 'H' notation
- Set appropriate frequency for different tasks
- Ensure cron jobs have proper error handling
- Use descriptive names for cron jobs
Example Configuration:
environments: main: cronjobs: - name: drush-cron schedule: '*/15 * * * *' command: drush cron service: cli routes: - nginx: - example.com: tls-acme: true insecure: Redirect redirects: - www.example.com tasks: pre-rollout: - run: name: Drush pre-update command: | if drush status --fields=bootstrap | grep -q "Successful"; then drush state:set system.maintenance_mode 1 -y drush cr fi service: cli post-rollout: - run: name: Drush post-update command: | drush updb -y || exit 1 drush cr drush state:set system.maintenance_mode 0 -y service: cli -
type: validate conditions:
- pattern: "environments:\s*[\w-]+:\stypes:\s[^\n]*" message: "Define environment types for proper resource allocation and environment-specific configuration"
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 · 121 lines · 0 tokens per session scan A cf6d759582f1
lagoon-yml-standards is a cursor rule published in the GitHub repository ivangrynenko/cursorrules (88 stars, last pushed 10mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 1,095 tokens. 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-30.
Other cursor rules, from other repositories
java
Modern Java: records, sealed classes, streams, virtual threads.
javascript
Modern JavaScript: ES2023+, async patterns, common traps.
accessibility
Accessibility: semantic HTML, ARIA, keyboard navigation, testing.
cross-tool-config
Cross-tool AI config: what transfers between Cursor, Claude Code, Copilot, Windsurf, Gemini, and Codex.
angular
Angular: signals, standalone components, RxJS patterns.
django
Django: models, views, ORM best practices.