Coolify is a self-hosted platform for managing servers and deploying applications, databases, static sites, and other services on hardware controlled by the user. Developers and teams use it as an alternative to hosted application platforms such as Heroku, Netlify, and Vercel, while the catalogue entries help coding agents operate Coolify.
Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/coollabsio/coolifynpx agentmods add rules/coollabsio/coolify/coolify-ai-docsWrote 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/coollabsio/coolify/coolify-ai-docs)<a href="https://agentmods.dev/rules/coollabsio/coolify/coolify-ai-docs"><img src="https://agentmods.dev/badge/rules/coollabsio/coolify/coolify-ai-docs/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/coollabsio/coolify/coolify-ai-docs"><img src="https://agentmods.dev/badge/rules/coollabsio/coolify/coolify-ai-docs.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.01424 | $0.01424 |
| Opus 5.5 | $0.00570 | $0.00570 |
| Sonnet 5.5 | $0.00285 | $0.00285 |
| Haiku 4.5 | $0.00142 | $0.00142 |
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 20d 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
AGENTS.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.
- 20d ago Changed · -2 tokens per session c731e86e6d31
- 1mo 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 (63,157 stars, last pushed today), licensed Apache-2.0. It adds 1,424 tokens to every session, about $0.0057 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
as-contract-cast-smell
// ❌ WRONG — bypasses the family ContractSerializer seam const contract = JSON.parse(raw) as Contract; const contract = JSON.parse(raw) as Contract .
no-barrel-files
Avoid barrel files and unnecessary re-exports.
use-contract-ir-factories
Use factory functions for creating ContractIR objects instead of manual object creation.
interface-factory-pattern
Interface-based design with factory functions (keep classes private).
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.