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/iloveitaly/llm-ide-rulesWrote 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/iloveitaly/llm-ide-rules/secrets)<a href="https://agentmods.dev/rules/iloveitaly/llm-ide-rules/secrets"><img src="https://agentmods.dev/badge/rules/iloveitaly/llm-ide-rules/secrets/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/iloveitaly/llm-ide-rules/secrets"><img src="https://agentmods.dev/badge/rules/iloveitaly/llm-ide-rules/secrets.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.00000 | $0.00439 |
| Opus 5.5 | $0.00000 | $0.00176 |
| Sonnet 5.5 | $0.00000 | $0.00088 |
| Haiku 4.5 | $0.00000 | $0.00044 |
Grade A, and why
secrets 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 8d 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.
What it actually says
Secrets
Here's how environment variables are managed in this application:
.envrcentry point to load the correct env stack. Should not contain secrets and should be simple some shell logic and direnv stdlib calls.env/all.shcommon configuration for all systems. No secrets. No dotenv/custom scripts. Justexports to modify core configuration settings likeexport TZ=UTC.env/all.local.shoverrides across all environments (dev and test). Useful for things like 1Password service account token and database hosts which mutate the logic followed inenv/not_production.sh. Not committed to source control.env/host.shhost-specific configuration overrides. Empty for main repo, contains port offsets and host prefixes for git worktrees. Auto-generated byjust dev_generate_hosts. Not committed to source control.env/not_production.shThis contains the bulk of your system configuration. Shared across test, CI, dev, etc but not production.env/dev.local.shconfiguration overrides for non-test environments.PYTHONBREAKPOINT,LOG_LEVEL, etc. Most of your environment changes end up happening here.env/test.shtest-only environment variables (PYTHON_ENV=test). This file should generally be short.env/production.{backend,frontend}.shfor most medium-sized projects you'll have separate frontend and backend systems (even if your frontend is SPA, which I'm a fan of). These two files enable you to document the variables required to build (in the case of a SPA frontend) or run (in the case of a python backend) your system in production.env/*local.*files have a-examplevariant which is committed to version control. These document helpful environment variables for local development. Make sure these two are in sync.- Within
op_inject_sourcefor each unique 1Password UUID, add a comment with the name of the item and a link to the 1Password item. i.e.# item "My Item".
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.
- 8d ago First seen · 20 lines · 0 tokens per session scan A a60ed1a82162
secrets is a cursor rule published in the GitHub repository iloveitaly/llm-ide-rules (13 stars, last pushed today), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 439 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-11-22.
secrets compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| secretsiloveitaly/llm-ide-rules | Cursor rule | 13 | today | MIT | A | 0 | Cursor |
| ai-kbiamironz/ai-config-bundle | Cursor rule | 2 | 8mo ago | MIT | A | 277 | Cursor |
| creating-cursor-rulespr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 16 | Cursor |
| roslyn-mcp-docs-agentsVuDZ/RoslynMcpServer | Cursor rule | 9 | yesterday | MIT | A | 798 | Cursor |
| codesynapse-clisohilladhani/codesynapse | Cursor rule | 9 | 4mo ago | MIT | A | 0 | Cursor |
| rule-03pr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 0 | Cursor |
| rule-08pr-pm/prpm | Cursor rule | 125 | 1mo ago | MIT | A | 0 | Cursor |