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/tienan92it/binance-mcp/common-rulesgit clone --depth 1 https://github.com/tienan92it/binance-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/tienan92it/binance-mcp/common-rules)<a href="https://agentmods.dev/rules/tienan92it/binance-mcp/common-rules"><img src="https://agentmods.dev/badge/rules/tienan92it/binance-mcp/common-rules.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.00891 | $0.00891 |
| Opus 5 | $0.00445 | $0.00445 |
| Sonnet 5 | $0.00178 | $0.00178 |
| Haiku 4.5 | $0.00089 | $0.00089 |
Grade A, and why
common-rules 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.
How it starts
The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
I. Planning & Design Phase (Before Coding)
- Understand Goal & Context:
- Thoroughly grasp the purpose and requirements of the task.
- Ask clarifying questions if the request is ambiguous, incomplete, or could be interpreted in multiple ways. This is crucial to prevent incorrect assumptions that lead to flawed code.
- Consider the context (e.g., script, library, UI) to apply appropriate rigor.
- Top-Down Design:
- Start with a high-level overview.
- Define the overall architecture, identifying key components and their interactions.
- Interface-First Design:
- Define clear, simple, and stable interfaces for components before implementation.
- Specify: Inputs (types, constraints), Outputs (types), Pre/Post-conditions, Expected behavior, Side effects.
- Design for loose coupling and high cohesion.
- Decomposition:
- Break the task into the smallest logical, independent subtasks (functions/methods/modules).
- Ensure clear boundaries and responsibilities for each unit to facilitate testing and maintenance. II. Implementation Phase (Writing Code)
- Prioritize Research & Verification:
- CRITICAL: If unfamiliar with a library, framework, API, function, method, or feature, stop and verify its existence and usage.
- Consult Official Documentation First: Prioritize official documentation or highly reputable sources for verification.
- Verify Signatures & Parameters: Double-check function/method names, parameter names, types, and return values.
- Do Not Invent: Never invent functions, methods, classes, parameters, or API endpoints if they cannot be verified through reliable sources. It is better to state the inability to fulfill the request accurately or ask for more information than to generate potentially incorrect code.
- Prefer Stable & Documented Features: Use well-established, documented features over experimental or potentially deprecated ones unless specifically requested and verified.
- Generate Incrementally & Verify Steps (for complex tasks):
- For complex requests, generate code in smaller, logical increments.
- Mentally (or actually, if possible) verify each step or snippet before proceeding to the next. Ensure the generated code aligns with verified information and the overall goal.
- Follow Conventions & Standards:
- Strictly adhere to language-specific conventions (e.g., PEP 8 for Python) for naming, formatting, etc.
- Use linters/formatters where possible.
- Write Clean, Readable, Maintainable Code:
- Prioritize simplicity and clarity (KISS). Avoid unnecessary complexity.
- Use meaningful and descriptive names.
- Use named constants instead of magic numbers/strings.
- Apply Design Principles & Patterns Wisely:
- Implement SOLID principles where appropriate.
- Use design patterns when they solve a relevant problem effectively, but avoid over-engineering.
- Robust Error Handling & Logging:
- Implement comprehensive error handling (e.g., exceptions, checks). Handle expected errors gracefully.
- Integrate sensible logging using appropriate levels (DEBUG, INFO, WARNING, ERROR).
- Testing:
- Write unit tests for individual components, covering core logic and edge cases.
- Consider integration tests to verify component interactions.
- Security:
- Be mindful of potential security vulnerabilities (input validation, data handling, etc.). Sanitize inputs.
- Performance:
- Write efficient code, but avoid premature optimization. Use appropriate data structures/algorithms. Profile if necessary after ensuring correctness. III. Documentation & Explanation
- Meaningful Comments:
- Comment code logically, explaining the "why" (intent, trade-offs) rather than just the "what".
- Explain complex logic, assumptions, or workarounds.
- If uncertainty exists about a specific API usage despite research, note it in the comments.
- Component Summaries (SUMMARY.md):
- For each significant new module/component, create a SUMMARY.md in its folder.
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.
- 3d ago First seen · 65 lines · 891 tokens per session scan A 3ad035232ba8
common-rules is a cursor rule published in the GitHub repository tienan92it/binance-mcp (20 stars, last pushed 1y ago), licensed MIT. It adds 891 tokens to every session, about $0.0045 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-30.
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.