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/noteplan/plugins/np-programming-generalgit clone --depth 1 https://github.com/NotePlan/pluginsWhat 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.00948 | $0.00948 |
| Opus 5 | $0.00474 | $0.00474 |
| Sonnet 5 | $0.00190 | $0.00190 |
| Haiku 4.5 | $0.00095 | $0.00095 |
Grade A, and why
np-programming-general 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 2d 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 — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Critical Rules
CRITICAL: Never use dynamic imports. Rollup will not process them correctly. Always use static imports at the top of files.
NotePlan domain facts
- NotePlan's supported task priority markers are exactly
!,!!,!!!, and>>. The correspondingparagraph.priorityvalues are 1, 2, 3, and 4.!!!!(four exclamation marks) is NOT a supported priority marker. - "priority marker" or just "Marker" is user-facing language. Users think in terms of the symbols (
>>,!!!,!!,!), not the underlying numeric.priorityvalues. Use the symbols in settings/labels/descriptions, but key code logic off.prioritywhen possible. - Prefer
@flow-typed/Noteplan.jsover the public website when looking up NotePlan plugin APIs (Calendar, CalendarItem, Editor, DataStore, etc.). That file is usually more detailed and closer to what Eduard ships. Offer to sync missing notes into it when you learn them from gists/changelogs, but ensure developer specifically checks and approves the change.
Code Style Guidelines
- Use Flow for static typing
- No semicolons (enforced by ESLint/Prettier)
- Single quotes for strings
- Max line length: 180 characters
- Keep
logDebug,logInfo,logWarn,logError, andclo()calls on a single line when possible; do not wrap them across multiple lines to satisfy the max line length rule - Use template literals instead of string concatenation
- Use ES6+ features (const/let, arrow functions)
- Use async/await and handle promises properly (no floating promises)
- Follow existing naming patterns in the codebase
- Proper error handling with try/catch blocks
- Follow import order: external libs -> internal libs -> local files. Within that put in alphabetical order of source filename.
- Keep code DRY and modular with clear function responsibilities
- Add JSDoc comments for all functions
- Always research the
helpers/folder before writing new code - Prefer writing explicit functions over constant declarations
- When moving code, keep existing comments and commented-out code
- Please provide Flow types (as appropriate) and JSDOC with all responses.
- If you are rewriting a full file, make sure to include all import statements also.
- Do not remove any console.logs or comments (or clo, logDebug, logWarn, logInfo, logError statements).
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.
- 2d ago First seen · 61 lines · 948 tokens per session scan A 703f981484d3
np-programming-general is a cursor rule published in the GitHub repository NotePlan/plugins (204 stars, last pushed 2d ago), licensed MIT. It adds 948 tokens to every session, about $0.0047 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.
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.