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/alex8791-cyber/cognithor/cursorrulesgit clone --depth 1 https://github.com/Alex8791-cyber/cognithorWrote 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/alex8791-cyber/cognithor/cursorrules)<a href="https://agentmods.dev/rules/alex8791-cyber/cognithor/cursorrules"><img src="https://agentmods.dev/badge/rules/alex8791-cyber/cognithor/cursorrules.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.00588 | $0.00588 |
| Opus 5 | $0.00294 | $0.00294 |
| Sonnet 5 | $0.00118 | $0.00118 |
| Haiku 4.5 | $0.00059 | $0.00059 |
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 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.
How it starts
The opening of the file, as written. The whole thing — 45 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor rules for Cognithor · Agent OS
See CLAUDE.md for full context. Quick rules:
Style
- Python: ruff-formatted, ruff-checked. Run
ruff formatbefore commit. - Dart:
dart formatbefore commit.flutter analyzeclean. - No emojis in code, comments, or commit messages unless explicitly requested.
- No comments restating what code does. Only WHY when non-obvious.
Tests
- Every backend feature gets a test in
tests/test_<package>/. - Every Flutter provider/service/model gets a test in
flutter_app/test/{providers,services,models}/. - Use
pytest -x -qto fail fast. - Mock at the boundary (HTTP/DB), not internal logic.
Git
- Never
git add -Aorgit add .. Always exact paths. - Pre-existing dirty files in
skills/anddocs/integrations/catalog.jsonare auto-regen artefacts — don't stage them. - Never amend a commit after a hook failure — make a new commit.
- Never chain
git push+gh pr merge+ cleanup. One per turn.
Architecture
- PGE-Trinity is the canonical orchestration:
Planner→Gatekeeper→Executor. - Gatekeeper risk lists (
_classify_risk()insrc/cognithor/core/gatekeeper.py) — unknown tools default to ORANGE. - Owner-gating uses
cognithor.security.owner.require_owner(). - TraceBus (
src/cognithor/crew/trace_bus.py) is in-process pub/sub; subscribe viasubscribe_lifecycle()orsubscribe(trace_id).
What NOT to touch
flutter_app/lib/l10n/generated/— regenerated byflutter gen-l10n.cognithor_bench/results/,examples/insurance-agent-pack/results/,/results/— gitignored runtime artefacts.flutter_app/{linux,windows,macos}/flutter/generated_*— regenerated byflutter pub get.
Frequent mistakes to avoid
- Mixing
asyncioand_asyncioaliasing in the same file (webui.pyuses unaliased after Task 21 of v0.95.0). - Removing
# noqa: SLF001frombus._subscribersaccesses — keep them, the suppress is intentional for internal-state checks. - Calling
context.read<>()insidedispose()— Flutter forbids deactivated-widget-ancestor lookup. Cache the provider indidChangeDependencies()instead. - Hardcoding
Color(0x...)hex in widgets — useCognithorTheme.*tokens (theme adoption is currently inconsistent and we're trying to fix that).
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 · 45 lines · 588 tokens per session scan A e2bc5bbe252b
cursorrules is a cursor rule published in the GitHub repository Alex8791-cyber/cognithor (153 stars, last pushed 4d ago), licensed Apache-2.0. It adds 588 tokens to every session, about $0.0029 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
dreamd-recall
Recall lessons, decisions, and prior context from the .agent/ memory daemon. Use when starting work in a project that has a .agent/ folder, when the user references a past decision, or when you are about to make a choice that has a documented prior.
agents
Единые правила и скиллы проекта (зеркало AGENTS.md).
cursorrules
You are an AI agent building the module: {{MODULENAME}} This module is part of the Mnemosyne Neural OS ecosystem by XPACEGEMS LLC.
use-bun-instead-of-node-vite-npm-pnpm
../../CLAUDE.md.
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.