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 abdullahkhawer/devops-skills --skill dockerfile-lintinggit clone --depth 1 https://github.com/abdullahkhawer/devops-skillsWrote 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/abdullahkhawer/devops-skills/dockerfile-linting)<a href="https://agentmods.dev/skills/abdullahkhawer/devops-skills/dockerfile-linting"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/dockerfile-linting/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/abdullahkhawer/devops-skills/dockerfile-linting"><img src="https://agentmods.dev/badge/skills/abdullahkhawer/devops-skills/dockerfile-linting.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.00033 | $0.00640 |
| Opus 5.5 | $0.00013 | $0.00256 |
| Sonnet 5.5 | $0.00007 | $0.00128 |
| Haiku 4.5 | $0.00003 | $0.00064 |
Grade A, and why
dockerfile-linting 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 2mo 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.
How it starts
The opening of the file, as written. The whole thing — 65 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Dockerfile Linting Skill
Run this skill when asked to lint or check a Dockerfile for issues.
Step 1 — Detect available tooling
which hadolint 2>/dev/null
ls .hadolint.yaml .hadolint.yml 2>/dev/null
If hadolint is not installed, inform the user and ask before installing:
brew install hadolint
Step 2 — Find Dockerfiles
find . -type f \( -iname "Dockerfile" -o -iname "Dockerfile.*" -o -iname "*.dockerfile" \) -not -path "*/node_modules/*" -not -path "*/.git/*"
Step 3 — Run linting (read-only check)
hadolint <Dockerfile>
Respect the project's .hadolint.yaml if present (e.g. ignored rules) — do not override it.
Report all findings grouped by file, with line numbers, rule codes (e.g. DL3008), and severity (error/warning/info/style).
Step 4 — Explain and suggest fixes
hadolint does not auto-fix — for each finding, show the offending line and a suggested replacement. Common fixes:
DL3008/DL3018/DL3028: pin package versions (e.g.apt-get install -y package=1.2.3).DL3009: clean up package manager caches in the sameRUNlayer.DL3025: use JSON/exec form forCMD/ENTRYPOINT.DL3002: avoid running as root — add aUSERinstruction.DL3006: pin the base image tag (avoidlatest).DL4006: setSHELL ["/bin/bash", "-o", "pipefail", "-c"]before any pipedRUNcommand.
Rules
- NEVER install
hadolintwithout asking the user first. - Respect the project's existing
.hadolint.yamlignore list — do not re-flag rules the project has intentionally silenced, but you may mention them if they look unsafe (e.g. ignoringDL3002, running as root). - Report the exact command run and its full output — do not summarize away findings.
- Always flag missing non-root
USER, unpinned base image tags, and unpinned package versions even ifhadolint's default severity for them is only "info" or "style" — these are security-relevant in production images. - Do not suggest disabling a rule via inline
# hadolint ignore=DLxxxxcomments unless the user explicitly asks for an exception and confirms the reason.
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.
- 2mo ago First seen · 65 lines · 33 tokens per session scan A 846679d13ef5
dockerfile-linting is a skill published in the GitHub repository abdullahkhawer/devops-skills (11 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 33 tokens to every session and 640 once invoked, about $0.0001 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-09-23.
dockerfile-linting compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| dockerfile-lintingabdullahkhawer/devops-skills | Skill | 11 | 2mo ago | Apache-2.0 | A | 33 | Claude Code, Codex |
| docker-security-reviewbeel-collab/presets.dev | Skill | 3 | 7d ago | MIT | A | 49 | Claude Code, Codex |
| docker-build-deploywu529778790/shenzjd-skills | Skill | 4 | 2mo ago | MIT | A | 44 | Claude Code, Codex |
| development-environmentmiles990/claude-software-skills | Skill | 26 | 10mo ago | MIT | A | 14 | Claude Code, Codex |
| implementing-container-image-minimal-base-with-distrolessxalgorix/xalgorix | Skill | 1.5k | yesterday | Apache-2.0 | A | 45 | Claude Code, Codex |
| docs-managearabold/docs-mcp-server | Skill | 1.9k | 8d ago | MIT | A | 68 | Claude Code, Codex |
| fetch-urlarabold/docs-mcp-server | Skill | 1.9k | 8d ago | MIT | A | 51 | Claude Code, Codex |