Borrowing it
Nothing to install: this file belongs to Hajjy22/animai. 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/Hajjy22/animai/master/.cursorrulesgit clone --depth 1 https://github.com/Hajjy22/animaiWrote 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/hajjy22/animai/cursorrules)<a href="https://agentmods.dev/rules/hajjy22/animai/cursorrules"><img src="https://agentmods.dev/badge/rules/hajjy22/animai/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/hajjy22/animai/cursorrules"><img src="https://agentmods.dev/badge/rules/hajjy22/animai/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.00627 | $0.00627 |
| Opus 5.5 | $0.00251 | $0.00251 |
| Sonnet 5.5 | $0.00125 | $0.00125 |
| Haiku 4.5 | $0.00063 | $0.00063 |
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 2mo 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 — 32 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Animon Project - Agentic Engineering Specification
Project Identity
You are building AnimAI, an MCP (Model Context Protocol) server and CLI tool that injects pre-vetted 3D/motion components into existing codebases using AST (Abstract Syntax Tree) manipulation. Do NOT generate mathematical 3D loops or GLSL shaders from scratch; always retrieve from the static template cache.
Tech Stack
- Runtime: Node.js (TypeScript)
- AST Engine:
@ast-grep/napi - MCP SDK:
@modelcontextprotocol/sdk(usingstdiotransport) - Output Targets: Next.js 14/15, React Three Fiber (R3F), GSAP, Tailwind CSS v4
1. MCP Server Constraints
- Use the
stdiotransport to act as a local subprocess for IDEs. - Keep tool definition schemas completely flat. Do not use deeply nested parameter objects, as this increases agent timeout latency [cite: 4].
- Tool outputs must be deterministic JSON containing the dependency list, the integration instructions, and the target code.
2. AST Manipulation Rules (CRITICAL)
- NEVER use Regular Expressions (Regex) or string
.replace()to modify user code. It is brittle and corrupts files. - ALWAYS use
@ast-grep/napiwith the "Find & Patch" methodology to safely traverse and inject imports, variables, and JSX nodes [cite: 5, 6].
3. WebGL & React Three Fiber Constraints
- VRAM Memory Leaks: R3F does not auto-dispose GPU resources [cite: 7]. Every generated 3D component MUST include a manual
useEffectcleanup function that traverses the scene and calls.dispose()on all geometries, materials, and textures [cite: 8, 9]. - Canvas Sizing: The
<Canvas>wrapper must always be injected into a parent container with explicit CSS dimensions (e.g.,h-screen w-full relative). - Inline Assets: For small 3D primitives (
.glb), encode them as Base64 data URIs inline to avoid CORS blocking on local dev servers.
4. Next.js 14/15 Constraints
- SSR Safety: WebGL crashes Node.js servers [cite: 10]. Any file utilizing Three.js, R3F, or
windowAPIs MUST have the"use client"directive at the top [cite: 11]. - Hydration: When injecting heavy canvas elements into a layout, wrap the import with
next/dynamicand set{ ssr: false }to prevent hydration mismatches [cite: 12].
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.
- 2mo ago First seen · 32 lines · 627 tokens per session scan A 987641ef151c
cursorrules is a cursor rule published in the GitHub repository Hajjy22/animai (0 stars, last pushed 3mo ago), licensed MIT. It adds 627 tokens to every session, about $0.0025 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 |
|---|---|---|---|---|---|---|---|
| cursorrulesHajjy22/animai | Cursor rule | 0 | 3mo ago | MIT | A | 627 | Cursor |
| mainamxv/terminal-mcp | Cursor rule | 10 | 4mo ago | Apache-2.0 | C | 1,186 | Cursor |
| registry-bases-parityproductdevbook/shadcn-htmx | Cursor rule | 76 | 5mo ago | MIT | A | 0 | Cursor |
| ponytailDietrichGebert/ponytail | Cursor rule | 185k | 8d ago | MIT | A | 604 | Cursor |
| angular-20angular/angular | Cursor rule | 101k | yesterday | MIT | A | 0 | Cursor |
| dev-standardapache/superset | Cursor rule | 75k | yesterday | Apache-2.0 | A | 1,147 | Cursor |
| prefer-assertions-over-defensive-checksprisma/orm | Cursor rule | 48k | yesterday | Apache-2.0 | A | 0 | Cursor |