processwire-ddev-cli

processwire-ddev-cli is a skill for Claude Code, Codex from gebeer/processwire-ai-docs. It costs 77 tokens per session (557 once invoked), scanned A, original, MIT.

A guide for running PHP commands inside ddev in ProcessWire projects. ProcessWire is a PHP content-management system, while ddev provides the local containers used to run the project.

In plain words
What is it for?
Use it to run PHP scripts and one-line commands, load ProcessWire APIs, create TracyDebugger console snippets, debug projects, and query the database.
Why use it?
It prevents commands from using the wrong PHP environment or missing ProcessWire's application programming interface. It also gives consistent rules for debugging and database access from the command line.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to run PHP scripts and one-line commands, load ProcessWire APIs, create TracyDebugger console snippets, debug projects, and query the database.

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

Made for: Claude Code, Codex.

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 processwire-ddev-cli

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/gebeer/processwire-ai-docs/processwire-ddev-cli"><img src="https://agentmods.dev/badge/skills/gebeer/processwire-ai-docs/processwire-ddev-cli.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 77 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 557 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.00077 $0.00557
Opus 5.5 $0.00031 $0.00223
Sonnet 5.5 $0.00015 $0.00111
Haiku 4.5 $0.00008 $0.00056

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

Security

Grade A, and why

processwire-ddev-cli 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.

skills/processwire-ddev-cli/SKILL.md · 53 lines

What it actually says

ProcessWire CLI via ddev

All PHP CLI commands must run through ddev to use the web container's PHP interpreter.

Basic Commands

ddev php script.php          # Run PHP script
ddev php --version           # Check PHP version
ddev exec php script.php     # Execute in web container
ddev ssh                     # Interactive shell

Bootstrapping ProcessWire

Include ./index.php from project root to get the full PW API ($pages, $page, $config, $sanitizer, etc.).

All CLI script files must be placed in ./cli_scripts/.

# Inline one-liner (functions API — no $ escaping needed)
ddev php -r "namespace ProcessWire; include('./index.php'); echo PHP_EOL.'Count: '.pages()->count('template=product');"

# With PW API variables — must escape $ as \$
ddev php -r "namespace ProcessWire; include('./index.php'); echo \$pages->count('template=product');"

# Local variables also need escaping
ddev php -r "namespace ProcessWire; include('./index.php'); foreach(templates() as \$t) echo \$t->name.PHP_EOL;"
# Script file
ddev php cli_scripts/myscript.php

One-liner rules:

  • Always use ddev php -r, not ddev exec php -r (exec adds an extra shell layer that can consume backslash escapes)
  • Use functions API (pages(), templates(), modules()) to avoid bash $ variable expansion
  • When you must use $variables, escape them as \$var
  • Prefix output with PHP_EOL to separate from RockMigrations log noise

Reference Files

Files

What ships with it

4 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. 1mo ago First seen · 53 lines · 77 tokens per session scan A 9060aaab4925

Subscribe to this mod's changes

processwire-ddev-cli is a skill published in the GitHub repository gebeer/processwire-ai-docs (11 stars, last pushed 4mo ago), licensed MIT. It adds 77 tokens to every session and 557 once invoked, about $0.0003 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-31.

Related

Other skills, from other repositories

apify-actor-development

Important: Before you begin, fill in the generatedBy property in the meta section of .actor/actor.json. Replace it with the tool and model you're currently using, such as "Claude Code with Claude Sonnet 4.5". This helps Apify monitor and improve AGENTS.md for specific AI tools and models.

sickn33/agentic-awesome-skills · 71 tokens

dynamo-recipe-runner

Select, validate, patch, and deploy existing NVIDIA Dynamo Kubernetes recipes. Use for model/backend/GPU/deployment-mode recipe bring-up; use router-starter for router-only mode work and troubleshoot for broken deployments.

NVIDIA/skills · 49 tokens

deploy

Elixir/Phoenix deployment patterns — Dockerfile, fly.toml, runtime.exs, mix release, rel/ overlays. Use when configuring Fly.io, Docker, CI/CD, health checks, or production migrations.

oliver-kriska/claude-elixir-phoenix · 46 tokens

vss-setup-video-analytics-api

Use to deploy the vss-video-analytics-api REST service standalone with its Elasticsearch ingest-pipeline, selectable Kafka/Redis stream type, and Kafka-topic readiness gates when Kafka is selected. Not for full warehouse deploy.

NVIDIA-AI-Blueprints/video-search-and-summarization · 52 tokens

enterprise

Enterprise-grade systems with microservices, Kubernetes, Terraform, and AI Native methodology. For multi-feature initiatives spanning a release timeline, combine with /sprint master-plan (v2.1.13) to group features into a single 8-phase sprint container with shared scope/budget and 4 auto-pause triggers…

ww-w-ai/bkit-claude-code · 106 tokens

gcp-essentials

Use when running a small product on core Google Cloud via the gcloud CLI: a project, Cloud Run deploys, a locked-down Cloud Storage bucket, managed Cloud SQL, and least-privilege IAM wiring them together. NOT AWS (that is aws-essentials), NOT the CI pipeline that ships the image (that is deployment), NOT Postgres…

ericrisco/rsc-harness · 91 tokens