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/bex-co/beancount-ioWrote 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/bex-co/beancount-io/config-project)<a href="https://agentmods.dev/rules/bex-co/beancount-io/config-project"><img src="https://agentmods.dev/badge/rules/bex-co/beancount-io/config-project/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/bex-co/beancount-io/config-project"><img src="https://agentmods.dev/badge/rules/bex-co/beancount-io/config-project.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.00547 | $0.00547 |
| Opus 5.5 | $0.00219 | $0.00219 |
| Sonnet 5.5 | $0.00109 | $0.00109 |
| Haiku 4.5 | $0.00055 | $0.00055 |
Grade A, and why
config-project 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 yesterday.
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 — 68 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Configuration Management Rules
Centralized Configuration
All configuration for this project must be centralized in the src/config/ directory.
Configuration Files Structure
src/config/config.ts- Main application configuration (preferred location for new configs)src/config/stripe.ts- Legacy Stripe payment configuration (keep for historical reasons)- Additional config files - Add new config files here as needed, but prefer adding to
config.tswhen possible
Import Rules
✅ CORRECT - Import from config directory
// Import main config
import { config } from '@/config/config';
import { SUBSCRIPTION_CONFIG } from '@/config/stripe';
// Use config values
const port = config.server.port;
const stripeConfig = SUBSCRIPTION_CONFIG['beancount-web-prod'];
❌ WRONG - Direct process.env imports
// NEVER do this
const port = process.env.PORT;
const stripeKey = process.env.STRIPE_PRIVATE_KEY;
const dbUri = process.env.POSTGRES_BACKEND_URI;
Configuration Principles
- Single Source of Truth: All environment variables must be read only in config files
- Type Safety: All config values must be properly typed with interfaces
- Default Values: Provide sensible defaults for all configuration values
- Environment Separation: Use different configs for dev/prod environments
- Validation: Validate required environment variables at startup
Adding New Configuration
When adding new configuration:
- Prefer adding to
config.ts- This is the main configuration file - Only create new config files if the configuration is very large or domain-specific
- Define TypeScript interfaces for type safety
- Read from process.env only in config files
- Export the config for use in other modules
- Keep
stripe.tsas-is - It's legacy configuration that should not be moved
Environment Variables
Environment variables should be:
- Read only in config files
- Have default values where appropriate
- Be properly typed in TypeScript interfaces
- Documented in README or environment setup docs
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.
- yesterday First seen · 68 lines · 547 tokens per session scan A af2588b77288
config-project is a cursor rule published in the GitHub repository bex-co/beancount-io (808 stars, last pushed yesterday), licensed MIT. It adds 547 tokens to every session, about $0.0022 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-12-01.
config-project compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| config-projectbex-co/beancount-io | Cursor rule | 808 | yesterday | MIT | A | 547 | Cursor |
| optionsgetsentry/sentry-java | Cursor rule | 1.4k | today | MIT | A | 5 | Cursor |
| scopesgetsentry/sentry-java | Cursor rule | 1.4k | today | MIT | A | 7 | Cursor |
| offlinegetsentry/sentry-java | Cursor rule | 1.4k | today | MIT | A | 4 | Cursor |
| 40-vfs-saf-architectureMannanSaood/termi | Cursor rule | 12 | yesterday | MIT | A | 0 | Cursor |
| data-storage-apiUM-ARK/UM-All-Frontend | Cursor rule | 20 | yesterday | none | A | 35 | Cursor |
| android-networking-retrofit-okhttpkrutikJain/android-agent-skills | Cursor rule | 15 | 8mo ago | MIT | A | 21 | Cursor |