Borrowing it
Nothing to install: this file belongs to konflux-ci/konflux-devlake-mcp. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/konflux-ci/konflux-devlake-mcp/main/.cursorrulesgit clone --depth 1 https://github.com/konflux-ci/konflux-devlake-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/konflux-ci/konflux-devlake-mcp/cursorrules)<a href="https://agentmods.dev/rules/konflux-ci/konflux-devlake-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/konflux-ci/konflux-devlake-mcp/cursorrules/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/konflux-ci/konflux-devlake-mcp/cursorrules"><img src="https://agentmods.dev/badge/rules/konflux-ci/konflux-devlake-mcp/cursorrules.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.02103 | $0.02103 |
| Opus 5.5 | $0.00841 | $0.00841 |
| Sonnet 5.5 | $0.00421 | $0.00421 |
| Haiku 4.5 | $0.00210 | $0.00210 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 248 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Konflux DevLake MCP Server - Cursor Rules
Project Overview
This is a Model Context Protocol (MCP) server that provides tools for querying and analyzing data from the Konflux DevLake database. The server exposes tools for database operations, incident analysis, deployment tracking, and PR retest analysis.
Code Style & Formatting
Python Code Style
- Formatter: Use
blackwith line length 100- Command:
black --line-length 100 . - Always format code before committing
- Command:
- Linter: Use
flake8for code quality- Command:
flake8 . - Fix all linting errors before committing
- Command:
- Type Hints: Use type hints for all function parameters and return types
- Docstrings: Use Google-style docstrings for all classes and functions
YAML Code Style
- Linter: Use
yamllintfor YAML file validation- Command:
yamllint . - Configuration file:
.yamllint(extends default, max line length 200) - Fix all linting errors before committing
- Applies to:
.github/workflows/*.yaml,k8s/*.yaml, and all other YAML files
- Command:
Code Formatting Rules
- Maximum line length: 100 characters
- Use double quotes for strings (black default)
- Use trailing commas in multi-line collections
- Use f-strings for string formatting (not
.format()or%) - Use
async/awaitfor all database operations and tool calls - NO EMOJIS: Do not use any emojis in code, comments, docstrings, or any project files
Architecture Patterns
Tool Creation Pattern
All tools must:
- Inherit from
BaseToolintools/base/base_tool.py - Implement
get_tools()method returning a list ofToolobjects - Implement
call_tool(name, arguments)method for async tool execution - Use
log_tool_call()for all tool invocations - Return TOON-encoded strings for token efficiency (not JSON)
Tool Structure
class MyTool(BaseTool):
def __init__(self, db_connection):
super().__init__(db_connection)
self.logger = get_logger(f"{__name__}.MyTool")
def get_tools(self) -> List[Tool]:
return [Tool(name="...", description="...", inputSchema={...})]
async def call_tool(self, name: str, arguments: Dict[str, Any]) -> str:
# Use toon_encode for output
return toon_encode(result, {"delimiter": ",", "indent": 2, "lengthMarker": ""})
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 · +3 tokens per session 41e1edaa13e9
- 2mo ago First seen · 248 lines · 2,100 tokens per session scan A 2d78654503b0
cursorrules is a cursor rule published in the GitHub repository konflux-ci/konflux-devlake-mcp (10 stars, last pushed today), licensed Apache-2.0. It adds 2,103 tokens to every session, about $0.0084 per session on Opus 5.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.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorruleskonflux-ci/konflux-devlake-mcp | Cursor rule | 10 | today | Apache-2.0 | A | 2,103 | Cursor |
| as-contract-cast-smellprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 943 | Cursor |
| no-backward-compatibilityprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |
| postgresqlsanjeed5/awesome-cursor-rules-mdc | Cursor rule | 3.6k | 5mo ago | CC0-1.0 | A | 2,337 | Cursor |
| ehs-ims-conventionsSafetyMP/Autonomous-EHS-Management | Cursor rule | 9 | 6d ago | Apache-2.0 | A | 722 | Cursor |
| sync-timedb-archive-janitor-contractTACC/HPCPerfStats | Cursor rule | 60 | today | LGPL-2.1 | A | 0 | Cursor |
| schemaGktuOktay/ai-skills | Cursor rule | 2 | 2mo ago | MIT | A | 0 | Cursor |