Getting it into your agent
It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.
git clone --depth 1 https://github.com/edutrul/drupal-ainpx agentmods add skills/edutrul/drupal-ai/docker-localWrote 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/edutrul/drupal-ai/docker-local)<a href="https://agentmods.dev/skills/edutrul/drupal-ai/docker-local"><img src="https://agentmods.dev/badge/skills/edutrul/drupal-ai/docker-local/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/edutrul/drupal-ai/docker-local"><img src="https://agentmods.dev/badge/skills/edutrul/drupal-ai/docker-local.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.00027 | $0.00491 |
| Opus 5.5 | $0.00011 | $0.00196 |
| Sonnet 5.5 | $0.00005 | $0.00098 |
| Haiku 4.5 | $0.00003 | $0.00049 |
Grade B, and why
docker-local 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.
sudo lsof -i :80 What it actually says
Docker Compose Local Development
You are working with custom Docker Compose local development environments (non-DDEV).
Environment Detection
ls -la docker-compose*.yml compose*.yml .env* Makefile docker/ scripts/ 2>/dev/null
Common Commands
docker compose up -d # Start in background
docker compose up -d --build # Start with rebuild
docker compose down # Stop and remove containers
docker compose down -v # Also remove volumes (DATA LOSS!)
docker compose exec <service> <cmd>
docker compose run --rm <service> <cmd> # One-off (if not running)
docker compose ps && docker compose logs -f <service>
Drupal Docker Patterns
| Service Type | Common Names |
|---|---|
| PHP/Web | php, web, app, drupal, php-fpm |
| Database | db, mysql, mariadb, postgres |
| Cache | redis, memcached |
| Search | solr, elasticsearch |
# Drush
docker compose exec php ./vendor/bin/drush cr
# MySQL import/export
docker compose exec -T db mysql -u root -p<password> <database> < dump.sql
docker compose exec db mysqldump -u root -p<password> <database> > dump.sql
Troubleshooting
# Port conflicts
sudo lsof -i :80
# Container won't start
docker compose logs <service>
docker compose down && docker compose up -d --build
# Permissions
docker compose exec php chown -R www-data:www-data /var/www/html/web/sites/default/files
# Network: containers reach each other by service name (e.g. host: db)
docker network inspect <project>_default
Environment Variables
Docker Compose auto-loads .env:
COMPOSE_PROJECT_NAME=myproject
MYSQL_ROOT_PASSWORD=root
MYSQL_DATABASE=drupal
Performance on macOS: use :cached volume flag and named volumes for vendor/.
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.
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.
- 3mo ago First seen · 73 lines · 27 tokens per session scan B 80a48794719f
docker-local is a skill published in the GitHub repository edutrul/drupal-ai (75 stars, last pushed 5mo ago), licensed MIT. It adds 27 tokens to every session and 491 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.
docker-local compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docker-localedutrul/drupal-ai | Skill | 75 | 5mo ago | MIT | B | 27 | Claude Code |
| docker-deployWrongStack/WrongStack | Skill | 446 | today | MIT | A | 114 | Claude Code |
| redteam-container-detail-packNetw0rkNoob/VulnClaw | Skill | 4.0k | 1mo ago | MIT | A | 59 | Claude Code, Codex |
| container-hardeningWrongStack/WrongStack | Skill | 446 | today | MIT | A | 92 | Claude Code, Codex |
| kubernetes-operationsWrongStack/WrongStack | Skill | 446 | today | MIT | A | 102 | Claude Code |
| compose-operationsWrongStack/WrongStack | Skill | 446 | today | MIT | A | 85 | Claude Code |
| agent-cloud-architecttravisjneuman/.claude | Skill | 115 | yesterday | MIT | A | 75 | Claude Code |