claude-project-setup

claude-project-setup is a cursor rule for Cursor from mohitagw15856/pm-claude-skills. It costs 162 tokens per session (1,238 once invoked), scanned A, original, MIT.

A project-context setup guide for an AI coding agent, including a CLAUDE.md file or similar instructions file. It records the project's structure, conventions, commands, and boundaries.

In plain words
What is it for?
Use it to document a repository, define build, test, lint, and run commands, record coding conventions, and set rules for risky or forbidden changes.
Why use it?
It gives the agent the background it cannot safely guess, reducing incorrect changes and repeated explanations.

Cursor rule for Cursor

Written for Cursor: a Cursor rule (.mdc). Also seen: mentions CLAUDE.md; mentions Claude Code.

Good fit Use it to document a repository, define build, test, lint, and run commands, record coding conventions, and set rules for risky or forbidden changes.

Compare 6 cursor rules from other repositories ↓
Install with agentmods
npx agentmods add rules/mohitagw15856/pm-claude-skills/claude-project-setup
About the project

PM Skills is a collection of plain-Markdown instructions that teach AI assistants structured methods for handling professional, personal, and life-admin tasks. People use it with Claude, ChatGPT, Gemini, Cursor, Codex, and other supported agents for work such as writing product requirements, reviewing documents, or planning difficult situations.

mohitagw15856/pm-claude-skills · 1,618 stars · on GitHub · mohitagw15856.github.io

Install

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.

Clone the repo
git clone --depth 1 https://github.com/mohitagw15856/pm-claude-skills

Made for: Cursor.

Wrote 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.

agentmods badge for claude-project-setup

README.md
[![agentmods](https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/claude-project-setup/github.svg)](https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/claude-project-setup)
Your own site
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/claude-project-setup"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/claude-project-setup/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.

agentmods 80×15 button for claude-project-setup

Your own site · 80×15
<a href="https://agentmods.dev/rules/mohitagw15856/pm-claude-skills/claude-project-setup"><img src="https://agentmods.dev/badge/rules/mohitagw15856/pm-claude-skills/claude-project-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 162 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,238 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00162 $0.01238
Opus 5.5 $0.00065 $0.00495
Sonnet 5.5 $0.00032 $0.00248
Haiku 4.5 $0.00016 $0.00124

Measured today against content hash dcbf3d3fcb76, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

claude-project-setup 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 today.

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.

exports/cursor/pm-ai-native/claude-project-setup/claude-project-setup.mdc · 74 lines

How it starts

The opening of the file, as written. The whole thing — 74 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Claude Project Setup

An AI coding agent is only as good as the context it starts with — drop it into a repo with no orientation and it guesses at your architecture, conventions, and commands. A good CLAUDE.md (or equivalent project-context file) is the onboarding doc that turns flailing into fluency. This builds yours: the architecture and conventions the agent needs, the commands to run, the guardrails on what not to touch, and a habit to keep it current.

What This Skill Produces

  • A structured CLAUDE.md — the sections an agent actually needs: what the project is, architecture/layout, key conventions, the commands (build/test/lint/run), and the do-nots
  • The right altitude — enough to orient the agent fast, not an exhaustive doc it drowns in; signal over completeness
  • Guardrails — what the agent must not touch, how to run tests before claiming done, and where irreversible actions need a human
  • Convention capture — the implicit rules a human learns over months (naming, patterns, where things go) made explicit
  • A commands block — the exact commands to build, test, lint, and run, so the agent verifies its own work
  • A maintenance habit — updating it as the project changes so it doesn't drift into wrong

Required Inputs

Ask for these if not provided:

  • The project — what it is, the stack, rough architecture
  • The conventions — the patterns and rules you'd tell a new hire
  • The commands — how to build, test, lint, run
  • The danger zones — what an agent should never touch or must be careful with
  • Your agent — Claude Code, Cursor, etc. (file name/location may differ)

Framework: Orient, Constrain, Verify, Maintain

  1. Orient fast. Lead with what the project is and its architecture at a glance — the agent needs the map before the details.
  2. Capture the implicit conventions. The rules a human absorbs over months (where files go, naming, preferred patterns) are exactly what an agent can't infer — write them down.
  3. Give the commands. Build/test/lint/run commands let the agent verify its own work instead of guessing — this single section prevents most bad output.
  4. Set guardrails. What not to touch, always-run-tests-before-done, and where a human must approve — so autonomy doesn't become damage.
  5. Keep the altitude right. Enough to be useful, short enough to be read — prune anything that doesn't change the agent's behavior.
  6. Maintain it. Update as the project evolves; a stale context file is worse than none because it misleads.

Read the full file on GitHub · 74 lines

Changes

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.

  1. today Changed dcbf3d3fcb76
  2. 3d ago Changed 77ad35bd48a2
  3. 18d ago Changed 19b71743a293
  4. 21d ago Changed · +3 lines 34e3f184c4b2
  5. 22d ago Changed · +2 lines 74dec1638369
  6. 2mo ago First seen · 69 lines · 162 tokens per session scan A 5856e681f024

Subscribe to this mod's changes

claude-project-setup is a cursor rule published in the GitHub repository mohitagw15856/pm-claude-skills (1,618 stars, last pushed yesterday), licensed MIT. It adds 162 tokens to every session and 1,238 once invoked, about $0.0006 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-09-03.

Related

claude-project-setup compared with cursor rules from other repositories

claude-project-setup next to 6 cursor rules from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
claude-project-setupmohitagw15856/pm-claude-skillsCursor rule1.6kyesterdayMITA162Cursor
ponytailDietrichGebert/ponytailCursor rule201k8d agoMITA604Cursor
angular-20angular/angularCursor rule102k5d agoMITA0Cursor
dev-standardapache/supersetCursor rule76ktodayApache-2.0A1,147Cursor
prefer-assertions-over-defensive-checksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
prefer-direct-imports-over-module-mocksprisma/ormCursor rule48ktodayApache-2.0A0Cursor
shared-plane-packagesprisma/ormCursor rule48ktodayApache-2.0A0Cursor