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/bkotos/todoist-mcp/cursorrulesgit clone --depth 1 https://github.com/bkotos/todoist-mcpWrote 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/bkotos/todoist-mcp/cursorrules)<a href="https://agentmods.dev/rules/bkotos/todoist-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/bkotos/todoist-mcp/cursorrules.svg" alt="Measured on agentmods" 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 | $0.01974 | $0.01974 |
| Opus 5 | $0.00987 | $0.00987 |
| Sonnet 5 | $0.00395 | $0.00395 |
| Haiku 4.5 | $0.00197 | $0.00197 |
Grade A, and why
cursorrules scanned grade A 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 4d 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.
Makes network callslowCapability
Not a fault in itself. Listed so you know the mod talks to something, and to what.
if (axios.isAxiosError(error)) { How it starts
The opening of the file, as written. The whole thing — 316 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Todoist MCP Server - Development Standards
TDD Approach
ALWAYS write tests first:
- Red - Write a failing test
- PAUSE - Ask user to pause and read the tests before proceeding to green
- Green - Write minimal code to make it pass
- Refactor - Improve code while keeping tests green
Architecture
- Use functional programming approach with pure functions
- Separate concerns: client logic in
client.ts, business logic intodoist.ts - Use Vitest module mocking for testing (not dependency injection)
- Keep functions small and focused on single responsibility
Code Style
- Use 2 spaces for indentation (configured in .editorconfig)
- Prefer const over let, avoid var
- Use arrow functions for consistency
- Use template literals for string interpolation
- Use destructuring for cleaner code
Testing
-
Write tests first (TDD approach)
-
Use descriptive test names that explain the behavior
-
Mock modules at the top of test files with
vi.mock('./module') -
Import Vitest types only, not runtime functions:
// ✅ Good - import types only import type { MockedFunction, Mocked } from 'vitest'; // ❌ Bad - import runtime functions import { vi, describe, it, expect } from 'vitest'; -
Test both success and error cases
-
Keep tests focused and isolated
-
Tests are sufficient validation - do NOT start/run the project manually
-
Running
npm testis the only validation needed for new features -
Do NOT use
npm run dev,npx tsx src/index.ts, or any server startup commands -
Do NOT check server logs or verify server is running
-
Focus on test coverage and test results only
AAA Test Pattern
ALWAYS follow this exact structure:
it('should do something', async () => {
// arrange
const mockClient = {
get: vi.fn().mockResolvedValue({ data: mockData }),
};
mockGetTodoistClient.mockReturnValue(mockClient);
// act
const result = await functionName();
// assert
expect(result).toContain('expected output');
expect(mockClient.get).toHaveBeenCalledWith('/endpoint');
});
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.
- 4d ago First seen · 316 lines · 1,974 tokens per session scan A 97f3218042fc
cursorrules is a cursor rule published in the GitHub repository bkotos/todoist-mcp (0 stars, last pushed 8mo ago), licensed MIT. It adds 1,974 tokens to every session, about $0.0099 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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
manual-review.backend
Manual Review backend 規約——backend-only change 特別規約 + 標準流程(含 verify channel baseline);動 server / test / e2e / supabase 時 path-scoped 載入.
proactive-skills.design-checkpoint
UI / design 工作的 Design Checkpoint、design skill 觸發順序、Design Review template、Design Gate、Cross-Change holistic review 與非 UI exception;動 UI 檔或寫 design artifact 時 path-scoped 載入.
follow-up-register
Follow-up Register 規則——強制 tasks.md 的未解決項目使用 @followup[TD-xxx] marker 並在 docs/tech-debt.md 留下可追蹤 entry;archive gate 攔截未登記 marker.
query-optimization
查詢優化、EXPLAIN、index 設計與 RLS 效能測量.
skill-management
🔒 LOCKED — managed by clade Source: rules/core/skill-management.md Edit at: $CLADEHOME Local edits will be reverted by the next sync. -->.
security-policy
🔒 LOCKED — managed by clade Source: rules/core/security-policy.md Edit at: $CLADEHOME Local edits will be reverted by the next sync. -->.