ddev

ddev is a skill for Claude Code from michtio/craftcms-claude-skills. It costs 99 tokens per session (3,183 once invoked), scanned A, original, MIT.

A development setup for building Craft CMS websites locally in containers, with project settings for PHP, Node.js, databases, and the document root.

In plain words
What is it for?
Use it when running DDEV commands, editing .ddev/config.yaml, adding services, using Mailpit for local email, or connecting Craft CMS with Vite.
Why use it?
It gives the agent a consistent way to start, configure, and troubleshoot a local Craft CMS environment without manually managing each service.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the craftcms-claude-skills plugin — 16 skills, 8 agents, 1 hook shipped together

Good fit Use it when running DDEV commands, editing .ddev/config.yaml, adding services, using Mailpit for local email, or connecting Craft CMS with Vite.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/michtio/craftcms-claude-skills/ddev
Install

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.

Any agent
npx skills add michtio/craftcms-claude-skills --skill ddev
Clone the repo
git clone --depth 1 https://github.com/michtio/craftcms-claude-skills

Made for: Claude Code.

Or install craftcms-claude-skills, the plugin that ships this one along with the rest of its 16 skills, 8 agents, 1 hook.

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 ddev

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/michtio/craftcms-claude-skills/ddev"><img src="https://agentmods.dev/badge/skills/michtio/craftcms-claude-skills/ddev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 99 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,183 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.00099 $0.03183
Opus 5.5 $0.00040 $0.01273
Sonnet 5.5 $0.00020 $0.00637
Haiku 4.5 $0.00010 $0.00318

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

Security

Grade A, and why

ddev 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 3d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (scripts/craft-version.sh), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

skills/ddev/SKILL.md · 208 lines

How it starts

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

DDEV for Craft CMS Development

Craft Version of This Project

!sh ${CLAUDE_SKILL_DIR}/scripts/craft-version.sh

If no Craft version line appears above, establish the version before any version-specific advice: craftcms/cms in composer.lock for a site, the lowest version the craftcms/cms constraint in composer.json allows for a plugin, or ask. Then check it against the version tags in this skill ([5.10+], [changed 5.12], [seomatic 5.1+]).

Companion Skills — Always Load Together

When this skill triggers, also load:

  • craftcms — Plugin/module development. Required when DDEV commands involve Craft CLI (ddev craft make, ddev craft migrate, ddev craft project-config).
  • craft-php-guidelines — PHP coding standards. Required when DDEV commands involve code quality tooling (ddev composer check-cs, ddev composer phpstan, ddev exec --dir … vendor/bin/pest).

Documentation

When unsure about a DDEV feature, WebFetch the relevant docs page.

Common Pitfalls

  • Using ddev exec composer install instead of ddev composer install — DDEV shorthand commands handle path resolution and environment setup. Always use the shorthand.
  • Forgetting ddev craft up does both migrate/all and project-config/apply — no need to run them separately after pulls or deploys.
  • Exposing the Vite dev server with ports instead of web_extra_exposed_ports — ports causes conflicts when running multiple DDEV projects. web_extra_exposed_ports routes through Traefik and works with HTTPS.
  • Running ddev composer global require — global packages install inside the container and vanish on restart. Install project-level dependencies only.
  • Setting nodejs_version but running npm install on the host — Node must run inside the container via ddev npm to match the configured version.
  • Editing .ddev/config.yaml while containers are running without restarting — changes to config require ddev restart to take effect.
  • Using ddev import-db without --target-db=db on multi-database setups — the default target is db, but if you've configured additional databases, be explicit.
  • Adding #ddev-generated to custom commands you've customized — DDEV overwrites files with this comment during updates. Only use it for add-on-managed commands. Custom commands you maintain should omit it.
  • Running composer install on the host then ddev composer check-cs/ddev composer phpstan — if the host PHP version differs from DDEV's (e.g., host PHP 8.4, DDEV PHP 8.3), vendor/composer/platform_check.php fails. Always run ddev composer install so vendor/ matches the container's PHP version.

Read the full file on GitHub · 208 lines

Files

What ships with it

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

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. 3d ago Changed · -84 lines · -14 tokens per session 74a46556456c
  2. 4d ago Changed · +7 lines 9b89273189b7
  3. 1mo ago Changed · +1 lines · -237 tokens per session c40ccf8aac67
  4. 3mo ago First seen · 284 lines · 350 tokens per session scan A acc849e34ec2

Subscribe to this mod's changes

ddev is a skill published in the GitHub repository michtio/craftcms-claude-skills (90 stars, last pushed 3d ago), licensed MIT. It adds 99 tokens to every session and 3,183 once invoked, about $0.0004 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.

Related

ddev compared with skills from other repositories

ddev next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ddevmichtio/craftcms-claude-skillsSkill903d agoMITA99Claude Code
deployoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA46Claude Code
ash-frameworkoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA48Claude Code
liveview-patternsoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA51Claude Code
obanoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA51Claude Code
perfoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA50Claude Code
tidewave-integrationoliver-kriska/claude-elixir-phoenixSkill5783d agoMITA38Claude Code