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 tmj-90/gaffer --skill docker-developmentgit clone --depth 1 https://github.com/tmj-90/gafferWrote 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/tmj-90/gaffer/docker-development)<a href="https://agentmods.dev/skills/tmj-90/gaffer/docker-development"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/docker-development/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/tmj-90/gaffer/docker-development"><img src="https://agentmods.dev/badge/skills/tmj-90/gaffer/docker-development.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.00060 | $0.01422 |
| Opus 5.5 | $0.00024 | $0.00569 |
| Sonnet 5.5 | $0.00012 | $0.00284 |
| Haiku 4.5 | $0.00006 | $0.00142 |
Grade B, and why
docker-development scanned grade B 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 16d 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.
Recursive force deletemediumDestructive command
rm -rf with a variable or a broad path is one typo away from removing the wrong tree.
- `apt-get update && apt-get install -y --no-install-recommends ... && rm -rf Downgraded: this mod is about security review, or the phrase is quoted, so it is likely naming the pattern rather than instructing it.
How it starts
The opening of the file, as written. The whole thing — 107 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Smaller images. Faster builds. Secure containers.
Three concerns, in priority order: the container is safe (non-root, no secrets, pinned inputs), it behaves correctly as PID 1 (signals, health), and it is small and cache-friendly. Rules follow Docker's official "Building best practices" and Dockerfile reference.
Reference pattern
# syntax=docker/dockerfile:1
FROM node:22.11-bookworm-slim@sha256:<digest> AS build
WORKDIR /app
COPY package.json pnpm-lock.yaml ./
RUN --mount=type=cache,target=/root/.local/share/pnpm/store \
corepack enable && pnpm install --frozen-lockfile
COPY . .
RUN pnpm build && pnpm prune --prod
FROM node:22.11-bookworm-slim@sha256:<digest> AS runtime
ENV NODE_ENV=production
WORKDIR /app
COPY --from=build --chown=10001:10001 /app/dist ./dist
COPY --from=build --chown=10001:10001 /app/node_modules ./node_modules
USER 10001:10001
EXPOSE 3000
HEALTHCHECK --interval=30s --timeout=3s CMD ["node", "dist/healthcheck.js"]
CMD ["node", "dist/main.js"]
Replace <digest> with the real digest (docker buildx imagetools inspect <image:tag>);
if you cannot resolve it, pin the full version tag and say so in evidence.
Procedure
- Read what exists.
search_lorefor base-image, registry and scan conventions. Read the current Dockerfile,.dockerignore, compose files and the CI job that builds the image. Note how the app starts, its port, its health endpoint, and what it writes to disk. - Pin inputs. Base images by explicit version plus digest, never
latest; the same base across stages where possible. Add a Dependabotpackage-ecosystem: dockerentry if the repo uses Dependabot, so pins get refreshed. - Split build from runtime. Compilers, dev dependencies, package-manager caches and
source stay in the build stage; runtime gets only the artifact. Prefer slim or
distroless runtimes; a static binary can use
scratch/distroless static. - Order for cache. Manifests and lockfile → install → source → build. Use
RUN --mount=type=cachefor package-manager caches. Keep.dockerignoretight:.git,node_modules, build output, test fixtures,.env*, keys. - Harden.
- Non-root with a numeric UID/GID (
USER 10001:10001) so KubernetesrunAsNonRootcan verify it; nosudo. - Build-time secrets only via
RUN --mount=type=secret,id=.... NeverARG/ENVfor secrets — build args are visible indocker history. apt-get update && apt-get install -y --no-install-recommends ... && rm -rf /var/lib/apt/lists/*in oneRUN;set -o pipefailbefore pipes (with bash).COPY, notADD, unless extracting a local tarball.
- Non-root with a numeric UID/GID (
- Behave as PID 1. Exec-form
CMD/ENTRYPOINT(JSON array) so SIGTERM reaches the app; the app drains in-flight work on SIGTERM; usedocker run --init/tini if it spawns children. Add aHEALTHCHECK(or the orchestrator's probe) that checks the app, not just the port. - Compose. Healthchecks on every service;
depends_on: { db: { condition: service_healthy } }; named volumes for data; no secrets inline (usesecrets:or environment injected at runtime — the safety hook blocks.env*files, so document required variables in the README or compose comments). Do not scale a service to more than one replica on a shared writable volume unless the app is proven safe for concurrent writers — temp-file name collisions and unsynchronised read-modify-write lost data in live runs. - Verify (below), evidence with the
record-evidenceskill, then stop.
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.
- 16d ago Changed · +19 lines scan A → B 31fc5bd1e9c2
- 1mo ago First seen · 88 lines · 60 tokens per session scan A 3fdc7f954715
docker-development is a skill published in the GitHub repository tmj-90/gaffer (2 stars, last pushed 17d ago), licensed Apache-2.0. It adds 60 tokens to every session and 1,422 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it B with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.
Other skills, from other repositories
bulwark-brainstorm
Role-based brainstorming with dual modes: --scoped (sequential Task tool, 5 roles) and --exploratory (Agent Teams peer debate, 4 roles). Use for feasibility assessment and idea validation.
plan-creation
Create structured implementation plans via a 4-role scrum team (Product Owner, Architect, Eng/Delivery Lead, QA/Critic) with optional Agent Teams peer debate mode.
anthropic-validator
Validates Claude Code assets (skills, hooks, agents, commands, MCP servers, plugins) against official Anthropic standards. Fetches latest docs dynamically and produces structured validation reports.
code-review
Comprehensive code review with distinct aspect based sections. Use when reviewing code, checking for security issues, finding type safety problems, auditing code quality, or when user asks to review code, PRs or changes. Three-phase workflow runs static tools, LLM judgment, and writes diagnostic log.
create-subagent
Generates single-purpose Claude Code sub-agents for use via the Task tool. Use when creating dedicated sub-agents, scaffolding agent definitions, or generating agents with diagnostics and permissions setup.
test-audit
Audit test suites for T1-T4 violations using AST analysis, mock detection, and multi-stage synthesis. Invoke when user asks to audit tests, check test quality, find mock violations, review test effectiveness, or inspect test suites for over-mocking. Triggers automatic rewrites when quality gates fail.