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 skills add HKTITAN/cursor-best-practices --skill cursor-best-practicesgit clone --depth 1 https://github.com/HKTITAN/cursor-best-practicesWrote 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/skills/hktitan/cursor-best-practices/cursor-best-practices)<a href="https://agentmods.dev/skills/hktitan/cursor-best-practices/cursor-best-practices"><img src="https://agentmods.dev/badge/skills/hktitan/cursor-best-practices/cursor-best-practices/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/skills/hktitan/cursor-best-practices/cursor-best-practices"><img src="https://agentmods.dev/badge/skills/hktitan/cursor-best-practices/cursor-best-practices.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.00106 | $0.04291 |
| Opus 5 | $0.00053 | $0.02145 |
| Sonnet 5 | $0.00021 | $0.00858 |
| Haiku 4.5 | $0.00011 | $0.00429 |
Grade A, and why
cursor-best-practices 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 — 235 lines — stays where its author put it; the contents beside it link to each section on GitHub.
cursor-best-practices
A structured repository for creating and maintaining Cursor Best Practices optimized for agents and LLMs. This skill provides references/ (on-demand docs) and assets/templates/ (rule, command, and subagent templates) covering rules, commands, skills, subagents, ignore files, Agent security, workflows, and community resources.
When to use
Apply this skill when users:
- Set up or initialize Cursor, create the
.cursorfolder, or ask "setup my .cursor folder" - Write or edit
.cursor/rules, AGENTS.md, or rule frontmatter - Create or use slash commands, skills, or subagents
- Configure
.cursorignoreor.cursorindexingignore - Work with Agent modes (Agent, Ask, Plan, Debug), semantic search, or @mentions
- Ask about TDD, git-style commands, large codebases, or Cursor workflows
- Discover rules or MCPs (cursor.directory) or skill recommendations (skills.sh)
- Ask about plugins, hooks, Cloud Agent, CLI, worktrees, or deeplinks
Rules
Locations: Project .cursor/rules/ (.md/.mdc), user Cursor Settings → Rules, Team dashboard. Precedence: Team → Project → User.
Types and when to use:
| Type | When to use |
|---|---|
| Always Apply | Must affect every request (e.g. "No any in TS", "Run tests before done"). Use sparingly. |
| Apply Intelligently | General guidance when relevant (e.g. "Prefer functional components"). |
| Apply to Specific Files | Use globs (e.g. **/*.test.ts, **/api/**). Rule loads only when those files are in context. |
| Apply Manually | User invokes with @rule-name when needed (e.g. release process, legacy quirks). |
Frontmatter: description (keyword-rich, helps relevance), globs (file-specific), alwaysApply (use rarely). Keep each rule <500 lines; split by concern, link to references/. AGENTS.md = project-root plain markdown alternative; no frontmatter.
Best practices: Composable rules, concrete examples. Reference—don't copy—long runbooks. Start simple; add rules when the agent keeps making the same mistake. Migrate legacy .cursorrules to Project Rules or AGENTS.md.
What ships with it
49 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- assets/recommended-skills.md 3.7 KB
- assets/templates/agents/accessibility-checker.md 2.3 KB
- assets/templates/agents/architect.md 2.7 KB
- assets/templates/agents/debugger.md 1.5 KB
- assets/templates/agents/dependency-manager.md 1.9 KB
- assets/templates/agents/documenter.md 1.6 KB
- assets/templates/agents/formatter.md 1.7 KB
- assets/templates/agents/linter.md 1.8 KB
- assets/templates/agents/migrator.md 1.8 KB
- assets/templates/agents/performance-analyzer.md 2.1 KB
- assets/templates/agents/refactorer.md 1.6 KB
- assets/templates/agents/reviewer.md 1.9 KB
- assets/templates/agents/security-auditor.md 1.8 KB
- assets/templates/agents/tester.md 1.6 KB
- assets/templates/agents/type-generator.md 2.4 KB
- assets/templates/agents/verifier.md 1.4 KB
- assets/templates/commands/analyze-deps.md 2.0 KB
- assets/templates/commands/check-coverage.md 1.6 KB
- assets/templates/commands/code-review.md 1.3 KB
- assets/templates/commands/docs.md 1005 B
- assets/templates/commands/fix-issue.md 855 B
- assets/templates/commands/format.md 1.2 KB
- assets/templates/commands/generate-types.md 1.9 KB
- assets/templates/commands/lint-and-fix.md 1.5 KB
- assets/templates/commands/make-cursor-compatible.md 6.3 KB
- assets/templates/commands/pr.md 1.1 KB
- assets/templates/commands/run-tests-and-fix.md 910 B
- assets/templates/commands/security-audit.md 1.2 KB
- assets/templates/commands/setup-new-feature.md 1.1 KB
- assets/templates/commands/update-deps.md 1015 B
- assets/templates/rules/_sections.md 1.6 KB
- assets/templates/rules/context-setup-cursor-folder.md 3.8 KB
- assets/templates/rules/context-use-at-mentions.md 3.2 KB
- assets/templates/rules/context-use-grep-and-semantic.md 2.9 KB
- assets/templates/rules/ignore-cursorignore-secrets.md 2.1 KB
- assets/templates/rules/make-codebase-cursor-compatible.md 4.7 KB
- assets/templates/rules/modes-plan-then-agent.md 2.3 KB
- assets/templates/rules/rules-keep-under-500-lines.md 2.2 KB
- assets/templates/rules/rules-use-globs.md 3.2 KB
- assets/templates/rules/rules-write-good-descriptions.md 3.4 KB
- assets/templates/rules/workflows-run-tests-before-done.md 1.9 KB
- CHANGELOG.md 2.2 KB
- references/agent-and-security.md 6.4 KB
- references/modes-context-tools.md 7.5 KB
- references/quick-reference.md 6.1 KB
- references/rules-and-commands.md 6.9 KB
- references/template-skill.md 474 B
- references/templates-index.md 1.8 KB
- references/workflows-and-codebases.md 6.2 KB
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 · 235 lines · 106 tokens per session scan A 63a69c633066
cursor-best-practices is a skill published in the GitHub repository HKTITAN/cursor-best-practices (5 stars, last pushed 6mo ago), licensed MIT. It adds 106 tokens to every session and 4,291 once invoked, about $0.0005 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-31.
Other skills, from other repositories
ralph
Persistent completion loop — execute the approved plan step by step until done.
noteplan
Read, search, create, and edit NotePlan notes and daily logs directly via the filesystem. Use this skill whenever the user references NotePlan, daily notes, weekly notes, project notes, or wants to check/update their planning. Triggers: 'noteplan', 'daily note', 'today's note', 'weekly note', 'check my notes', 'add to…
lno-task-prioritization
Classify tasks as Leverage, Neutral, or Overhead using Shreyas Doshi's LNO framework to maximize impact and reduce stress. Use when the user is planning their week, feeling overwhelmed, prioritizing a to-do list, doing sprint planning, or asking how to spend their time more effectively.
dynamic-context
Use when managing context window to optimize token usage and prevent context bloat.
waku-computer-use
Control local Mac apps through Waku Computer Use for tasks that require reading or operating app UI. Prefer purpose-built connectors, APIs, or CLIs when available.
cursor-delegate
Delegate bounded light-to-medium implementation, investigation, documentation, configuration, testing, and tooling work to Cursor Bridge after the primary agent owns direction and risk boundaries. Also use when the user explicitly asks to create, keep, continue, inspect, or close the same Cursor execution session…