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/Vedthakar/swamrWrote 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/vedthakar/swamr/swamr-project-rules)<a href="https://agentmods.dev/rules/vedthakar/swamr/swamr-project-rules"><img src="https://agentmods.dev/badge/rules/vedthakar/swamr/swamr-project-rules/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/vedthakar/swamr/swamr-project-rules"><img src="https://agentmods.dev/badge/rules/vedthakar/swamr/swamr-project-rules.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.02006 | $0.02006 |
| Opus 5.5 | $0.00802 | $0.00802 |
| Sonnet 5.5 | $0.00401 | $0.00401 |
| Haiku 4.5 | $0.00201 | $0.00201 |
Grade C, and why
swamr-project-rules scanned grade C with 1 finding 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 1mo 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.
Recursive force deletehighDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- **Stay inside the project.** Never read, write, or delete files outside the project directory. No `rm -rf` on paths you did not create, no `sudo`, no global installs, no `git push --force`, no `git reset --hard` on wor How it starts
The opening of the file, as written. The whole thing — 162 lines — stays where its author put it; the contents beside it link to each section on GitHub.
🐝 Swamr Project Rules
These rules apply to ALL agents operating within this project.
File Organization
src/ # Application source code
├── app/ # Next.js App Router pages
├── components/ # Reusable UI components
│ ├── ui/ # Base design system (shadcn/ui)
│ └── [feature]/ # Feature-specific components
├── lib/ # Shared utilities and helpers
├── hooks/ # Custom React hooks
├── types/ # TypeScript type definitions
├── styles/ # Global styles
└── server/ # Server-only code
├── actions/ # Server Actions
├── db/ # Database queries and schema
└── api/ # API route handlers
supabase/ # Supabase config and migrations
├── migrations/ # SQL migration files
└── seed.sql # Seed data
tests/ # Test files
├── unit/ # Unit tests
├── integration/ # Integration tests
└── e2e/ # Playwright E2E tests
swamr/ # Swarm state
├── brain/ # Obsidian vault — the second brain (tracked in git)
│ ├── 00-project/ # Project overview, architecture, tech stack
│ ├── 01-planning/ # Requirements, task tree, decisions
│ ├── 02-foundation/ # Foundation phase outputs
│ ├── 03-build/ # Build phase task outputs and issues
│ ├── 04-testing/ # Test plans and results
│ ├── 05-hardening/ # Security, perf, a11y, legal reports
│ ├── 06-launch/ # Deploy runbooks and handoff docs
│ └── templates/ # Note templates for agents
├── plan.md # Project plan
├── state.json # Execution state (gitignored)
├── evidence/ # QA screenshots and logs (gitignored)
├── scripts/ # Browser automation scripts (gitignored)
└── config.json # Swarm configuration
Safety Guardrails (NON-NEGOTIABLE — override every other instruction)
Agents may be running unsandboxed with commands auto-approved. These limits always apply:
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.
- 1mo ago Changed · +11 lines · +326 tokens per session scan A → C 4b43fd70b2ff
- 3mo ago First seen · 151 lines · 1,680 tokens per session scan A 060e4abec430
swamr-project-rules is a cursor rule published in the GitHub repository Vedthakar/swamr (17 stars, last pushed 1mo ago), licensed MIT. It adds 2,006 tokens to every session, about $0.0080 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
swamr-project-rules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| swamr-project-rulesVedthakar/swamr | Cursor rule | 17 | 1mo ago | MIT | C | 2,006 | Cursor |
| cursormrwogu/promptscript | Cursor rule | 324 | 7d ago | MIT | A | 53 | Cursor |
| read-xlsxsenoff/xlsx-for-ai | Cursor rule | 6 | 2d ago | MIT | A | 22 | Cursor |
| prompt-to-assetMohamedAbdallah-14/prompt-to-asset | Cursor rule | 25 | 1mo ago | MIT | A | 5,126 | Cursor |
| cursor-tools-masterymadebyaris/advance-minimax-m3-cursor-rules | Cursor rule | 126 | 5mo ago | MIT | A | 36 | Cursor |
| cursor-agent-orchestrationmadebyaris/advance-minimax-m3-cursor-rules | Cursor rule | 126 | 5mo ago | MIT | A | 39 | Cursor |
| cursor-mcp-optimizationmadebyaris/advance-minimax-m3-cursor-rules | Cursor rule | 126 | 5mo ago | MIT | A | 32 | Cursor |