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 michtio/craftcms-claude-skills --skill craft-project-setupgit clone --depth 1 https://github.com/michtio/craftcms-claude-skillsWrote 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/michtio/craftcms-claude-skills/craft-project-setup)<a href="https://agentmods.dev/skills/michtio/craftcms-claude-skills/craft-project-setup"><img src="https://agentmods.dev/badge/skills/michtio/craftcms-claude-skills/craft-project-setup/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/michtio/craftcms-claude-skills/craft-project-setup"><img src="https://agentmods.dev/badge/skills/michtio/craftcms-claude-skills/craft-project-setup.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.00312 | $0.06958 |
| Opus 5 | $0.00156 | $0.03479 |
| Sonnet 5 | $0.00062 | $0.01392 |
| Haiku 4.5 | $0.00031 | $0.00696 |
Grade A, and why
craft-project-setup 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 8d 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 — 417 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Craft CMS Project Setup
Scaffold Claude Code configuration for Craft CMS projects. Generates a CLAUDE.md and .claude/rules/ directory tailored to the project type.
Companion Skills — Used During Scaffolding
This skill generates configuration that references other skills. It does not load them at activation, but the generated CLAUDE.md and rules will guide users toward:
craftcms+craft-php-guidelines+craft-garnish— for plugin and module projects (craft-garnish when plugin has CP JavaScript/asset bundles)craft-site+craft-twig-guidelines+craft-content-modeling— for site projectsddev— for all project types (DDEV commands in generated config)
Workflow
Step 1: Detect the project
Read the project root to determine what exists. Detect, don't assume. Every piece of information below should be resolved by reading actual project files — never flag something as "unknown" when the answer is in composer.json, package.json, .ddev/config.yaml, or git state.
Project structure signals
.ddev/config.yaml— DDEV project name, PHP version, database type, Node versioncomposer.json— package type (craft-plugin,craft-module, orproject), dependencies, scripts (check-cs, phpstan, pest)src/orsrc/Plugin.php— plugin source directorytemplates/— site templatesconfig/project/— Craft project config (indicates a site)config/general.php— Craft general configmodules/— custom modulescraft-cloud.yamlat the repo root — Craft Cloud project. When present, include thecraft-cloudskill in the generated CLAUDE.md companion-skill list and add a "Hosted on Craft Cloud" note in the generated project context. See thecraft-cloudskill'sconfig-file.mdfor the file's role.servd.yamlat the repo root, orservd/craft-asset-storageincomposer.json, orSERVD_PROJECT_SLUG/SERVD_SECURITY_KEYenv vars — Servd project. When present, include theservdskill in the generated CLAUDE.md companion-skill list and add a "Hosted on Servd" note in the generated project context. See theservdskill for the platform's constraints.
What ships with it
19 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.
- templates/module/.claude/rules/architecture.md 466 B
- templates/module/.claude/rules/coding-style.md 763 B
- templates/module/.claude/rules/git-workflow.md 1.1 KB
- templates/module/.claude/rules/migrations.md 976 B
- templates/module/.claude/rules/security.md 377 B
- templates/module/.claude/rules/testing.md 1.0 KB
- templates/module/CLAUDE.md 1.8 KB
- templates/plugin/.claude/rules/architecture.md 1.5 KB
- templates/plugin/.claude/rules/coding-style.md 826 B
- templates/plugin/.claude/rules/git-workflow.md 1.2 KB
- templates/plugin/.claude/rules/migrations.md 976 B
- templates/plugin/.claude/rules/scaffolding.md 2.1 KB
- templates/plugin/.claude/rules/security.md 667 B
- templates/plugin/.claude/rules/testing.md 1.0 KB
- templates/plugin/CLAUDE.md 2.3 KB
- templates/site/.claude/rules/git-workflow.md 1.1 KB
- templates/site/.claude/rules/security.md 402 B
- templates/site/.claude/rules/templates.md 906 B
- templates/site/CLAUDE.md 1.9 KB
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.
- 8d ago Changed 993158ce0cda
- 13d ago First seen · 417 lines · 312 tokens per session scan E 124650c14d00
craft-project-setup is a skill published in the GitHub repository michtio/craftcms-claude-skills (78 stars, last pushed 10d ago), licensed MIT. It adds 312 tokens to every session and 6,958 once invoked, about $0.0016 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 skills, from other repositories
skill-monitor
Analyze skill effectiveness across sessions. Computes per-skill metrics (action rate, friction, outcomes), identifies degrading skills, and generates improvement recommendations. Requires session-scan data in metrics.jsonl.
review
Review code with parallel agents — tests, security, Ecto, LiveView, Oban. Use after implementation to catch bugs and anti-patterns before committing.
phx-deps-audit
Audit Hex deps for supply-chain security risk — bidi chars, compile-time exec, maintainer changes, typosquats, CVEs. Use after mix deps.update, when checking if a package upgrade is safe, or reviewing mix.lock PR diffs.
release
CONTRIBUTOR TOOL - Cut a plugin release: bump plugin.json version, finalize CHANGELOG, update README if needed, gate on make ci, commit, tag vX.Y.Z, and create the GitHub release. Use when shipping a new plugin version. NOT distributed.
session-deep-dive
Deep qualitative analysis of high-signal sessions. Spawns subagents with v2 template, synthesizes patterns, compares against known findings. Use after /session-scan.
catchup
Summarize and review what changed while you were away. Use after a weekend, vacation, or flight to check missed PRs, git commits, Linear tickets, and meetings — one prioritized brief, not a firehose.