php-images

php-images is a skill for Claude Code from specsnl/agent-specs. It costs 50 tokens per session (1,388 once invoked), scanned A, original, MIT.

Documentation for Specsnl's PHP Docker images, which provide ready-made PHP environments with project-specific dependencies and settings. It describes their repository layout and image variants.

In plain words
What is it for?
Use it when locating or updating the FPM, Apache, or FrankenPHP image for a Specsnl project, or when finding related images locally or on GitHub.
Why use it?
It helps you find the correct Dockerfile and understand which files and PHP versions are maintained, instead of guessing among similar images.

Skill for Claude Code

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

Part of the docker plugin — 1 skill, 2 commands shipped together

Good fit Use it when locating or updating the FPM, Apache, or FrankenPHP image for a Specsnl project, or when finding related images locally or on GitHub.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/specsnl/agent-specs/php-images
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 specsnl/agent-specs --skill php-images
Clone the repo
git clone --depth 1 https://github.com/specsnl/agent-specs

Made for: Claude Code.

Or install docker, the plugin that ships this one along with the rest of its 1 skill, 2 commands.

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 php-images

README.md
[![agentmods](https://agentmods.dev/badge/skills/specsnl/agent-specs/php-images/github.svg)](https://agentmods.dev/skills/specsnl/agent-specs/php-images)
Your own site
<a href="https://agentmods.dev/skills/specsnl/agent-specs/php-images"><img src="https://agentmods.dev/badge/skills/specsnl/agent-specs/php-images/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 php-images

Your own site · 80×15
<a href="https://agentmods.dev/skills/specsnl/agent-specs/php-images"><img src="https://agentmods.dev/badge/skills/specsnl/agent-specs/php-images.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 50 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,388 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.00050 $0.01388
Opus 5.5 $0.00020 $0.00555
Sonnet 5.5 $0.00010 $0.00278
Haiku 4.5 $0.00005 $0.00139

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

Security

Grade A, and why

php-images 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.

plugins/docker/skills/php-images/SKILL.md · 109 lines

How it starts

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

PHP Images Skill

This skill provides information about the PHP images used in the Specsnl projects, including where to find the source files and how to locate sibling images for other PHP versions.

What are the PHP images?

The PHP images are Docker images that serve as the base for the various PHP environments used in Specsnl projects. These images are built on top of official PHP images and include additional dependencies and configurations specific to our needs.

Each PHP image repository follows a consistent structure with three main Dockerfiles (variants):

  • fpm/Dockerfile: The Dockerfile for the FPM variant of the image.
  • apache/Dockerfile: The Dockerfile for the Apache variant of the image.
  • frankenphp/Dockerfile: The Dockerfile for the FrankenPHP variant of the image.

Furthermore, there is a files directory that contains additional files used during the build process, such as configuration files and scripts.

  • files/general: Contains files that are shared across all PHP Dockerfiles.
  • files/<variant_name>: Contains files specific to the <variant_name> variant of the image.

Supported PHP versions

Specsnl maintains images for 3 supported PHP versions at any given time. To determine the current supported versions, fetch the endoflife.date API: https://endoflife.date/api/v1/products/php/. This returns a JSON array of PHP releases with their active-support and security-support end dates. Use the 3 most recent versions that have not yet reached end-of-life as the supported set.

If a Specsnl repository for the newest PHP version does not exist yet, we are still supporting the previous version as the latest one. For example, if PHP 8.5 is the newest version but the php85 repository has not been created yet, we are still treating PHP 8.4 as the latest.

Where can I find the source files on GitHub?

The source files for the PHP images can be found in the repositories that follow the following structure: https://github.com/specsnl/php<major><minor>. For example, for PHP 8.5, the source files are located in https://github.com/specsnl/php85.

Read the full file on GitHub · 109 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 Changed 301636346888
  2. 1mo ago First seen · 109 lines · 50 tokens per session scan A c74beedb5105

Subscribe to this mod's changes

php-images is a skill published in the GitHub repository specsnl/agent-specs (2 stars, last pushed 1mo ago), licensed MIT. It adds 50 tokens to every session and 1,388 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-31.

Related

Other skills, from other repositories

deploy-docker-compose

Run the Omnigent server as a Docker compose stack (server + Postgres) on any Docker host — your laptop, a VPS, EC2 by hand, or as the base layer of any container-platform deploy. Invoke when the user wants to build the image, bring up the compose stack, debug the stack on a host they already have, or extend the stack…

omnigent-ai/omnigent · 84 tokens

bdd-container-update

Update the BDD test container image when its dependencies or runtime change. Determines version bump (major vs minor vs patch), rebuilds the Docker image, pushes to GitLab registry, and updates the image tag in starttest.sh. Test source (tests/, features/, scripts/, data/, conftest.py) is bind-mounted from the host…

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

securing-kubernetes-on-cloud

This skill covers hardening managed Kubernetes clusters on EKS, AKS, and GKE by implementing Pod Security Standards, network policies, workload identity, RBAC scoping, image admission controls, and runtime security monitoring. It addresses cloud-specific security features including IRSA for EKS, Workload Identity for…

xalgorix/xalgorix · 80 tokens

detecting-privilege-escalation-in-kubernetes-pods

Detect and prevent privilege escalation in Kubernetes pods by monitoring security contexts, capabilities, and syscall patterns with Falco and OPA policies.

xalgorix/xalgorix · 40 tokens

docker-socket-mount

Docker / containerd socket mounted into a container → host RCE. Common in CI runners, GitOps controllers (ArgoCD, Flux), and 'Docker-in-Docker' setups. Single-command escape via docker run --rm --privileged -v /:/host alpine chroot /host.

PurpleAILAB/Decepticon · 67 tokens

polar-local-environment

This skill should be used when setting up or managing Polar local development environment with Docker.

fcakyon/claude-codex-settings · 22 tokens