env-vars-minimal

env-vars-minimal is a cursor rule for Cursor from jaycewalzer1/SilverKey-Inc.. It costs 602 tokens per session, scanned A, original, MIT.

A set of rules for keeping environment-variable configuration minimal. Environment variables are settings supplied outside the code, often for integrations or deployment.

In plain words
What is it for?
It is for deciding whether a new .env key is needed when adding an integration or a deployment surface.
Why use it?
It helps prevent unnecessary settings from being added to the project, which keeps configuration smaller and easier to understand.

Cursor rule for Cursor

Written for Cursor: installed under .cursor/.

Good fit It is for deciding whether a new .env key is needed when adding an integration or a deployment surface.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/jaycewalzer1/silverkey-inc./env-vars-minimal
Install

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.

Clone the repo
git clone --depth 1 https://github.com/jaycewalzer1/SilverKey-Inc.

Made for: Cursor.

Wrote 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.

agentmods badge for env-vars-minimal

README.md
[![agentmods](https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./env-vars-minimal/github.svg)](https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./env-vars-minimal)
Your own site
<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./env-vars-minimal"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./env-vars-minimal/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.

agentmods 80×15 button for env-vars-minimal

Your own site · 80×15
<a href="https://agentmods.dev/rules/jaycewalzer1/silverkey-inc./env-vars-minimal"><img src="https://agentmods.dev/badge/rules/jaycewalzer1/silverkey-inc./env-vars-minimal.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 602 This file is loaded in full into every session.
When invoked 602 The same file — it is already loaded in full.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00602 $0.00602
Opus 5.5 $0.00241 $0.00241
Sonnet 5.5 $0.00120 $0.00120
Haiku 4.5 $0.00060 $0.00060

Measured 3mo ago against content hash 246b1fab0898, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

env-vars-minimal 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.

.cursor/rules/shared/env-vars-minimal.mdc · 62 lines

How it starts

The opening of the file, as written. The whole thing — 62 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Environment variables — minimal surface

Default: do not add keys to any .env or .env.example file.

Every new env var is operational debt: local setup, CI secrets, deploy config, and docs must stay in sync. Prefer existing configuration first.

Prefer instead

Need Use
Feature toggle / dev behavior PostHog flags, existing config modules, JSON config (logger.config.json, etc.)
Non-secret default Constants in code, shared config under Client/packages/config/ or Server/config/
Secret already in AWS Existing Server/scripts/secrets.sh flow — do not invent parallel secret paths
API URL / environment Reuse EXPO_PUBLIC_API_URL, FLASK_ENV, existing deploy env in CI

When adding IS justified

Add a new env var only when the task introduces something that must be configured per environment and cannot use existing keys:

  • A new third-party integration (API key, OAuth client, webhook secret)
  • A new deployment target or infrastructure surface (region, bucket, queue URL)
  • A new build-time public key required by a SDK (maps, analytics, OAuth) with no existing var

If unsure, ask the user before editing any .env* file.

If you must add one

  1. Server secrets: extend the appropriate AWS Secrets Manager secret and regenerate via Server/scripts/secrets.sh — do not hand-edit Server/.env.example for secret keys unless that script flow is updated in the same change.
  2. Client public vars: add to Client/.env.example only; never commit real values. Match existing EXPO_PUBLIC_* naming.
  3. Document why in the PR — what integration requires it and why existing vars are insufficient.
  4. Never commit populated .env files (see security.mdc).

Server-specific constraint

Flask startup validates every key listed in Server/.env.example via config_validator.py. A new key there becomes mandatory for all local and non-test runs — another reason to avoid casual additions.

Read the full file on GitHub · 62 lines

Changes

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.

  1. 3mo ago First seen · 62 lines · 602 tokens per session scan A 246b1fab0898

Subscribe to this mod's changes

env-vars-minimal is a cursor rule published in the GitHub repository jaycewalzer1/SilverKey-Inc. (2 stars, last pushed 1mo ago), licensed MIT. It adds 602 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.

Related

env-vars-minimal compared with cursor rules from other repositories

env-vars-minimal next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
env-vars-minimaljaycewalzer1/SilverKey-Inc.Cursor rule21mo agoMITA602Cursor
ponytailDietrichGebert/ponytailCursor rule202k9d agoMITA604Cursor
angular-20angular/angularCursor rule102ktodayMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor