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.
git clone --depth 1 https://github.com/Intrafere/MOTO-Autonomous-ASIWrote 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/intrafere/moto-autonomous-asi/latex-renderer)<a href="https://agentmods.dev/rules/intrafere/moto-autonomous-asi/latex-renderer"><img src="https://agentmods.dev/badge/rules/intrafere/moto-autonomous-asi/latex-renderer/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/intrafere/moto-autonomous-asi/latex-renderer"><img src="https://agentmods.dev/badge/rules/intrafere/moto-autonomous-asi/latex-renderer.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.00016 | $0.02881 |
| Opus 5 | $0.00008 | $0.01440 |
| Sonnet 5 | $0.00003 | $0.00576 |
| Haiku 4.5 | $0.00002 | $0.00288 |
Grade A, and why
latex-renderer 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 9d 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 — 190 lines — stays where its author put it; the contents beside it link to each section on GitHub.
LaTeX Renderer System
🔒 CRITICAL SECURITY REQUIREMENTS
DOMPurify sanitization MUST be active in LatexRenderer.jsx. Processes untrusted LLM output — XSS risk without it.
Required implementation:
import DOMPurify from 'dompurify';in LatexRenderer.jsxDOMPURIFY_CONFIGconstant defined (see below)renderedHtmlSmalluseMemo (single chunk) and per-chunkrenderedHtmluseMemo both callDOMPurify.sanitize()AFTERrenderLatexToHtml()dangerouslySetInnerHTMLreceives ONLY sanitized HTML
DOMPurify Configuration (REQUIRED)
const DOMPURIFY_CONFIG = {
ALLOWED_TAGS: [
'div', 'span', 'p', 'br', 'hr', 'strong', 'b', 'em', 'i', 'u', 's', 'sub', 'sup', 'small',
'h1', 'h2', 'h3', 'h4', 'h5', 'h6', 'ul', 'ol', 'li', 'dl', 'dt', 'dd',
'table', 'thead', 'tbody', 'tr', 'th', 'td',
'math', 'semantics', 'mrow', 'mi', 'mo', 'mn', 'msup', 'msub', 'mfrac', 'mroot',
'msqrt', 'mtext', 'mspace', 'mtable', 'mtr', 'mtd', 'annotation', 'annotation-xml',
'svg', 'path', 'line', 'rect', 'circle', 'g', 'use', 'defs', 'clippath',
],
ALLOWED_ATTR: [
'class', 'id', 'title', 'style',
'mathvariant', 'encoding', 'xmlns', 'displaystyle', 'scriptlevel',
'columnalign', 'rowalign', 'columnspacing', 'rowspacing', 'stretchy',
'symmetric', 'fence', 'separator', 'lspace', 'rspace', 'accent',
'accentunder', 'movablelimits', 'minsize', 'maxsize', 'width', 'height',
'd', 'viewBox', 'preserveAspectRatio', 'fill', 'stroke', 'stroke-width',
'transform', 'x', 'y', 'dx', 'dy', 'x1', 'y1', 'x2', 'y2', 'r', 'cx', 'cy',
'href', 'xlink:href', 'clip-path',
],
ALLOW_DATA_ATTR: false,
ALLOW_ARIA_ATTR: false,
FORBID_TAGS: ['script', 'iframe', 'object', 'embed', 'form', 'input', 'button', 'textarea', 'select', 'option', 'link', 'style', 'base', 'meta'],
FORBID_ATTR: ['onerror', 'onclick', 'onload', 'onmouseover', 'onfocus', 'onblur', 'onchange', 'onsubmit', 'onkeydown', 'onkeyup', 'onmousedown', 'onmouseup'],
SANITIZE_DOM: true,
};
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.
- 9d ago First seen · 190 lines · 16 tokens per session scan A f63e6b2f001a
latex-renderer is a cursor rule published in the GitHub repository Intrafere/MOTO-Autonomous-ASI (83 stars, last pushed 5d ago), licensed MIT. It adds 16 tokens to every session and 2,881 once invoked, about $0.0001 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.
Other cursor rules, from other repositories
frontend-preview
An offline preview and screenshot-checking workflow for the desktop interface. It replays saved AI event scenarios in the real interface, so developers can inspect intermediate streaming states without a backend or live AI service.
color-tokens
A rule set for choosing interface colors through shared semantic design tokens. These tokens are named meanings such as primary, success, notice, or destructive rather than fixed color values.
desktop-layout
A set of desktop web-page layout rules covering content widths, spacing, text sizes, corner rounding, buttons, icons, and narrow-screen behaviour.
frontend-architecture
// Request interceptor for ecosystem ID const injectEcosystemId = (config: any) => { let ecosystemId = window.getCurrentEcosystemId() || localStorage.getItem('ecosystemId'); if (ecosystemId && config.headers) { config.headers['X-Ecosystem-ID'] = ecosystemId; } return config; }.
react
React and TypeScript conventions for the frontend.
dashboard-typescript
React and TypeScript standards for the operator dashboard.