coolify: Skill for Claude Code

.agents/skills/infer-conventions/SKILL.md

infer-conventions is a skill for Claude Code from coollabsio/coolify. It costs 190 tokens per session (2,768 once invoked), scanned A, original, Apache-2.0.

A tool for examining how a Laravel application is actually written and recording those patterns as reusable rules. It documents existing practice rather than replacing it with a preferred style.

In plain words
What is it for?
Use it to detect Laravel conventions, document them in shared rules, and resolve conflicts between patterns across the application.
Why use it?
It reduces inconsistent changes when a codebase contains several ways to solve the same problem. It also avoids recording rules that active formatting or code-rewriting tools already enforce.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents; installed under .agents/ (shared by several agents).

This is coollabsio/coolify's own configuration. It tells Claude Code how to work on coolify itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything coolify configures →

About the project

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.

coollabsio/coolify · 65,330 stars · on GitHub · coolify.io

Reuse

Borrowing it

Nothing to install: this file belongs to coollabsio/coolify. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/coollabsio/coolify/main/.agents/skills/infer-conventions/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/coollabsio/coolify

Made for: Claude Code.

Wrote 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.

agentmods badge for infer-conventions

README.md
[![agentmods](https://agentmods.dev/badge/skills/coollabsio/coolify/infer-conventions/github.svg)](https://agentmods.dev/skills/coollabsio/coolify/infer-conventions)
Your own site
<a href="https://agentmods.dev/skills/coollabsio/coolify/infer-conventions"><img src="https://agentmods.dev/badge/skills/coollabsio/coolify/infer-conventions/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.

agentmods 80×15 button for infer-conventions

Your own site · 80×15
<a href="https://agentmods.dev/skills/coollabsio/coolify/infer-conventions"><img src="https://agentmods.dev/badge/skills/coollabsio/coolify/infer-conventions.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 190 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,768 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00190 $0.02768
Opus 5.5 $0.00076 $0.01107
Sonnet 5.5 $0.00038 $0.00554
Haiku 4.5 $0.00019 $0.00277

Measured 29d ago against content hash 6c17a1c29edf, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

infer-conventions 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 29d 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.

Origin

Copies of this mod

1 near-identical copy found in the catalogue:

.agents/skills/infer-conventions/SKILL.md · 106 lines

How it starts

The opening of the file, as written. The whole thing — 106 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Infer Conventions

Learn how this application writes Laravel, then record what you learn as durable, path-scoped rules other agents will read. You are documenting reality, not improving it.

Ground Rules (read before you start)

  • Consistency first. The codebase's majority style is the convention. Never judge it, never propose a "better" pattern, never record what the code should do. If the app validates inline everywhere, that is the rule, even if Form Requests would be nicer.
  • Skip what an active tool produces, keep what a tool would fight. Inspect the project's Pint and Rector configuration first; a Rector transformation is tooling-owned only when its package and relevant rule or set are installed and enabled. Active tools may rewrite code toward one canonical form: $casts to casts(), $fillable to attributes, magic accessors to the Attribute class, pipe-string rules to arrays, $signature to #[Signature], named migrations to anonymous, and many more. When the app already sits at an active tool's target form, the tool owns it, so record nothing. But when the app deliberately holds a form an active tool would refactor away, such as legacy getXxxAttribute() accessors the Attribute class would replace, no tool can reproduce that choice and an agent defaults the other way. That against-the-grain hold is exactly what to record.
  • Record decisions, not defaults. A consistent pattern earns a rule only when it reflects a choice: the app took one valid option where the framework or common practice offered others, or the pattern would surprise a competent agent. Framework defaults steer nothing, so skip them: anonymous migrations, $signature commands, ShouldQueue jobs, casts() on Laravel 11+, named routes, Rule objects in app/Rules, and Mail::fake() or Bus::fake() to isolate framework services. A real fork is not enough on its own. Weigh the side the app took, and record only the side an agent would not reach for by itself: inline closures everywhere, legacy accessors, a bespoke query layer. Watch for the false fork too. "No Mockery" next to facade fakes is not a choice against Mockery, because they double different things. The test for every candidate: without this rule, would the next agent plausibly write it differently? Only "yes" earns a rule.
  • Architecture choices are the gold. Record presence and deliberate absence. The structural pattern the app commits to is the highest-signal convention and the one no tool can decide: Action classes and how they are invoked (handle / execute / __invoke), service objects, dedicated query objects exposing builder(), DTOs (spatie/laravel-data vs readonly classes), Form Request validation vs inline, an events and listeners spine vs direct calls, and domain or module folders. Also record a consistent non-pattern, such as "query Eloquent directly in controllers, no repository layer", so the next agent matches the app's altitude instead of over-engineering.
  • Never duplicate .ai/rules. Read .ai/rules/index.md and the area files before the sweep. A dimension already covered there is marked done and skipped.
  • Evidence or silence. A convention needs at least 3 consistent examples and no meaningful rival to become a candidate. Every Step 1 verdict applies this bar.
  • The recorded rule states the convention, nothing else. One or two imperative lines: this project does X, so do X here. Keep detection evidence out. No counts, ratios, current usage, file lists, or example paths, because that is proof for the confirm step, not part of the rule. One short syntax fragment at most, and point to search-docs for API details.

Read the full file on GitHub · 106 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

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.

  1. 29d ago First seen · 106 lines · 190 tokens per session scan A 6c17a1c29edf

Subscribe to this mod's changes

infer-conventions is a skill published in the GitHub repository coollabsio/coolify (65,330 stars, last pushed today), licensed Apache-2.0. It adds 190 tokens to every session and 2,768 once invoked, about $0.0008 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-10-02.

Related

Other skills, from other repositories

flyenv-failure-boundaries

Use when implementing or reviewing FlyEnv multi-step operations, batch actions, PID candidate filtering, cleanup, supplementary actions, or changes to throw/reject and terminal result handling.

xpf0000/FlyEnv · 41 tokens

Docker Testcontainers

Integration testing with real dependencies in throwaway Docker containers using the Testcontainers Node.js API - GenericContainer, exposed ports, wait strategies, module containers, Docker Compose environments, and reliable cleanup.

PramodDutta/qaskills · 42 tokens

zhihu-search

A search skill for finding content on Zhihu, a Chinese question-and-answer and article platform, through its search API.

itwanger/toBeBetterJavaer · 103 tokens

coolify

Use when self-hosting apps and databases with Coolify on a VPS you own — install, first-admin lockdown, Git-to-deploy (Nixpacks/Dockerfile/compose), managed Postgres/Redis, scheduled S3 backups, domains + auto-SSL. NOT a PaaS someone else runs (that is railway), NOT sizing/hardening the box (that is hetzner), NOT…

ericrisco/rsc-harness · 100 tokens

woocommerce-performance

Fix slow WooCommerce stores by optimizing database queries, clearing transients, enabling Redis object caching, and configuring page caching.

finsilabs/awesome-ecommerce-skills · 26 tokens

developing-with-laravel

Laravel framework patterns for PHP applications including Eloquent ORM, migrations, routing, queues, and Blade templates. Use when building Laravel applications or working with Laravel projects.

FortiumPartners/ensemble · 39 tokens