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 agentmods add rules/chbhargavareddy/claimsprocessingassistant-mcp/global-rulegit clone --depth 1 https://github.com/chbhargavareddy/ClaimsProcessingAssistant-MCPWrote 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/chbhargavareddy/claimsprocessingassistant-mcp/global-rule)<a href="https://agentmods.dev/rules/chbhargavareddy/claimsprocessingassistant-mcp/global-rule"><img src="https://agentmods.dev/badge/rules/chbhargavareddy/claimsprocessingassistant-mcp/global-rule.svg" alt="Measured on agentmods" 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 | $0.00770 | $0.00770 |
| Opus 5 | $0.00385 | $0.00385 |
| Sonnet 5 | $0.00154 | $0.00154 |
| Haiku 4.5 | $0.00077 | $0.00077 |
Grade A, and why
global-rule 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 4d 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
Your rule content
Project Guidelines for ClaimProcessingAssistant MCP Server
🔄 Project Awareness & Context
- Always read
PLANNING.mdat the start of a new conversation to understand the project's architecture, goals, style, and constraints. - Check
TASK.mdbefore starting a new task. If the task isn't listed, add it with a brief description and today's date. - Use consistent naming conventions, file structure, and architecture patterns as described in
PLANNING.md.
🧱 Code Structure & Modularity
- Never create a file longer than 500 lines of code. If a file approaches this limit, refactor by splitting it into modules or helper files.
- Organize code into clearly separated modules, grouped by feature or responsibility.
- Use clear, consistent imports (prefer absolute imports with path aliases for better maintainability).
- Follow a layered architecture separating MCP protocol handlers, business logic, and data access.
🧪 Testing & Reliability
- Always create Jest unit tests for new features (functions, classes, routes, etc).
- After updating any logic, check whether existing unit tests need to be updated. If so, do it.
- Tests should live in a
__tests__folder alongside the modules they test.- Include at least:
- 1 test for expected use
- 1 edge case
- 1 failure case
- Include at least:
- Use TypeScript's type system to prevent errors at compile time.
✅ Task Completion
- Mark completed tasks in
TASK.mdimmediately after finishing them. - Add new sub-tasks or TODOs discovered during development to
TASK.mdunder a "Discovered During Work" section.
📎 Style & Conventions
- Use TypeScript as the primary language.
- Follow ESLint and Prettier configurations for consistent style.
- Use Zod for data validation and runtime type checking.
- Use Express.js for the server and Prisma/TypeORM for database access.
- Implement proper TypeScript interfaces and types for all entities:
interface Claim { id: string; policyNumber: string; claimantId: string; status: ClaimStatus; submittedAt: Date; // other properties } enum ClaimStatus { SUBMITTED = 'submitted', UNDER_REVIEW = 'under_review', APPROVED = 'approved', REJECTED = 'rejected' }
📚 Documentation & Explainability
- Update README.md when new features are added, dependencies change, or setup steps are modified.
- Comment non-obvious code and ensure everything is understandable to a mid-level developer.
- When writing complex logic, add an inline # Reason: comment explaining the why, not just the what.
🧠 AI Behavior Rules
- Never assume missing context. Ask questions if uncertain.
- Never hallucinate libraries or functions – only use known, verified npm packages.
- Always confirm file paths and module names exist before referencing them in code or tests.
- Never delete or overwrite existing code unless explicitly instructed to or if part of a task from TASK.md.
- Implement proper error handling for all MCP functions to provide clear feedback to AI assistants.
🔒 Security Considerations
- Always validate and sanitize input from AI assistants through MCP.
- Use parameterized queries for database operations to prevent SQL injection.
- Implement proper authentication for all MCP function calls.
- Log security-relevant events for audit purposes.
- Follow least privilege principle when designing database access patterns.
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.
- 4d ago First seen · 80 lines · 770 tokens per session scan A b3b55ac5eb48
global-rule is a cursor rule published in the GitHub repository chbhargavareddy/ClaimsProcessingAssistant-MCP (5 stars, last pushed 12d ago), licensed MIT. It adds 770 tokens to every session, about $0.0038 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 cursor rules, from other repositories
angular-20
This rule provides comprehensive best practices and coding standards for Angular development, focusing on modern TypeScript, standalone components, signals, and performance optimizations.
dev-standard
Apache Superset development standards and guidelines for Cursor IDE.
cli-error-handling
CLI command error handling patterns.
prefer-direct-imports-over-module-mocks
Prefer extracting a testable core over vi.mock / vi.resetModules when unit tests need to reach production logic entangled with config, env, or singletons.
control-plane-descriptors
Control plane descriptor and instance implementation patterns.
family-instance-domain-actions
Family instance domain action implementation patterns.