cursorrules

A set of project rules loaded from the .cursor/rules/ folder, with AGENTS.md directing contributors to the right rules. The rules cover coding standards, documentation, releases, GitHub work, and the project's Logseq and Python code.

In plain words
What is it for?
It helps guide code changes, static checks, documentation updates, release preparation, environment-file updates, and GitHub issue or pull-request work.
Why use it?
It keeps work consistent across different tasks and contributors by making project-specific instructions available when needed.

Cursor rule for Cursor

Install

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.

agentmods
npx agentmods add rules/marcoporcellato/matryca-plumber/cursorrules
Clone the repo
git clone --depth 1 https://github.com/MarcoPorcellato/matryca-plumber

Made for: Cursor.

Per session 366 This file is loaded in full into every session.
When invoked 366 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5 $0.00366 $0.00366
Opus 5 $0.00183 $0.00183
Sonnet 5 $0.00073 $0.00073
Haiku 4.5 $0.00037 $0.00037

Measured 2d ago against content hash b5cf05f76883, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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 2d 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.

.cursorrules · 20 lines

What it actually says

Matryca Plumber — Cursor rules index

Load task-specific rules from .cursor/rules/. Contributor router: AGENTS.md.

Rule Purpose
00-karpathy-agent-behavior.mdc Always — investigate, minimal diff, run checks
01-core-paradigm.mdc Logseq OG blocks/properties → docs/openspec/logseq-paradigm.md
02-python-standards.mdc *.py — uv, mypy strict, Pydantic
03-logseq-api.mdc Headless file I/O default
04-spatial-parser.mdc src/graph/, logseq_matryca_parser
05-release-preparation.mdc Semver release (on request)
06-auto-changelog.mdc CHANGELOG.md after user-visible changes
07-env-example.mdc .env.example sync
08-github-workflow-standards.mdc GitHub issues/PRs (on request)
09-github-identity-marco-porcellato.mdc Always — divieto assoluto Cursor/AI su GitHub
10-tooling-static-analysis-policy.mdc Vendor-agnostic public repo policy
11-prompt-maintainer.mdc Prompt fragments, Tier-1 builders, MCP docstrings (on request)
12-clean-code-architecture.mdc Clean Code & Clean Architecture — repo-wide boundaries, env_parse, layer tests
Changes

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.

  1. 2d ago First seen · 20 lines · 366 tokens per session scan A b5cf05f76883

Subscribe to this mod's changes

cursorrules is a cursor rule published in the GitHub repository MarcoPorcellato/matryca-plumber (96 stars, last pushed 2d ago), licensed Apache-2.0. It adds 366 tokens to every session, about $0.0018 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-08-30.