Official Chainguard plugins for Claude Code - bringing supply chain security and secure container images to your development workflow.
Access Chainguard's complete documentation library through a Model Context Protocol (MCP) server.
Features:
- Search across all Chainguard documentation
- Get detailed container image information
- Access security guides and CVE management docs
- Learn about Wolfi, apko, melange, and chainctl
- Real-time documentation updates
Perfect for:
- Learning about Chainguard products and services
- Finding the right container image for your project
- Understanding supply chain security concepts
- Looking up tool documentation
Generate secure code and configurations using Chainguard Containers and tools.
Features:
- Generate secure Dockerfiles with Chainguard Containers
- Migrate existing Dockerfiles to Chainguard
- Create apko/melange configurations
- Apply security best practices automatically
- Multi-stage build optimization
Perfect for:
- Creating new containerized applications
- Migrating existing projects to Chainguard
- Building custom Wolfi-based images
- Implementing security best practices
/plugin marketplace add github.com/chainguard-demo/claude-plugins/plugin install chainguard-docs@chainguard-plugins
/plugin install chainguard-codegen@chainguard-pluginsDocumentation only:
/plugin install chainguard-docs@chainguard-pluginsCode generation only:
/plugin install chainguard-codegen@chainguard-pluginsOnce installed, try these example prompts:
"What Chainguard images are available for Python?"
"How does Chainguard handle CVE management?"
"Show me the nginx image documentation"
"Search Chainguard docs for SBOM generation"
"Generate a Dockerfile for a Python Flask app using Chainguard Containers"
"Migrate this Dockerfile to use Chainguard Containers"
"Create an apko config for a Node.js application"
"Generate a secure multi-stage Dockerfile for Go"
- Docker installed and running (for MCP server)
- Internet connection
- No additional requirements
This plugin wraps Chainguard's MCP server (ghcr.io/chainguard-dev/ai-docs:latest) which provides:
- Full-text search across documentation
- Structured access to container image docs
- Security and tool reference materials
- Weekly automated updates
This plugin includes specialized AI skills that help Claude Code:
- Generate secure Dockerfiles following best practices
- Migrate legacy Dockerfiles to Chainguard Containers
- Create apko configurations for custom Wolfi images
- Apply security defaults and multi-stage builds
Chainguard Containers are secure, minimal container images designed for production use:
- Zero CVEs: No known vulnerabilities, regularly updated
- Minimal: Only includes what's necessary, reducing attack surface
- SBOM: Complete software bill of materials included
- Signed: Cryptographically signed with Sigstore
- Non-root: Run as non-root user by default
- Variants: Production (
:latest) and development (:latest-dev) variants
Learn more at images.chainguard.dev
You: What Chainguard images are available for Python development?
Claude Code: [Uses chainguard-docs MCP server]
Based on Chainguard documentation, here are the Python images:
- cgr.dev/chainguard/python:latest - Minimal production runtime
- cgr.dev/chainguard/python:latest-dev - Development variant with pip and build tools
...
You: Generate a secure Dockerfile for a Django application
Claude Code: [Uses chainguard-codegen skills]
I'll create a secure multi-stage Dockerfile using Chainguard's Python image:
FROM cgr.dev/chainguard/python:latest-dev AS builder
WORKDIR /app
COPY requirements.txt .
RUN pip install --no-cache-dir -r requirements.txt --user
FROM cgr.dev/chainguard/python:latest
WORKDIR /app
COPY --from=builder /home/nonroot/.local /home/nonroot/.local
COPY --chown=nonroot:nonroot . .
ENV PATH=/home/nonroot/.local/bin:$PATH
EXPOSE 8000
CMD ["python", "manage.py", "runserver", "0.0.0.0:8000"]
You: Can you migrate this Dockerfile to use Chainguard Containers?
FROM python:3.12-slim
WORKDIR /app
COPY requirements.txt .
RUN pip install -r requirements.txt
COPY . .
CMD ["python", "app.py"]
Claude Code: [Uses chainguard-codegen dockerfile-migrator skill]
I'll migrate this to use Chainguard's Python image with a multi-stage build for better security...
[Shows migrated Dockerfile with explanation of changes]
- Chainguard Academy - Tutorials and guides
- Chainguard Containers - Full image catalog
- Claude Code Plugins - Plugin documentation
- Documentation: edu.chainguard.dev
- Support Portal: support.chainguard.dev
- Community Slack: go.chainguard.dev/slack
- GitHub Issues: github.com/chainguard-dev/edu/issues
These plugins are maintained by Chainguard. For issues, suggestions, or contributions:
- Open an issue in the edu repository
- Join our Community Slack
- Contact support@chainguard.dev
Apache-2.0
Chainguard is building a new generation of secure software supply chain tooling. We provide:
- Chainguard Containers: Secure, minimal container images
- Wolfi: Undistro for building containers
- apko: Build OCI images from APK packages
- melange: Build APK packages from source
- Chainguard Enforce: Software supply chain security platform
Learn more at chainguard.dev