ddev-expert

ddev-expert is a skill for Claude Code from edutrul/drupal-ai. It costs 29 tokens per session (1,039 once invoked), scanned B, original, MIT.

A guide to DDEV, a tool that runs local Drupal development environments in containers. Containers keep the project’s PHP, database, and supporting services separate from the rest of the computer.

In plain words
What is it for?
Use it to start or stop a Drupal environment, run Drush or Composer, open a shell, import or export databases, create snapshots, inspect project URLs, and troubleshoot ports or configuration.
Why use it?
It provides known commands for starting the project, running Drupal tools, managing databases, viewing logs, and diagnosing local setup problems.

Skill for Claude Code

Written for Claude Code: installed under .claude/.

Good fit Use it to start or stop a Drupal environment, run Drush or Composer, open a shell, import or export databases, create snapshots, inspect project URLs, and troubleshoot ports or configuration.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/edutrul/drupal-ai/ddev-expert
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 edutrul/drupal-ai --skill ddev-expert
Clone the repo
git clone --depth 1 https://github.com/edutrul/drupal-ai

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 ddev-expert

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/edutrul/drupal-ai/ddev-expert"><img src="https://agentmods.dev/badge/skills/edutrul/drupal-ai/ddev-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 29 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,039 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 1 finding. 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.00029 $0.01039
Opus 5.5 $0.00012 $0.00416
Sonnet 5.5 $0.00006 $0.00208
Haiku 4.5 $0.00003 $0.00104

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

Security

Grade B, and why

ddev-expert scanned grade B with 1 finding 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 3mo 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

ddev poweroff && sudo lsof -i :80
.claude/skills/ddev-expert/SKILL.md · 158 lines

How it starts

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

DDEV Expert

Essential Commands

# Project
ddev start | stop | restart | poweroff | delete

# Execute
ddev drush <cmd> | ddev composer <cmd> | ddev exec <cmd> | ddev ssh

# Database
ddev mysql | ddev export-db | ddev import-db --file=dump.sql
ddev snapshot | ddev restore

# Utilities
ddev describe        # URLs and project info
ddev logs -f         # Follow logs
ddev launch          # Open in browser
ddev launch -m       # Open Mailpit UI

Configuration (.ddev/config.yaml)

name: my-project
type: drupal          # auto-detects version; or drupal11/drupal10
docroot: web
php_version: "8.3"
webserver_type: nginx-fpm
database:
  type: mariadb
  version: "10.11"
additional_hostnames:
  - api.my-project.ddev.site
webimage_extra_packages: [php8.3-imagick]
mutagen_enabled: true  # macOS/Windows performance

Overrides: .ddev/config.local.yaml (gitignored personal config) PHP overrides: .ddev/php/*.ini

Troubleshooting

ddev composer create-project fails ("not allowed to be present"): Move extra dirs out temporarily (.claude/, .git/), run create-project, move back.

Port conflicts:

ddev poweroff && sudo lsof -i :80

Container issues:

ddev restart
ddev debug refresh    # Rebuild containers
ddev delete && ddev start  # Nuclear option

Database: Host is db (inside container) or 127.0.0.1:PORT (outside). Check port with ddev describe.

Permissions: ddev exec chown -R $(id -u):$(id -g) .

PHP deprecation warnings in Drush — create .ddev/php/drush.ini:

[PHP]
error_reporting = 22527   ; E_ALL & ~E_DEPRECATED
display_errors = Off
log_errors = On
error_log = /tmp/php-errors.log

Docker Desktop overlay2 I/O errors — normal restart is not enough:

killall -9 Docker   # then relaunch Docker Desktop

Mutagen sync hanging after Docker crash:

ddev poweroff && ddev start
# If still stuck:
ddev stop
~/.ddev/bin/mutagen daemon stop
~/.ddev/bin/mutagen daemon start
ddev mutagen reset && ddev start

Read the full file on GitHub · 158 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. 3mo ago First seen · 158 lines · 29 tokens per session scan B 9e070d8a73be

Subscribe to this mod's changes

ddev-expert is a skill published in the GitHub repository edutrul/drupal-ai (75 stars, last pushed 5mo ago), licensed MIT. It adds 29 tokens to every session and 1,039 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it B with 1 finding (asks for root). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ddev-expert compared with skills from other repositories

ddev-expert next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ddev-expertedutrul/drupal-aiSkill755mo agoMITB29Claude Code
docker-deployWrongStack/WrongStackSkill446todayMITA114Claude Code
redteam-container-detail-packNetw0rkNoob/VulnClawSkill4.0k1mo agoMITA59Claude Code, Codex
container-hardeningWrongStack/WrongStackSkill446todayMITA92Claude Code, Codex
kubernetes-operationsWrongStack/WrongStackSkill446todayMITA102Claude Code
compose-operationsWrongStack/WrongStackSkill446todayMITA85Claude Code
agent-cloud-architecttravisjneuman/.claudeSkill115yesterdayMITA75Claude Code