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/marcoporcellato/matryca-plumber/04-spatial-parsergit clone --depth 1 https://github.com/MarcoPorcellato/matryca-plumberWhat 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.00000 | $0.00170 |
| Opus 5 | $0.00000 | $0.00085 |
| Sonnet 5 | $0.00000 | $0.00034 |
| Haiku 4.5 | $0.00000 | $0.00017 |
Grade A, and why
04-spatial-parser 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.
What it actually says
Spatial RAG and Logseq markdown
- Internal Primitives First: For injecting properties, extracting frontmatter, or handling namespaces, use the robust internal utilities located in
src/graph/(e.g.,page_properties.py,page_path.py,markdown_blocks.py). - Code Block Immunity: When scanning or modifying inline text, always use
global_fence_scanner.pyto identify protected lines. NEVER modify text inside Markdown code blocks (```), HTML comments, or Logseq queries. - External Parsing: For complex spatial tree extraction (converting bullet outlines into LLM context), delegate to the external package
logseq_matryca_parser. Do not reinvent AST tree-walking logic.
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.
- 2d ago First seen · 9 lines · 0 tokens per session scan A 43638dc3238a
04-spatial-parser is a cursor rule published in the GitHub repository MarcoPorcellato/matryca-plumber (96 stars, last pushed 3d ago), licensed Apache-2.0. It costs nothing until one of its globs matches a file; then it loads 170 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-30.
Other cursor rules, from other repositories
rag-design-for-overall-program
Canonical direct-injection and RAG offload policy for Aggregator, Compiler, and Autonomous modes.
aionforge-memory
Aionforge Memory cadence and vocabulary — recall first, capture as you go, track tasks as work items.
debug-capture-pipeline
Debug llm-wiki-memory capture/recall — flush breadcrumbs, daily-vs-compile lag, failed-distill stash recovery, embedding cache, hook wiring. Use when memory didn't capture, doesn't recall, or a hook/cron looks broken.
chronos
Time-awareness for coding agents. Consult shell clock + file mtimes before reasoning about "when" or "how long ago". No hooks on Cursor — degraded mode only.
codebase
Forensic codebase brief for AI agents.
session-memory
Use at conversation wrap-up or when the user explicitly indicates end-of-session — capture residual lessons not captured in-flight.