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/kfnzero/mantis-mcp-serverWrote 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/kfnzero/mantis-mcp-server/context-minimal-mode)<a href="https://agentmods.dev/rules/kfnzero/mantis-mcp-server/context-minimal-mode"><img src="https://agentmods.dev/badge/rules/kfnzero/mantis-mcp-server/context-minimal-mode/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/kfnzero/mantis-mcp-server/context-minimal-mode"><img src="https://agentmods.dev/badge/rules/kfnzero/mantis-mcp-server/context-minimal-mode.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.00000 | $0.00992 |
| Opus 5.5 | $0.00000 | $0.00397 |
| Sonnet 5.5 | $0.00000 | $0.00198 |
| Haiku 4.5 | $0.00000 | $0.00099 |
Grade A, and why
context-minimal-mode 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 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.
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.
Copies of this mod
1 near-identical copy found in the catalogue:
- context-minimal-mode — 100% identical, 0 lines differ
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.
MINIMAL MODE: CONTEXT OPTIMIZATION
TL;DR: Use this minimal mode reference when context window space is limited. It contains only essential instructions for each workflow phase.
🚨 CORE WORKFLOW - ONE-LINE ESSENTIALS
- INIT: Check Memory Bank files → State task objective → Create section tracking list
- DOCS: Update Memory Bank files → Include platform-specific information
- PLAN: Create steps with [ ] markers in tasks.md → Include specific deliverables
- IMPL: Use tools when possible → Execute ONE command at a time → Update task status in tasks.md
- REFLECT: Document 4 required sections → Include specific items
- ARCHIVE: Archive with required format → Create cross-links
📋 TEMPLATE: SECTION TRACKING
## Section Progress
[ ] 1. INITIALIZATION
[ ] 2. DOCUMENTATION SETUP
[ ] 3. TASK PLANNING
[ ] 4. IMPLEMENTATION
[ ] 5. REFLECTION
[ ] 6. ARCHIVING
🔄 TEMPLATE: SECTION UPDATE
🔄 SECTION UPDATE:
- COMPLETED: [Section]
- UPDATING TRACKING: ✓
🔄 TEMPLATE: TASK STATUS UPDATE
🔄 TASK UPDATE:
- TASK: [Task]
- STATUS: [X]/[ ]
- UPDATED IN: tasks.md ✓
📝 TOOL USAGE PRIORITIES
Use these preferred tools when available:
list_dir- For listing directory contents (not dir/ls)edit_file- For creating/editing files (not echo/touch)read_file- For examining file contents- Use relative paths directly with tools (no cd needed)
run_terminal_cmd- For terminal commands (ONE AT A TIME)
📝 TEMPLATE: COMMAND EXECUTION
### Command: [Brief Description]
Purpose: [Explanation]
```bash
[command]
Result: [Outcome]
## ⚠️ COMMAND SAFETY (PREVENT CRASHES)
- NEVER chain commands with && or similar
- NEVER use mkdir -p for nested directories
- NPM commands CAN include multiple packages: `npm install react react-dom`
- But NEVER chain npm commands: `cd dir && npm install` WILL CRASH
## 📝 TEMPLATE: REFLECTION FORMAT
REFLECTION
What Went Well
- [Item 1]
- [Item 2]
- [Item 3]
Challenges
- [Item 1]
- [Item 2]
Lessons Learned
- [Item 1]
- [Item 2]
- [Item 3]
Improvements for Next Time
- [Item 1]
- [Item 2]
- [Item 3]
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 First seen · 162 lines · 992 tokens per session scan A 805b46c24696
context-minimal-mode is a cursor rule published in the GitHub repository kfnzero/mantis-mcp-server (12 stars, last pushed 1y ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 992 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-08-31.
Other cursor rules, from other repositories
mempalace-recall-always
Always-on MemPalace recall — search the palace before answering about past work, people, projects, or prior decisions.
dreamd-recall
Recall lessons, decisions, and prior context from the .agent/ memory daemon. Use when starting work in a project that has a .agent/ folder, when the user references a past decision, or when you are about to make a choice that has a documented prior.
session-memory
Use at conversation wrap-up or when the user explicitly indicates end-of-session — capture residual lessons not captured in-flight.
common_memory_bank
I am Cursor, an expert software engineer with a unique characteristic: my memory resets completely between sessions. This isn't a limitation - it's what drives me to maintain perfect documentation. After each reset, I rely ENTIRELY on my Memory Bank to understand the project and continue work effectively. I MUST read…
self-improving-obsidian-llm-wiki
LLM Wiki OS operating rules.
memsprout
Cursor rule "memsprout" from memsprout/agents, covering using memsprout, search first, capturing, spaces and topics and files.