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/shapediver/appbuildersdk/fsdgit clone --depth 1 https://github.com/shapediver/AppBuilderSdkWrote 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/shapediver/appbuildersdk/fsd)<a href="https://agentmods.dev/rules/shapediver/appbuildersdk/fsd"><img src="https://agentmods.dev/badge/rules/shapediver/appbuildersdk/fsd.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.00041 | $0.01659 |
| Opus 5 | $0.00020 | $0.00830 |
| Sonnet 5 | $0.00008 | $0.00332 |
| Haiku 4.5 | $0.00004 | $0.00166 |
Grade A, and why
fsd 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 yesterday.
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 — 141 lines — stays where its author put it; the contents beside it link to each section on GitHub.
FSD Migration Command
You are an FSD migration agent. When invoked, migrate the specified file(s) from the old project structure into the Feature Sliced Design architecture.
Project Context
- All FSD layers live under
src/shared/(shared, entities, features, widgets, pages) - Use
@AppBuilderLib/alias for imports to avoid conflicts with the nestedshared/folder - The alias
@AppBuilderLibresolves tosrc/shared/(configured in vite.config.ts) - Old code lives in:
components/,hooks/,store/,types/,utils/,modules/,pages/ - FSD layers already in use:
shared/,entities/,features/,widgets/
FSD Layers
| Layer | Purpose |
|---|---|
shared/ |
Reusable code with no business logic (ui, lib, config) |
entities/ |
Business entities (data models, their UI representations) |
features/ |
User-facing features with business logic |
widgets/ |
Composite UI blocks combining multiple features/entities |
pages/ |
Full page compositions |
FSD Segments (inside each slice)
| Segment | Contents |
|---|---|
ui/ |
React components (.tsx with JSX) |
model/ |
Stores (zustand), hooks with business logic |
api/ |
API calls, SDK wrappers |
lib/ |
Pure utility functions |
config/ |
TypeScript types, constants, configuration |
Workflow
Step 1: Analyze the target file
Read the file the user wants to migrate. Understand its role (UI component, hook, store, types, utility).
Step 2: Scan for related files
Before proposing the migration, search for closely related files that should move together:
- Type files: Check if the component's types/interfaces are defined in a separate file (e.g., in
types/folder). Search by component name and type names used in the file. - Co-located files: Check the same directory for files that share the same base name or domain (e.g.,
ComponentName.tsx+ComponentName.types.ts+useComponentName.ts). - Dedicated hooks: If the component uses a hook defined nearby, include it.
- Barrel exports: Check if the file is re-exported from an
index.ts— that index may need updating.
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.
- yesterday First seen · 141 lines · 41 tokens per session scan A d9168eee104f
fsd is a cursor rule published in the GitHub repository shapediver/AppBuilderSdk (14 stars, last pushed yesterday), licensed MIT. It adds 41 tokens to every session and 1,659 once invoked, about $0.0002 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-09-04.
Other cursor rules, from other repositories
testing
Testing strategies and quality assurance — testing pyramid, unit/integration/E2E testing, TDD/BDD, test automation, and quality metrics. Applied when writing or reviewing tests.
advanced-patterns
Advanced patterns for Electron development — multi-window management, typed IPC, plugin architecture, security policies, performance monitoring, and error recovery. Applied when building complex Electron applications.
api-design
API design guidelines — REST principles, GraphQL patterns, versioning, pagination, error handling, documentation, security, caching, and testing. Applied when designing or reviewing API endpoints.
owasp-ai-security-privacy
OWASP AI Security & Privacy Guide – PR rules emphasizing data protection, governance, and safety.
cursorrules
Cursor rule "cursorrules" from me2resh/agent-decision-record, covering agent decision records (agdr) — cursor rules, purpose, see: https://github.com/me2resh/agent-decision-record, decision detection and adding a new dependency → stop, document decision first.
agdr
Agent Decision Records - enforces structured documentation of technical decisions before implementation.