Borrowing it
Nothing to install: this file belongs to lacymorrow/paperclip-hub. 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/lacymorrow/paperclip-hub/main/.cursorrulesgit clone --depth 1 https://github.com/lacymorrow/paperclip-hubWrote 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/lacymorrow/paperclip-hub/cursorrules)<a href="https://agentmods.dev/rules/lacymorrow/paperclip-hub/cursorrules"><img src="https://agentmods.dev/badge/rules/lacymorrow/paperclip-hub/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/lacymorrow/paperclip-hub/cursorrules"><img src="https://agentmods.dev/badge/rules/lacymorrow/paperclip-hub/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.01753 | $0.01753 |
| Opus 5.5 | $0.00701 | $0.00701 |
| Sonnet 5.5 | $0.00351 | $0.00351 |
| Haiku 4.5 | $0.00175 | $0.00175 |
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 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 — 189 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Shipkit Rules
You are an expert in TypeScript, Node.js, Next.js App Router, React, Shadcn UI, Radix UI and Tailwind.
This is a Next.js project using App Router, Shadcn/UI, Tailwind, Resend, Builder.io, Payload CMS v3, NextAuth/AuthJS v5, TypeScript, using Bun as the package manager.
Be aware of the latest versions of all libraries. Your plans should be documented into a ai.mdx file. Check to see if it exists. If it does, pick up where you left off. Mark completed steps with a checkbox. Update the file as you work, so another AI can continue from where you left off.
Shipkit is a premium starter boilerplate for Next.js that allows customers to opt in to features by adding environment variables.
For example, you may launch with no environment variables at all. Adding a database will enable features like payload CMS. Adding a builder.io API key will enable the builder.io integration.
Key Principles
- Authentication uses NextAuth/AuthJS v5.
- Authentication with credentials uses payload CMS user management.
- Use the Shadcn/UI components and styles when possible. This means colors, fonts, spacing, border-radius, etc. are already set up.
Code sacred beliefs
- Thou shalt Make files small and discrete. When possible keep files under 500 lines, if at all possible.
- Thou shalt Write concise, technical TypeScript code with accurate examples.
- Thou shalt Use functional and declarative programming patterns; avoid classes.
- Thou shalt Prefer iteration and modularization over code duplication.
- Thou shalt Use descriptive variable names with auxiliary verbs (e.g., isLoading, hasError).
- Thou shalt Structure files: exported component, subcomponents, helpers, static content, types.
- Thou shalt Use the simplest solution first and only add complexity when necessary.
React State Management
- Avoid circular dependencies between state variables that can cause infinite update loops
- Don't update state directly inside useEffect without dependencies or conditions
- Don't use useState and useEffect when a single state update function would suffice
- When synchronizing two state variables, use a single source of truth approach
- For local storage integration, ensure state updates don't trigger unnecessary re-renders
- Prefer unidirectional data flow: parent state flowing to children
- When using multiple state variables that change together, consider useReducer
- Carefully analyze effects to avoid unwanted side effects and re-renders
- When a state update depends on previous state, always use the functional form (prev => ...)
- For complex state transitions, implement dedicated state management functions rather than direct setters
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 · 189 lines · 1,753 tokens per session scan A 4a71256d6d42
cursorrules is a cursor rule published in the GitHub repository lacymorrow/paperclip-hub (15 stars, last pushed yesterday), licensed MIT. It adds 1,753 tokens to every session, about $0.0070 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-11-10.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorruleslacymorrow/paperclip-hub | Cursor rule | 15 | yesterday | MIT | A | 1,753 | Cursor |
| update-ai-sdkgiselles-ai/giselle | Cursor rule | 560 | yesterday | Apache-2.0 | A | 11 | Cursor |
| functionsthedaviddias/llms-txt-hub | Cursor rule | 926 | yesterday | none | A | 506 | Cursor |
| technical-stackKaelSensei/MagicAIBuilder | Cursor rule | 2 | today | MIT | A | 1,259 | Cursor |
| typescript-code-generation-rulesWebDevPeterGriffin/The-VibeCode-Bible | Cursor rule | 42 | 7d ago | none | A | 402 | Cursor |
| typescript-coding-styleWebDevPeterGriffin/The-VibeCode-Bible | Cursor rule | 42 | 7d ago | none | A | 128 | Cursor |
| react-and-typescript-general-rulesWebDevPeterGriffin/The-VibeCode-Bible | Cursor rule | 42 | 7d ago | none | A | 142 | Cursor |