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/coollabsio/coolify/coolify-ai-docsgit clone --depth 1 https://github.com/coollabsio/coolifyWhat 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.01426 | $0.01426 |
| Opus 5 | $0.00713 | $0.00713 |
| Sonnet 5 | $0.00285 | $0.00285 |
| Haiku 4.5 | $0.00143 | $0.00143 |
Grade A, and why
coolify-ai-docs 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 — 157 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Coolify AI Documentation
All Coolify AI documentation has been consolidated in the .ai/ directory for better organization and single source of truth.
Quick Start
- For Claude Code: Start with
CLAUDE.mdin the root directory - For Cursor IDE: Start with
.ai/README.mdfor navigation - For All AI Tools: Browse
.ai/directory by topic
Documentation Structure
All detailed documentation lives in .ai/ with the following organization:
📚 Core Documentation
- Technology Stack - All versions, packages, dependencies (SINGLE SOURCE OF TRUTH for versions)
- Project Overview - What Coolify is, high-level architecture
- Application Architecture - System design, components, relationships
- Deployment Architecture - Deployment flows, Docker, proxies
💻 Development
- Development Workflow - Dev setup, commands, daily workflows
- Testing Patterns - How to write/run tests, Docker requirements
- Laravel Boost - Laravel-specific guidelines (SINGLE SOURCE for Laravel Boost)
🎨 Code Patterns
- Database Patterns - Eloquent, migrations, relationships
- Frontend Patterns - Livewire, Alpine.js, Tailwind CSS
- Security Patterns - Auth, authorization, security
- Form Components - Enhanced forms with authorization
- API & Routing - API design, routing conventions
📖 Meta
- Maintaining Docs - How to update/improve documentation
- Sync Guide - Keeping docs synchronized
Quick Decision Tree
What are you working on?
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 · 157 lines · 1,426 tokens per session scan A 19820aeb3085
coolify-ai-docs is a cursor rule published in the GitHub repository coollabsio/coolify (61,297 stars, last pushed today), licensed Apache-2.0. It adds 1,426 tokens to every session, about $0.0071 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
prefer-assertions-over-defensive-checks
Prefer assertions over defensive checks when data is guaranteed to be valid.
as-contract-cast-smell
// ❌ WRONG — bypasses the family ContractSerializer seam const contract = JSON.parse(raw) as Contract; const contract = JSON.parse(raw) as Contract .
explicit-opt-in-over-diagnostics
Prefer requiring explicit opt-in over emitting diagnostics on intentional user paths.
no-backward-compatibility
Do not add backward-compatibility shims or migration scaffolding.
cursor-markdown-file-links
Review markdown in Cursor — path-only file links (no :line in link targets).
api-property-optionality-hygiene
Fix ApiProperty/ApiPropertyOptional optionality mismatches in DTO files; use for scheduled batch fixes or DTO edits.