Binary Dockerfile image-build hardening check. Use when reviewing Dockerfiles, container image builds, multi-stage builds, runtime users, pinned bases, or reproducible dependency installs. Minimal output only: OK or NOT_OK: RULE, RULE.
Scanned 8/30/2026
Install to Claude Code
npx -y skills add andypitcher/ponytail-sec --skill dockerfile --agent claude-codeInstalls into .claude/skills of the current project.
Are you the author of Dockerfile?
Add the live security badge to your README — it updates automatically with every re-scan.
[](https://www.skillsdirectory.com/skills/andypitcher-dockerfile)More formats (shields.io, HTML) on the badges page.
---
name: dockerfile
description: >
Binary Dockerfile image-build hardening check. Use when reviewing Dockerfiles,
container image builds, multi-stage builds, runtime users, pinned bases, or
reproducible dependency installs. Minimal output only: OK or NOT_OK: RULE, RULE.
license: MIT
---
Ask once before enforcing:
> Enforce dockerfile skill? (yes / no)
If no: stop.
If yes: inspect locally. Do not web-search by default. Web-search only if the
user asks or the Dockerfile uses a platform feature whose semantics are unknown.
## Contract
Return exactly one line:
- `OK`
- `NOT_OK: RULE, RULE`
No severity. No advisory text. No maybes. If a rule cannot be verified, it is
not OK.
## Rules
All rules are mandatory.
- `NON_ROOT` — final image must set `USER` to a non-root user or numeric UID
that is not `0`.
- `MULTI_STAGE` — production Dockerfile must use more than one `FROM` and copy
only the runtime result into the final stage.
- `LEAN_FINAL` — final stage must not install or retain package managers,
compilers, build tools, caches, or test tooling.
- `PIN_BASE` — every `FROM` must be pinned to a non-floating tag or digest; no
`latest`, no untagged images. Digest wins.
- `REPRO_DEPS` — dependency installation must use reproducible inputs: lockfile,
hash-pinned requirements, vendor directory, or equivalent. Raw manifest-only
installs are not OK.
## Output examples
`OK`
`NOT_OK: NON_ROOT, PIN_BASE, REPRO_DEPS`
Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.
No comments yet. Be the first to comment!
Set up the Globalize CLI, create a translation project, and connect a GitHub or GitLab repository. Use this skill when the user asks to set up Globalize, install the Globalize CLI, authenticate with Globalize, or connect their project to the Globalize translation platform. Also use when the user mentions @globalize-now/cli-client or globalise-now-cli. This skill handles installation, authentication, project creation, and repository connection. For managing existing projects (glossaries, style...
Create, comment on, update, and list Paperclip tasks from Hermes using scoped Paperclip API credentials.
Write a short, colloquial summary for a Paperclip summary slot: open with the 1–3 specific, concrete actions the reader needs to take right now to unblock the work, then a brief plain-language status, streaming progress as it works.
Team Mode security research skill. Orchestrates 3 vulnerability hunters and 2 PoC engineers to audit a codebase in parallel, prove exploitability, classify root causes, and calibrate severity by actual exploitability. Use for security review, vulnerability research, exploitability audit, pre-release security check, threat model validation, and `/security-research`. Triggers: 'security-research', 'security research', 'security review', 'vulnerability audit', 'exploitability audit', '보안 리뷰', '취...
Use this skill when adding authentication, handling user input, working with secrets, creating API endpoints, or implementing payment/sensitive features. Provides comprehensive security checklist and patterns.