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 skills add 0xDarkMatter/claude-mods --skill craftcms-opsgit clone --depth 1 https://github.com/0xDarkMatter/claude-modsWrote 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/skills/0xdarkmatter/claude-mods/craftcms-ops)<a href="https://agentmods.dev/skills/0xdarkmatter/claude-mods/craftcms-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/craftcms-ops/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/skills/0xdarkmatter/claude-mods/craftcms-ops"><img src="https://agentmods.dev/badge/skills/0xdarkmatter/claude-mods/craftcms-ops.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.00115 | $0.03216 |
| Opus 5.5 | $0.00046 | $0.01286 |
| Sonnet 5.5 | $0.00023 | $0.00643 |
| Haiku 4.5 | $0.00012 | $0.00322 |
Grade A, and why
craftcms-ops 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 18d 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 — 168 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Craft CMS Operations
Versions verified 2026-10-05 against Packagist and the official docs. Craft 5.x is current (5.11); Craft 4 and 3 are past security support; Craft 6 is in alpha.
scripts/check-craft-facts.py --livere-checks the plugin majors on a schedule.
The recurring agency shape: Craft 5 (or a 4/3 site awaiting upgrade) on DDEV, with SEOmatic, Blitz, Formie, and CKEditor, a Vite (or legacy Laravel Mix) front end, and modules tested with Codeception and ECS. This file is the procedure and the router; each topic lives in one reference.
Step 1 - Orient before touching anything
| Check | Where | Tells you |
|---|---|---|
| Craft + plugin versions | composer.json, ddev composer show craftcms/cms |
Which line of the version matrix applies - Craft 4 and 5 APIs differ |
| Local environment | .ddev/config.yaml |
PHP/DB versions; run everything as ddev craft, ddev composer, ddev npm |
| Schema | config/project/*.yaml |
Source of truth for sections, fields, entry types, plugin settings |
| Config | config/general.php, config/<plugin>.php, .env |
Environment-specific behaviour (devMode, allowAdminChanges, caching) |
| Front-end build | package.json + config/vite.php, or webpack.mix.js |
craft-vite or Laravel Mix |
| Templates | templates/_layouts, _partials, _partials/entry/<type>.twig |
Layout inheritance and element partials |
| PHP | modules/, tests/, codeception.yml, ecs.php |
Where logic and tests live |
| Page cache | config/blitz.php, Blitz utility |
Whether what you see is cached HTML - check before debugging "my change isn't showing" |
Step 2 - Route the task
| Task | Read |
|---|---|
| Listing pages, relations, Matrix/nested entries, pagination, multi-site | element-queries.md |
| Printing anything user-influenced, forms that POST, JS data, rich text output | twig-security.md |
| Meta tags, JSON-LD, sitemaps, robots.txt, hreflang | seomatic.md |
| Static caching, "changes don't show", cache warming, dynamic bits on cached pages | blitz.md |
| Building, theming, or debugging forms; spam; form emails not sending | formie.md |
| Rich-text fields, nested entries inside rich text, Redactor conversion | ckeditor.md |
Craft on DDEV: the craftcms type, ddev craft, Craft's upload_dirs (generic DDEV: ddev-ops) |
ddev.md |
| Tests for modules/plugins, fixtures, ECS/PHPStan | codeception.md |
| Front-end assets, Vite dev server, critical CSS | craft-vite.md |
| Moving off Laravel Mix/Webpack, or Vue 2 to Vue 3 | frontend-upgrade-ops (the full migration playbook) |
| Upgrading Craft 3 → 4 → 5, plugin version lines, Craft 6 status | upgrades.md |
| Slow pages, images, queue setup, production config | performance.md |
| Core Web Vitals failing (LCP, INP, CLS), PageSpeed or Search Console flags | web-perf-ops (field data first; its references/craft.md maps the Craft levers) |
| Headless front ends, GraphQL schemas and tokens | graphql.md |
| Modules, plugins, events, migrations, queue jobs | plugin-development.md |
| Modeling a new flexible page type | assets/entry-type-field-layout.md |
What ships with it
17 files 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.
- assets/craft-facts.json 1.6 KB
- assets/entry-type-field-layout.md 3.3 KB
- references/blitz.md 8.2 KB
- references/ckeditor.md 5.2 KB
- references/codeception.md 7.5 KB
- references/craft-vite.md 7.3 KB
- references/ddev.md 6.4 KB
- references/element-queries.md 6.6 KB
- references/formie.md 7.2 KB
- references/graphql.md 4.1 KB
- references/performance.md 10 KB
- references/plugin-development.md 5.2 KB
- references/seomatic.md 7.5 KB
- references/twig-security.md 8.4 KB
- references/upgrades.md 7.6 KB
- scripts/check-craft-facts.py 11 KB runs code
- tests/run.sh 9.6 KB runs code
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.
- 18d ago Changed · -28 lines · +19 tokens per session 89dcfc5b73ba
- 1mo ago First seen · 196 lines · 96 tokens per session scan A 923d58243042
craftcms-ops is a skill published in the GitHub repository 0xDarkMatter/claude-mods (74 stars, last pushed 9d ago), licensed MIT. It adds 115 tokens to every session and 3,216 once invoked, about $0.0005 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 skills, from other repositories
llamaindex-development
Expert guidance for LlamaIndex development including RAG applications, vector stores, document processing, query engines, and building production AI applications.
agent-django-fastapi-expert
Specialist subagent: Django ORM, Django REST Framework, FastAPI async patterns, and Pydantic v2 specialist. Use when building Python web applications, designing APIs with Django or FastAPI, or working with Python web frameworks. Trigger phrases: Django, FastAPI, DRF, Django REST Framework, Pydantic, ORM, queryset…
php-laravel
Build and upgrade PHP/Laravel applications with validated requests, policy authorization and reliable jobs/data access. Use when implementing Laravel routes, Eloquent models or queues; preserve existing project conventions and runtime compatibility.
agent-go-expert
Specialist subagent: Go concurrency, error handling, stdlib patterns, Chi/Echo web frameworks specialist. Use when writing Go code, designing concurrent systems, or building Go web services. Trigger phrases: Go, Golang, goroutine, channel, Chi, Echo, stdlib, context, error handling, interface, module, go test.
drupal-development
Expert guidance for Drupal 10 module development with PHP 8+, SOLID principles, and Drupal coding standards.
php-development
Expert guidance for PHP 8+ development with SOLID principles, PSR standards, and modern best practices.