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.
npx skills add chainguard-demo/claude-plugins --skill mapping-os-packages-to-chainguardgit clone --depth 1 https://github.com/chainguard-demo/claude-pluginsWrote 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/chainguard-demo/claude-plugins/mapping-os-packages-to-chainguard)<a href="https://agentmods.dev/skills/chainguard-demo/claude-plugins/mapping-os-packages-to-chainguard"><img src="https://agentmods.dev/badge/skills/chainguard-demo/claude-plugins/mapping-os-packages-to-chainguard/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/chainguard-demo/claude-plugins/mapping-os-packages-to-chainguard"><img src="https://agentmods.dev/badge/skills/chainguard-demo/claude-plugins/mapping-os-packages-to-chainguard.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.00042 | $0.00613 |
| Opus 5 | $0.00021 | $0.00307 |
| Sonnet 5 | $0.00008 | $0.00123 |
| Haiku 4.5 | $0.00004 | $0.00061 |
Grade A, and why
mapping-os-packages-to-chainguard 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 11d 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.
curl -sSf https://raw.githubusercontent.com/chainguard-dev/dfc/refs/heads/main/pkg/dfc/builtin-mappings.yaml > builtin-mappings.yaml How it starts
The opening of the file, as written. The whole thing — 94 lines — stays where its author put it; the contents beside it link to each section on GitHub.
These are the steps you should follow when trying to map an OS package name from a distribution like Debian or Alpine to its equivalent in the Chainguard ecosystem.
At a high level this involves these steps:
- Download package mappings
- Map package name
- Optionally, search for packages
Download Package Mappings
The Dockerfile Converter tool provides a list of package mappings that can be useful for this task. You can download them like this:
curl -sSf https://raw.githubusercontent.com/chainguard-dev/dfc/refs/heads/main/pkg/dfc/builtin-mappings.yaml > builtin-mappings.yaml
The structure of this file is like:
# You can ignore this for the purposes of image mapping
images: {}
packages:
alpine:
alpine-package-name:
- chainguard-equivalent-name
debian:
debian-package-name:
- chainguard-equivalent-name
fedora:
fedora-package-name:
- chainguard-equivalent-name
Map Package Names
You can use yq to search the mappings for the the equivalent Chainguard
packages for a given package in another distribution:
yq '.packages.debian["awscli"]' builtin-mappings.yaml
For Debian based distributions (like Debian and Ubunutu) use .packages.debian.
For Alpine, use .packages.alpine.
For Red Hat and Fedora, use .packages.fedora.
If you can't find a match, then assume that the package name is the same in the Chainguard ecosystem, which is often the case.
Search For Packages
If you find that a package name doesn't exist in Chainguard's repositories, you
can drop into a -dev image and use apk search to find the equivalent based
on naming:
docker run -it --rm --entrypoint bash -u root cgr.dev/ORGANIZATION/python:3.12-dev
# apk update
# apk search -q <package name or substring>
# apk search -q cmd:<specific command name>
Another thing you may consider trying is seeing which files are provided by the upstream:
docker run -it --rm debian:bookworm-slim
# apt update
# apt install mariadb-client
# dpkg -L mariadb-client
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.
- 11d ago First seen · 94 lines · 42 tokens per session scan A 3cb88362b5d5
mapping-os-packages-to-chainguard is a skill published in the GitHub repository chainguard-demo/claude-plugins (7 stars, last pushed 4mo ago), licensed Apache-2.0. It adds 42 tokens to every session and 613 once invoked, about $0.0002 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.
Other skills, from other repositories
build-mcpb
This skill should be used when the user wants to "package an MCP server", "bundle an MCP", "make an MCPB", "ship a local MCP server", "distribute a local MCP", discusses ".mcpb files", mentions bundling a Node or Python runtime with their MCP server, or needs an MCP server that interacts with the local filesystem…
nextjs-deployment
Provides comprehensive patterns for deploying Next.js applications to production. Use when configuring Docker containers, setting up GitHub Actions CI/CD pipelines, managing environment variables, implementing preview deployments, or setting up monitoring and logging for Next.js applications. Covers standalone output…
opencode-sandbox
Run OpenCode in a docker-dev sandbox (SSH/gh on by default; --no-ssh/--no-github to isolate). Prints docker exec attach; kept until you confirm rm. Don't use for opencode.ai (opencode-runner), Herdr, or the app.
escaping-hardened-containers
Escape containers that drop capabilities, enforce seccomp profiles, and run behind AppArmor or SELinux — enumerating residual capabilities, analyzing seccomp filters, abusing single-capability escapes, cgroup release agents, filesystem mounts, and runtime CVEs. Use when a container has no --privileged flag but retains…
pentest-cloud-infrastructure
Cloud security posture management and container security assessment for AWS, Azure, GCP, and Kubernetes.
configure-log-aggregation
Set up centralized log aggregation with Loki and Promtail (or ELK stack), including log parsing, label extraction, retention policies, and integration with metrics for correlation. Use when consolidating logs from multiple services into a searchable system, replacing local log files with centralized queryable storage…