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/git-hulk/instructions/stylegit clone --depth 1 https://github.com/git-hulk/instructionsWhat 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.00991 | $0.00991 |
| Opus 5 | $0.00495 | $0.00495 |
| Sonnet 5 | $0.00198 | $0.00198 |
| Haiku 4.5 | $0.00099 | $0.00099 |
Grade A, and why
style 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 yesterday.
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 — 57 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor C++ Style Rules
Formatting
- Use only spaces for indentation; indent 2 spaces at a time. Do not use tabs.
- Each line should be at most 80 characters long, except for certain cases (e.g., long URLs, include statements).
- Function declarations: return type on the same line as the function name if possible; wrap parameters as needed, indenting wrapped lines by 4 spaces.
- Function calls: arguments may be on the same line or wrapped and aligned; use a 4 space indent for wrapped arguments.
- Braced initializer lists are formatted like function calls.
- Place the opening curly brace at the end of the function declaration line; closing brace on its own line or with the opening brace if short.
- Use spaces around assignment and most binary operators; no spaces around period or arrow for member access.
- Minimize vertical whitespace; do not use more than one or two blank lines between functions.
- Do not introduce trailing whitespace; remove it if editing a line.
- Do not indent within namespaces; namespace contents are not indented.
Header Files
- Header files should be self-contained and end in .h. Use .inc only for non-header files meant for inclusion at specific points.
- All header files must have #define guards in the format H.
- Include what you use: if a file refers to a symbol, it must directly include the header that provides it.
- Avoid forward declarations; prefer including the needed headers.
- Only define short functions inline in headers; longer functions should be in .cc files unless required for templates or performance.
- Include headers in this order: related header, C system headers, C++ standard library headers, other libraries' headers, your project's headers. Separate groups with a blank line and order alphabetically within each group.
Naming
- Use descriptive names that make intent clear to new readers, even those outside your team.
- Filenames: all lowercase, use underscores or dashes, and be specific (e.g., my_class.cc, my_class.h).
- Type names (classes, structs, enums, type aliases, concepts): use UpperCamelCase (e.g., MyClass, MyEnum).
- Variable names (including function parameters): use snake_case (e.g., my_variable). Class data members have a trailing underscore (e.g., value_); struct members do not.
- Constant names: use a leading 'k' and UpperCamelCase (e.g., kMaxValue).
- Function names: use UpperCamelCase (e.g., AddEntry). Accessors/mutators may be named like variables.
- Namespace names: use snake_case.
- Enumerator names: use constant-style naming (e.g., kEnumValue).
- Macro names: use ALL_CAPS with a project-specific prefix (e.g., MYPROJECT_MACRO_NAME).
- Template parameters: type parameters use UpperCamelCase; non-type parameters use variable/constant rules.
- Avoid abbreviations unless widely known; do not delete letters within words.
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.
- yesterday First seen · 57 lines · 991 tokens per session scan A 0025f5511aaf
style is a cursor rule published in the GitHub repository git-hulk/instructions (1 stars, last pushed 1y ago), licensed Apache-2.0. It adds 991 tokens to every session, about $0.0050 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.
typescript
Changes to these high-fan-out internals can affect every message, delta, element, or rerun. Keep work in them minimal, and benchmark changes with representative stress-test apps.
coolify-ai-docs
Master reference to all Coolify AI documentation in .ai/ directory.
python_lib
Tips and guidelines specific to the development of the Streamlit Python library, not applicable to scripts and e2e tests.
specs
This directory contains product and tech specs for Streamlit features.