chainguard-migrate-dockerfile

chainguard-migrate-dockerfile is a skill for Claude Code, Codex from chainguard-dev/chainguard-cursor-plugin. It costs 56 tokens per session (1,633 once invoked), scanned A, original, no licence file.

A guide for changing a Dockerfile to use Chainguard base images. A Dockerfile lists the steps for building an application container, while a base image provides its starting system files.

In plain words
What is it for?
Use it to migrate existing Dockerfiles to Chainguard images, improve their security setup, and create multi-stage container builds.
Why use it?
It helps replace a Docker Hub starting image and apply a multi-stage build when hardening a container. Multi-stage builds keep build tools separate from the final image.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing.

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.

agentmods
npx agentmods add skills/chainguard-dev/chainguard-cursor-plugin/chainguard-migrate-dockerfile
Any agent
npx skills add chainguard-dev/chainguard-cursor-plugin --skill chainguard-migrate-dockerfile
Clone the repo
git clone --depth 1 https://github.com/chainguard-dev/chainguard-cursor-plugin

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 chainguard-migrate-dockerfile

README.md
[![agentmods](https://agentmods.dev/badge/skills/chainguard-dev/chainguard-cursor-plugin/chainguard-migrate-dockerfile.svg)](https://agentmods.dev/skills/chainguard-dev/chainguard-cursor-plugin/chainguard-migrate-dockerfile)
Your own site
<a href="https://agentmods.dev/skills/chainguard-dev/chainguard-cursor-plugin/chainguard-migrate-dockerfile"><img src="https://agentmods.dev/badge/skills/chainguard-dev/chainguard-cursor-plugin/chainguard-migrate-dockerfile.svg" alt="Measured on agentmods" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,633 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. Scan, not verified.
Origin unknown 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.00056 $0.01633
Opus 5 $0.00028 $0.00816
Sonnet 5 $0.00011 $0.00327
Haiku 4.5 $0.00006 $0.00163

Measured 5d ago against content hash aee61bce638f, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

chainguard-migrate-dockerfile scanned grade A 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 5d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

**The same restrictions apply when shelling out via Bash.** Do not run `chainctl images repos list`, `chainctl images list`, `chainctl images tags list`, any `chainctl ... list` over orgs/repos/tags/advisories, or any `c
skills/chainguard-migrate-dockerfile/SKILL.md · 77 lines

The source is not reproduced here

A licence we could not identify

The repository carries a LICENSE file, but it is custom or dual enough that GitHub cannot name it and neither can this catalogue. Unknown terms are not permission, so the body is not copied here. Read the licence at the source and decide for yourself.

Read it on GitHub

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. 5d ago First seen · 77 lines · 56 tokens per session scan A aee61bce638f

Subscribe to this mod's changes

chainguard-migrate-dockerfile is a skill published in the GitHub repository chainguard-dev/chainguard-cursor-plugin (0 stars, last pushed 2mo ago), with no licence file. It adds 56 tokens to every session and 1,633 once invoked, about $0.0003 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). 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

github-actions-templates

Create production-ready GitHub Actions workflows for automated testing, building, and deploying applications. Use when setting up CI/CD with GitHub Actions, automating development workflows, or creating reusable workflow templates.

wshobson/agents · 44 tokens

dokploy-deploy

This skill should be used when user asks to "deploy with Dokploy", "use Dokploy Cloud", "manage self-hosted Dokploy", "deploy Docker Compose on Dokploy", "manage Dokploy databases", "configure Dokploy domains", or "look up Dokploy CLI commands".

fcakyon/claude-codex-settings · 63 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

devops-infrastructure

Guides Docker, CI/CD pipelines, deployment strategies, infrastructure as code, and observability setup. Use when writing Dockerfiles, configuring GitHub Actions, planning deployments, setting up monitoring, or when asked about containers, pipelines, Terraform, or production infrastructure.

CloudAI-X/claude-workflow-v2 · 57 tokens

harness

To build an AI harness: run, observe, validate, automate repeated work faster — CLI/MCP actions, devcontainers, skills, subagents, hooks, pipelines, automations.

griddynamics/rosetta · 40 tokens

qdrant-deployment-options

Guides Qdrant deployment selection. Use when someone asks 'how to deploy Qdrant', 'Docker vs Cloud', 'local mode', 'embedded Qdrant', 'Qdrant EDGE', 'which deployment option', 'self-hosted vs cloud', or 'need lowest latency deployment'. Also use when choosing between deployment types for a new project.

qdrant/skills · 79 tokens