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/skeyelab/directus-mcp-server/cursorrulesgit clone --depth 1 https://github.com/Skeyelab/directus-mcp-serverWhat 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.00506 | $0.00506 |
| Opus 5 | $0.00253 | $0.00253 |
| Sonnet 5 | $0.00101 | $0.00101 |
| Haiku 4.5 | $0.00051 | $0.00051 |
Grade A, and why
cursorrules 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 yesterday.
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.
How it starts
The opening of the file, as written. The whole thing — 49 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Directus MCP Server Cursor Rules
Toolset Organization
When adding new tools or features to this MCP server, always organize them into appropriate toolsets:
-
Schema and Content tools must belong to the
defaulttoolset - This ensures backward compatibility and allows clients to access core tools when no specific toolset is requested. -
Flow tools do NOT belong to the
defaulttoolset - Flow tools are only in theflowtoolset and must be explicitly requested. -
Assign tools to their specific toolset:
- Schema-related tools →
schematoolset (collections, fields, relations, schema snapshots) - Content-related tools →
contenttoolset (items CRUD, queries, bulk operations) - Flow-related tools →
flowtoolset (workflow automation, triggers) - NOT in default
- Schema-related tools →
-
Toolset assignment format:
// For schema and content tools: { name: 'tool_name', description: 'Tool description', inputSchema: z.object({...}), toolsets: ['default', 'schema'] as const, // Always include 'default' + specific toolset handler: async (client, args) => {...} } // For flow tools: { name: 'tool_name', description: 'Tool description', inputSchema: z.object({...}), toolsets: ['flow'] as const, // Only 'flow', NOT 'default' handler: async (client, args) => {...} } -
When creating new tool files:
- Determine which toolset the tools belong to based on their functionality
- Schema and content tools: Add to both
defaultand their specific toolset - Flow tools: Add ONLY to
flowtoolset (notdefault) - Update the toolset filtering logic in
src/index.tsif adding a new toolset category
-
Toolset types are defined in
src/types/index.tsas:export type Toolset = 'default' | 'schema' | 'content' | 'flow';
This organization allows clients to filter tools using the MCP_TOOLSETS environment variable, improving AI agent accuracy by reducing tool confusion. The default toolset contains only schema and content tools, while flow tools must be explicitly requested.
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.
- yesterday First seen · 49 lines · 506 tokens per session scan A 67166ab16c97
cursorrules is a cursor rule published in the GitHub repository Skeyelab/directus-mcp-server (0 stars, last pushed 9mo ago), licensed MIT. It adds 506 tokens to every session, about $0.0025 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-09-01.
Other cursor rules, from other repositories
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.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.
specs
This directory contains product and tech specs for Streamlit features.