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 asgarovf/locusai --skill docker-essentialsgit clone --depth 1 https://github.com/asgarovf/locusaiWrote 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/asgarovf/locusai/docker-essentials)<a href="https://agentmods.dev/skills/asgarovf/locusai/docker-essentials"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/docker-essentials/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/asgarovf/locusai/docker-essentials"><img src="https://agentmods.dev/badge/skills/asgarovf/locusai/docker-essentials.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.00035 | $0.01148 |
| Opus 5.5 | $0.00014 | $0.00459 |
| Sonnet 5.5 | $0.00007 | $0.00230 |
| Haiku 4.5 | $0.00003 | $0.00115 |
Grade A, and why
docker-essentials 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 3mo 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.
test: ["CMD", "curl", "-f", "http://localhost:3000/health"] How it starts
The opening of the file, as written. The whole thing — 201 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Docker Essentials
When to use this skill
- Writing or optimizing a Dockerfile
- Creating docker-compose configurations
- Containerizing an application
- Setting up multi-container development environments
- Debugging container issues
- Optimizing Docker image size and build times
Dockerfile best practices
Multi-stage builds
# Stage 1: Build
FROM node:20-alpine AS builder
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# Stage 2: Production
FROM node:20-alpine AS production
WORKDIR /app
RUN addgroup -g 1001 appgroup && adduser -u 1001 -G appgroup -s /bin/sh -D appuser
COPY --from=builder /app/dist ./dist
COPY --from=builder /app/node_modules ./node_modules
COPY --from=builder /app/package.json ./
USER appuser
EXPOSE 3000
CMD ["node", "dist/index.js"]
Layer optimization
# GOOD: Copy dependency files first for cache
COPY package.json package-lock.json ./
RUN npm ci
COPY . .
# BAD: Busts cache on any source change
COPY . .
RUN npm install
Security
- Use specific image tags, not
latest - Run as non-root user
- Use
.dockerignoreto exclude secrets, node_modules, .git - Don't store secrets in ENV — use build secrets or runtime mounts
- Scan images:
docker scout cves <image>
.dockerignore
node_modules
.git
.env*
dist
*.log
.DS_Store
coverage
.nyc_output
Docker Compose
Development setup
services:
app:
build:
context: .
dockerfile: Dockerfile
target: development
ports:
- "3000:3000"
volumes:
- .:/app
- /app/node_modules
environment:
- NODE_ENV=development
- DATABASE_URL=postgres://user:pass@db:5432/mydb
depends_on:
db:
condition: service_healthy
db:
image: postgres:16-alpine
ports:
- "5432:5432"
environment:
POSTGRES_USER: user
POSTGRES_PASSWORD: pass
POSTGRES_DB: mydb
volumes:
- pgdata:/var/lib/postgresql/data
healthcheck:
test: ["CMD-SHELL", "pg_isready -U user"]
interval: 5s
timeout: 5s
retries: 5
redis:
image: redis:7-alpine
ports:
- "6379:6379"
volumes:
pgdata:
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.
- 3mo ago First seen · 201 lines · 35 tokens per session scan A fb96d5c3bbaf
docker-essentials is a skill published in the GitHub repository asgarovf/locusai (23 stars, last pushed 8mo ago), licensed MIT. It adds 35 tokens to every session and 1,148 once invoked, about $0.0001 per session on Opus 5.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-30.
docker-essentials compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| docker-essentialsasgarovf/locusai | Skill | 23 | 8mo ago | MIT | A | 35 | Claude Code |
| docker-wizardglincker/claude-code-marketplace | Skill | 38 | 2mo ago | Apache-2.0 | A | 19 | Claude Code |
| docker-docspledgeandgrow/pledge-skills | Skill | 11 | 4mo ago | MIT | A | 93 | Claude Code, Codex |
| docker-managementfurkangonel/cowrangler | Skill | 1 | 2mo ago | MIT | C | 16 | Claude Code, Codex |
| harborav/harbor | Skill | 3.3k | 23d ago | Apache-2.0 | A | 114 | Claude Code |
| dockerericrisco/rsc-harness | Skill | 707 | 2d ago | MIT | B | 86 | Claude Code, Codex |
| 04-securityskillmds/skillmd | Skill | 142 | 26d ago | MIT | A | 39 | Claude Code |