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/teampolarity/cosmos-mcp/codebase-memory-alwaysgit clone --depth 1 https://github.com/teampolarity/cosmos-mcpWhat 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.00017 | $0.00017 |
| Opus 5 | $0.00009 | $0.00009 |
| Sonnet 5 | $0.00003 | $0.00003 |
| Haiku 4.5 | $0.00002 | $0.00002 |
Grade A, and why
codebase-memory-always 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 2d 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
/Users/theodoreaddo/.cursor/rules/codebase-memory-always.mdc
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.
- 2d ago First seen · 1 lines · 17 tokens per session scan A f006754b21bc
codebase-memory-always is a cursor rule published in the GitHub repository teampolarity/cosmos-mcp (3 stars, last pushed 7d ago), licensed MIT. It adds 17 tokens to every session, about $0.0001 per session on Opus 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.
Other cursor rules, from other repositories
pytest
always run pytest at the end of a major change always run ruff lint at then end of any code changes.
cursorrules
Cursor rule "cursorrules" from contextstream/mcp-server, covering cursor rules, contextstream v0.4.x (consolidated domain tools), required every message, quick reference: domain tools and behavior rules.
virtualsms
Real-SIM SMS verification, number rentals, matching-country proxies and cloud browser sessions for AI agents via VirtualSMS MCP. Apply when the user asks for a phone number, SMS code, OTP, account verification (WhatsApp, Telegram, Tinder, Discord, Google, etc.), two-factor auth flow, number rental, proxy, or anything…
memforge-topology-trigger
Memforge 产品线拓扑图触发规则。 识别用户的拓扑相关意图,调用 Memforge 内置拓扑引擎(scantopology / querytopology 等 MCP 工具)。 拓扑可视化通过 Memforge WebUI 呈现。.
cursorrules
🧠 Fast, zero-dependency structured knowledge base (.agent-kb/) with 2D neural graph visualizer │ & MCP server for Claude, Codex, PI, Cursor, Windsurf, Zed & Other AI coding agents.
memforge-codebase-memory-routing
代码发现场景下优先使用 Codegraph MCP 远程服务进行结构化查询,减少 Token 消耗。 适用于同时接入了 Codegraph MCP 服务的环境。.