Borrowing it
Nothing to install: this file belongs to kivo360/OmoiOS. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/kivo360/OmoiOS/main/.cursorrulesgit clone --depth 1 https://github.com/kivo360/OmoiOSWrote 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/kivo360/omoios/cursorrules)<a href="https://agentmods.dev/rules/kivo360/omoios/cursorrules"><img src="https://agentmods.dev/badge/rules/kivo360/omoios/cursorrules/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/rules/kivo360/omoios/cursorrules"><img src="https://agentmods.dev/badge/rules/kivo360/omoios/cursorrules.svg" alt="Reviewed on agentmods" width="80" 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.1 | $0.00698 | $0.00698 |
| Opus 5.5 | $0.00279 | $0.00279 |
| Sonnet 5.5 | $0.00140 | $0.00140 |
| Haiku 4.5 | $0.00070 | $0.00070 |
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 1mo 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 — 82 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Cursor Rules for OmoiOS Project
You are an AI assistant working with the OmoiOS codebase. Follow these rules when working with Python files, especially those containing SQLAlchemy models.
SQLAlchemy Model Rules (CRITICAL)
Reserved Keywords - ABSOLUTELY FORBIDDEN
NEVER use these attribute names in SQLAlchemy model classes:
metadata- RESERVED by SQLAlchemy Declarative APIregistry- RESERVED by SQLAlchemy internal systemdeclared_attr- RESERVED by SQLAlchemy declarative system
Safe Alternatives for Common Patterns
- For change tracking:
change_metadata,item_metadata,config_data,extra_data - For registry patterns:
agent_registry,service_registry,component_registry - For dynamic attributes:
custom_field,dynamic_attribute,computed_field
Model Validation Checklist
When editing or creating SQLAlchemy models, ALWAYS check:
- No
metadataattributes in model classes - No
registryattributes in model classes - No
declared_attrattributes in model classes - All JSONB fields use descriptive names ending with
_data,_config, or_metadata - Model inherits from
Basecorrectly - All relationships are properly typed
Trigger Patterns
Apply these rules when files contain:
from sqlalchemy importorimport sqlalchemyclass.*Base)(SQLAlchemy model inheritance)Mapped[,mapped_column,relationship- File paths:
**/models.py,**/model*.py
Error Prevention
If you see metadata: as a model attribute, IMMEDIATELY:
- Stop the operation
- Alert the user to the SQLAlchemy conflict
- Suggest alternatives:
change_metadata,item_metadata, etc. - Reference the CLAUDE.md rule for detailed explanation
General Python Best Practices
Type Safety
- Use proper type hints for all function parameters and return values
- Prefer
Mapped[T]overColumn(T)for SQLAlchemy models - Use
Optional[T]for nullable database fields
Import Organization
- Standard library imports first
- Third-party imports second (sqlalchemy, pydantic, fastapi)
- Local imports third (omoi_os.*)
- Use relative imports within the same package
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.
- 1mo ago First seen · 82 lines · 698 tokens per session scan A 3c1751ff67e9
cursorrules is a cursor rule published in the GitHub repository kivo360/OmoiOS (81 stars, last pushed 14d ago), licensed Apache-2.0. It adds 698 tokens to every session, about $0.0028 per session on Opus 5.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
ui-application-detail
Application detail page — 10-tab layout, render functions, CSS classes, data field mappings, content regeneration.
settings-page
Settings page layout, tabs, Preferences section, AI Setup section, auto-save pattern, custom UI components.
hiring-outreach-feature
Hiring Outreach — public web contact finder + draft messages (copy-only Outreach tab).
llm-integration
Multi-provider LLM client — per-user BYOK (Gemini/OpenAI/Anthropic/Ollama), grounding, CFG6001.
mobile-responsive
Mobile responsiveness patterns — breakpoints, navbar collapse, scrollable tabs, CSS conventions.
mock-interview-feature
Practice Interview (mock interview) — conversational HR/Pro/Manager sessions.