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/tianmuji/figma-restoration-tools/cursorrulesgit clone --depth 1 https://github.com/tianmuji/figma-restoration-toolsWrote 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/tianmuji/figma-restoration-tools/cursorrules)<a href="https://agentmods.dev/rules/tianmuji/figma-restoration-tools/cursorrules"><img src="https://agentmods.dev/badge/rules/tianmuji/figma-restoration-tools/cursorrules.svg" alt="Measured on agentmods" 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.00252 | $0.00252 |
| Opus 5 | $0.00126 | $0.00126 |
| Sonnet 5 | $0.00050 | $0.00050 |
| Haiku 4.5 | $0.00025 | $0.00025 |
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 5d 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.
This is a copy
94% identical to project — 3 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.
What it actually says
Cursor 编辑器规则配置
🚫 禁止修改的文件
以下文件由自动化系统维护,请勿手动修改:
组件自动注册文件
src/components/index.ts- 此文件使用 Vite glob import 自动扫描和注册所有组件- 规则: 当需要添加新组件时,只需在
src/components/下创建新的组件目录,无需修改此文件
自动生成的配置文件
*.generated.ts- 任何以.generated.ts结尾的文件package-lock.json- NPM依赖锁定文件yarn.lock- Yarn依赖锁定文件
✅ 添加新组件的正确方式
1. 创建组件目录结构
src/components/NewComponent/
├── index.vue # Vue组件文件
├── metadata.json # 组件元数据
└── images/ # 组件素材目录
2. 组件会自动被注册
src/components/index.ts会自动发现并导出新组件- 无需手动添加 import 语句
- 无需手动添加到导出列表
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.
- 5d ago First seen · 28 lines · 252 tokens per session scan A 198d6de4f5b9
cursorrules is a cursor rule published in the GitHub repository tianmuji/figma-restoration-tools (0 stars, last pushed 1y ago), licensed MIT. It adds 252 tokens to every session, about $0.0013 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to project, differing in 3 lines, and is treated as a copy.
Other cursor rules, from other repositories
svelte-5-vs-svelte-4-cursorrules-prompt-file
Cursor rules for comparing Svelte 5 and Svelte 4 development.
sveltekit-typescript-guide-cursorrules-prompt-file
Cursor rules for SvelteKit development with TypeScript integration.
vue-typescript-patterns
Cursor rule "vue-typescript-patterns" from soaring-xiongkulu/easyaiot, covering vue3 + typescript 开发规范, vue 组件规范, vue sfc 组件规范, typescript 规范 and 状态管理.
svelte-mcp-tools
Instructions for using the Svelte MCP server tools for documentation lookup, code analysis, and validation.
frontend-component
Vue component structure, styling, derived state, modals, icons, DaisyUI/Tailwind frontend component conventions.
frontend
Vue frontend — components, Vitest, generated API client, apiCallWithLoading, DaisyUI. Read this first for any frontend work.