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.
git clone --depth 1 https://github.com/saajunaid/caddis-pluginWrote 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/commands/saajunaid/caddis-plugin/dockerfile)<a href="https://agentmods.dev/commands/saajunaid/caddis-plugin/dockerfile"><img src="https://agentmods.dev/badge/commands/saajunaid/caddis-plugin/dockerfile/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/commands/saajunaid/caddis-plugin/dockerfile"><img src="https://agentmods.dev/badge/commands/saajunaid/caddis-plugin/dockerfile.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.00012 | $0.00493 |
| Opus 5.5 | $0.00005 | $0.00197 |
| Sonnet 5.5 | $0.00002 | $0.00099 |
| Haiku 4.5 | $0.00001 | $0.00049 |
Grade A, and why
dockerfile 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 1mo 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 — 78 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Multi-Stage Dockerfile
Create an efficient, production-ready multi-stage Dockerfile for the current project.
Instructions
- Detect the project's language, framework, and package manager from the codebase.
- Generate a multi-stage Dockerfile following the best practices below.
- Also generate a
.dockerignorefile if one doesn't exist.
Multi-Stage Structure
Organize stages in this order:
# Stage 1: Dependencies
FROM <base>:<version>-slim AS deps
# Install only production dependencies
# Stage 2: Build
FROM deps AS build
# Install dev dependencies, compile, transpile, etc.
# Stage 3: Runtime
FROM <minimal-base>:<version>-slim AS runtime
# Copy only built artifacts and production deps
# Set non-root user, healthcheck, entrypoint
Best Practices
Base Images
- Use official, minimal base images (
-slim,-alpine) - Pin exact version tags for reproducibility (e.g.,
python:3.12-slim, notpython:latest) - Consider distroless images for the runtime stage
Layer Optimization
- Copy dependency manifests first, install deps, then copy source code (maximizes cache)
- Combine related
RUNcommands with&&to reduce layers - Place frequently-changing steps (source code) after stable steps (dependencies)
Security
- Run as a non-root user in the runtime stage (
USER appuser) - Remove build tools and dev dependencies from the final image
- Do not copy secrets, credentials, or
.envfiles into the image - Set restrictive file permissions
Performance
- Use
HEALTHCHECKappropriate to the application type - Set production environment variables (e.g.,
NODE_ENV=production) - Use
COPY --from=buildto bring only necessary artifacts into runtime - Use build arguments (
ARG) for values that vary between environments
.dockerignore
Generate a .dockerignore that excludes at minimum:
.git
node_modules
__pycache__
*.pyc
.env
.env.*
dist
build
coverage
.pytest_cache
Output
Provide the Dockerfile with comments explaining each stage and key decisions.
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.
- 1mo ago First seen · 78 lines · 12 tokens per session scan A 36b74093e446
dockerfile is a command published in the GitHub repository saajunaid/caddis-plugin (0 stars, last pushed today), licensed MIT. It adds 12 tokens to every session and 493 once invoked, about $0.0000 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-09.
Other commands, from other repositories
end-session
Wrap up the work session with read-only evidence gathering, owner-classified documentation handoffs, gated issue sync, Kano refinement, and git hygiene checks.
test-feature
Test a React Native feature on the running simulator/emulator. Verifies UI, user flows, and internal state. Generates a persistent Maestro test file.
specify
Command dispatcher for specify.
accept
Command dispatcher for accept.
change
Command dispatcher for change.
checklist
Generate a custom checklist for the current feature based on user requirements.