Borrowing it
Nothing to install: this file belongs to Mohamedsaleh14/ContextGit. 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/Mohamedsaleh14/ContextGit/main/.cursorrulesgit clone --depth 1 https://github.com/Mohamedsaleh14/ContextGitWrote 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/mohamedsaleh14/contextgit/cursorrules)<a href="https://agentmods.dev/rules/mohamedsaleh14/contextgit/cursorrules"><img src="https://agentmods.dev/badge/rules/mohamedsaleh14/contextgit/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/mohamedsaleh14/contextgit/cursorrules"><img src="https://agentmods.dev/badge/rules/mohamedsaleh14/contextgit/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.00421 | $0.00421 |
| Opus 5.5 | $0.00168 | $0.00168 |
| Sonnet 5.5 | $0.00084 | $0.00084 |
| Haiku 4.5 | $0.00042 | $0.00042 |
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 2mo 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.
What it actually says
Cursor Rules for ContextGit
This Project Uses contextgit for Requirements Traceability
This repository is managed with contextgit. The AI assistant MUST follow these workflows:
When Making Changes to Requirements or Documentation
-
BEFORE editing any file in
docs/:- Run
contextgit relevant-for-file <path>to understand related requirements - Run
contextgit extract <ID>to get precise context for specific requirements
- Run
-
AFTER editing any file in
docs/:- Run
contextgit scan docs/ --recursiveto update the index - Run
contextgit status --staleto check for broken links - If stale links found, update affected downstream items
- Run
When Adding New Requirements
- Generate a new ID:
contextgit next-id <type>- Types:
business,system,architecture,code,test,decision
- Types:
- Add YAML frontmatter to the Markdown file with the generated ID
- Run
contextgit scan docs/ --recursiveto register it
When a Requirement Changes
- After editing, run
contextgit scan docs/ --recursive - Check for stale downstream items:
contextgit status --stale --format json - Update downstream items if needed
- Mark as synchronized:
contextgit confirm <ID>
JSON Output for Parsing
Always use --format json when the output needs to be parsed:
contextgit show SR-010 --format json
contextgit status --stale --format json
contextgit extract SR-010 --format json
Detection
This is a contextgit project if .contextgit/config.yaml exists.
Project Info
- Tool: contextgit v1.0.1
- Purpose: Requirements traceability for LLM-assisted development
- Index file:
.contextgit/requirements_index.yaml - Config file:
.contextgit/config.yaml
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.
- 2mo ago First seen · 53 lines · 421 tokens per session scan A b75567c78f34
cursorrules is a cursor rule published in the GitHub repository Mohamedsaleh14/ContextGit (10 stars, last pushed 11mo ago), licensed MIT. It adds 421 tokens to every session, about $0.0017 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-08-31.
cursorrules compared with cursor rules from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| cursorrulesMohamedsaleh14/ContextGit | Cursor rule | 10 | 11mo ago | MIT | A | 421 | Cursor |
| nauro-ship-taskNauro-AI/nauro | Cursor rule | 11 | yesterday | Apache-2.0 | A | 49 | Cursor |
| desktop-release-gateopensquad-ai/opensquad | Cursor rule | 7 | 17d ago | MIT | A | 0 | Cursor |
| roslyn-mcp-version-bumpVuDZ/RoslynMcpServer | Cursor rule | 8 | yesterday | MIT | A | 524 | Cursor |
| git_workflowagbcloud/agbcloud-sdk | Cursor rule | 206 | 7mo ago | Apache-2.0 | A | 8 | Cursor |
| sciclaw-papercutssciclaw/sciclaw | Cursor rule | 11 | 3mo ago | none | A | 607 | Cursor |
| repo-contextstarter-series/mcp-server-starter | Cursor rule | 0 | 2d ago | MIT | A | 80 | Cursor |