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/thearnavrustagi/marketmenow/webgit clone --depth 1 https://github.com/thearnavrustagi/marketmenowWhat 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.00499 |
| Opus 5 | $0.00000 | $0.00249 |
| Sonnet 5 | $0.00000 | $0.00100 |
| Haiku 4.5 | $0.00000 | $0.00050 |
Grade A, and why
web 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 today.
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
Web Dashboard Rules
Architecture
The web app spawns mmn CLI commands as subprocesses — it does not call the
Python pipeline directly. cli_runner.py handles subprocess execution and
progress parsing. Real-time updates flow through EventHub → WebSocket.
Adapter CLIs are mounted as hidden groups in marketmenow/cli.py
(hidden=True). They don't appear in mmn --help but remain callable by the
web frontend. New workflows (like reddit-launch) use mmn run <name> directly.
Key Modules
app.py— FastAPI app with lifespan (DB pool + queue worker), WebSocket at/ws/content/{item_id}, route registration, static/output mounts.cli_runner.py—run_cli()andrun_cli_streaming(). DefinesPLATFORM_META(JSON params) andBUILDERS(command constructors). Progress parsed via regex.queue_worker.py—run_queue_loop()background task. Polls DB queue, checks per-platform rate limits, callsrun_cli_streamingfor each job.events.py—EventHubpub/sub per content-item UUID.ProgressEventtypes:phase,progress,wait,log,stderr,done,error.db.py— asyncpg pool, all DB operations (content, queue, rate limits, post log).
Patterns
- Routes live in
routes/as separateAPIRouterinstances. - Templates are Jinja2 in
templates/. - Static assets in
static/(CSS, JS). - Generated output mounted at
/outputfromsettings.output_dir.
Adding a Platform to the Dashboard
- Add an entry to
PLATFORM_METAincli_runner.py(label, modality, params). - Write generate and publish
CommandBuilderfunctions. - Register them in the
BUILDERSdict. - No route changes needed — the generate page auto-discovers from
PLATFORM_META.
Database
PostgreSQL via asyncpg. Pool initialized in lifespan, closed on shutdown.
MMN_WEB_DATABASE_URL env var required.
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.
- today First seen · 49 lines · 0 tokens per session scan A f4106adc30c6
web is a cursor rule published in the GitHub repository thearnavrustagi/marketmenow (132 stars, last pushed 4mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 499 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-09-01.
Other cursor rules, from other repositories
didclaw-project
DidClaw 仓库总则 — 整合期协作、目录、品牌与 Git 纪律.
didclaw-security
DidClaw 安全与类型 — Tauri 权限、IPC、供应链与 TypeScript 边界.
didclaw-client
Cursor rule "didclaw-client" from didclawapp-ai/didclaw, covering didclaw 客户端(lclaw-ui), 技术栈, 常用命令(在 lclaw-ui/ 下), 实现约定 and 发布相关(备忘).
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.