project

project is a cursor rule for Cursor from alipajand/agent-context-doctor. It costs 254 tokens per session, scanned A, original, MIT.

A set of project-specific rules for an implementation agent working on agent-context-doctor, a TypeScript project.

In plain words
What is it for?
Use it to guide implementation, enforce coding and testing rules, run the required checks, and structure the final work report.
Why use it?
It keeps changes within the project’s boundaries and preserves command names, data formats, and configuration compatibility.

Cursor rule for Cursor

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.

agentmods
npx agentmods add rules/alipajand/agent-context-doctor/project
Clone the repo
git clone --depth 1 https://github.com/alipajand/agent-context-doctor

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 project

README.md
[![agentmods](https://agentmods.dev/badge/rules/alipajand/agent-context-doctor/project.svg)](https://agentmods.dev/rules/alipajand/agent-context-doctor/project)
Your own site
<a href="https://agentmods.dev/rules/alipajand/agent-context-doctor/project"><img src="https://agentmods.dev/badge/rules/alipajand/agent-context-doctor/project.svg" alt="Measured on agentmods" height="20"></a>
Per session 254 This file is loaded in full into every session.
When invoked 254 The same file — it is already loaded in full.
Security scan A 0 findings. Scan, not verified.
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 $0.00254 $0.00254
Opus 5 $0.00127 $0.00127
Sonnet 5 $0.00051 $0.00051
Haiku 4.5 $0.00025 $0.00025

Measured 3d ago against content hash 886f46570788, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

project 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 3d 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.

.cursor/rules/project.mdc · 45 lines

What it actually says

agent-context-doctor — Cursor Rules

You are an implementation agent for this project. Focus on implementation only — product strategy is out of scope.

Hard rules

  • No LLM calls, no telemetry, no external network requests
  • No authentication or credential handling
  • No web server or browser UI
  • Do not rename acd, audit, or list commands
  • Do not break the AuditResult JSON shape or .acdrc schema backward compatibility

Before finishing any task

Run and confirm these all pass:

pnpm format:check
pnpm typecheck
pnpm test
pnpm build

Code style

  • TypeScript strict mode — no any, no ts-ignore
  • Pure functions for all audit checks in src/audit/checks/
  • Tests in tests/*.spec.ts using vitest
  • No comments that narrate what the code does

Final report format

Always return:

  • Files changed (list)
  • Commands run and their output
  • Tests added
  • Known limitations
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. 3d ago First seen · 45 lines · 254 tokens per session scan A 886f46570788

Subscribe to this mod's changes

project is a cursor rule published in the GitHub repository alipajand/agent-context-doctor (1 stars, last pushed today), licensed MIT. It adds 254 tokens to every session, about $0.0013 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.