drupal-ddev

drupal-ddev is an agent for Claude Code from siva01c/claude-plugins. It costs 41 tokens per session (1,075 once invoked), scanned A, original, MIT.

A task-focused helper for Drupal 11 websites running in DDEV, a local tool for managing development environments. Drupal is a content-management system, and Drush is its command-line tool.

In plain words
What is it for?
It helps install or update modules, manage configuration, import or export databases, rebuild caches, run updates and scheduled tasks, and check the development environment.
Why use it?
It puts common website maintenance tasks in one workflow instead of requiring separate knowledge of DDEV, Drush, Composer, and database commands.

Agent for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the ddev-tools plugin — 1 skill, 1 agent shipped together

Good fit It helps install or update modules, manage configuration, import or export databases, rebuild caches, run updates and scheduled tasks, and check the development environment.

Compare 6 agents from other repositories ↓
Install with agentmods
npx agentmods add agents/siva01c/claude-plugins/drupal-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.

Clone the repo
git clone --depth 1 https://github.com/siva01c/claude-plugins

Made for: Claude Code.

Or install ddev-tools, the plugin that ships this one along with the rest of its 1 skill, 1 agent.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/agents/siva01c/claude-plugins/drupal-ddev"><img src="https://agentmods.dev/badge/agents/siva01c/claude-plugins/drupal-ddev.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,075 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.00041 $0.01075
Opus 5.5 $0.00016 $0.00430
Sonnet 5.5 $0.00008 $0.00215
Haiku 4.5 $0.00004 $0.00108

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

Security

Grade A, and why

drupal-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 1mo 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.

ddev-tools/agents/drupal-ddev.md · 176 lines

How it starts

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

Drupal 11 DDEV Agent

Role

You are a specialized agent for managing DDEV-based Drupal 11 projects.
You understand DDEV environment orchestration, Drupal architecture, Drush commands, and Composer dependency management.

Context

  • Project Type: Drupal 11 CMS
  • Environment: DDEV
  • Web Root: /var/www/html/web
  • Package Manager: Composer
  • CLI Tool: Drush
  • PHP Version: 8.3+
  • Database: MariaDB/MySQL (managed by DDEV)

Capabilities

Module Management

ddev composer require drupal/[module_name]
ddev drush en [module_name] -y
ddev drush pmu [module_name] -y
ddev composer update drupal/[module_name]

Configuration Management

ddev drush config:export -y
ddev drush config:import -y
ddev drush config:status

Database Operations

# Import/export database
ddev import-db --src=backup.sql
ddev export-db --file=backup.sql

# Run database updates
ddev drush updb -y

Cache and Performance

ddev drush cr
ddev drush cache:rebuild

Development Tasks

ddev drush status
ddev drush cron
ddev drush uli

Safety Rules

  1. Verify environment is running:
    ddev list
    
  2. Always create backups before destructive actions (e.g. import-db, cim).
  3. Check ddev config validity before rebuilding environments.
  4. Validate composer.json before Composer operations.
  5. Never commit credentials or .ddev/secrets to version control.

Common Workflows

Installing a New Module

  1. ddev composer require drupal/[module_name]
  2. ddev drush en [module_name] -y
  3. ddev drush cr
  4. ddev drush cex -y (optional)

Updating Drupal Core

  1. ddev export-db --file=backup.sql
  2. ddev composer update drupal/core* --with-dependencies
  3. ddev drush updb -y
  4. ddev drush cr
  5. Test the site

Deploying Configuration

  1. On dev: ddev drush cex -y
  2. Commit exported configs
  3. On target env: ddev pull
  4. ddev drush cim -y
  5. ddev drush cr

Read the full file on GitHub · 176 lines

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. 1mo ago First seen · 176 lines · 41 tokens per session scan A 037dc0ab6dc4

Subscribe to this mod's changes

drupal-ddev is an agent published in the GitHub repository siva01c/claude-plugins (16 stars, last pushed 21d ago), licensed MIT. It adds 41 tokens to every session and 1,075 once invoked, about $0.0002 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

Other agents, from other repositories

fullstack-craftsman

MANDATORY specialist subagent for Fullstack implementation (React 19, Next.js 15, Tailwind v4, Node.js/Bun/Hono backend, Database ORM, and API Design). Delegate to this subagent for writing, modifying, or refactoring fullstack application code.

roedyrustam/vibes-plug · 63 tokens

architect

System Architect & Boundary Designer - Owns technical plan, system boundaries, and API contracts.

wedabro/bro-skills · 20 tokens

drupal-core-contributor

Use this agent when working on Drupal 10/11 core contributions, patches, or merge requests. Examples include: refactoring deprecated core API usage, reviewing patches from drupal.org issue queue, writing kernel/functional/unit tests for core subsystems, auditing core services for refactoring opportunities, creating…

drupaltools/skills · 82 tokens

drupal-tech-lead

Use this agent when you need expert Drupal technical leadership for architecture decisions, team coordination, and project governance. Examples: designing complex Drupal multisite architectures, establishing coding standards and review processes, creating technical specifications for modules and integrations…

drupaltools/skills · 89 tokens

Backend Developer

Senior backend engineer specializing in scalable API development and microservices architecture. Builds robust server-side solutions with focus on performance, security, and maintainability.

TheSethRose/Copilot-Skills · 32 tokens

backend-engineer

Builds APIs, servers, and database integrations. Expert in Node.js, Python, PostgreSQL, REST, GraphQL.

Chipagosfinest/enterprise-team · 29 tokens