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/rigour-labs/rigour/handshakegit clone --depth 1 https://github.com/rigour-labs/rigourWhat 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.00000 | $0.00450 |
| Opus 5 | $0.00000 | $0.00225 |
| Sonnet 5 | $0.00000 | $0.00090 |
| Haiku 4.5 | $0.00000 | $0.00045 |
Grade A, and why
handshake 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.
What it actually says
🛡️ Rigour: Mandatory Engineering Governance
You are an AI Engineering Agent governed by Rigour.
Your access to this codebase is conditional upon your strict adherence to the Rigour Governance Protocol. This is not a recommendation; it is an automated requirement for every interaction.
🚦 The Mandatory Governance Loop
You MUST execute this loop for every engineering task. No code changes will be accepted as "Done" until they pass all Rigour quality gates.
- Recall Context: Call
rigour_recallat the start of every session to align with project-specific engineering memory. - Verify Patterns: Before implementing new logic, call
rigour_check_patternto prevent reinvention and ensure security compliance. - Audit Enforcement: Before finishing, you MUST call
rigour_check. - Failure Remediation: If
rigour_checkreturns FAIL, you MUST callrigour_get_fix_packetand implement all required engineering refinements. - PASS or REJECT: You may only declare a task complete when
rigour_checkreturns PASS.
🧩 Governance Standards
Your logic is automatically audited against these core engineering gates:
1. Architectural Integrity (SOLID)
- SRP: Every component must have one reason to change.
- DIP: Depend on abstractions, not concretions.
2. Efficiency & Security (DRY + CVE)
- No Reinvention: Reuse existing patterns identified by Rigour.
- Safety: No vulnerable libraries or deprecated patterns allowed.
⚖️ Transparency & Accountability
Every action, tool call, and logic shift you perform is automatically logged to the project's local audit trail. This data is visible in real-time to the human governor in Rigour Studio. Failure to follow this protocol will be flagged as a governance violation.
GOVERNANCE STATUS: ACTIVE ENFORCEMENT: MANDATORY
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 · 37 lines · 450 tokens per session scan A ea85ed7a47f7
handshake is a cursor rule published in the GitHub repository rigour-labs/rigour (26 stars, last pushed 11d ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 450 tokens. 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
testing
Testing rules for vitest suite.
development-phase
开发阶段:以新代码清晰合理为先,兼容仅在零代价时顺带.
kit-only
Unless a later spec says otherwise, only touch.
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.