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 jiushiwon/wg-skills --skill deploy-docker-skillgit clone --depth 1 https://github.com/jiushiwon/wg-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/jiushiwon/wg-skills/deploy-docker-skill)<a href="https://agentmods.dev/skills/jiushiwon/wg-skills/deploy-docker-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/deploy-docker-skill/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/jiushiwon/wg-skills/deploy-docker-skill"><img src="https://agentmods.dev/badge/skills/jiushiwon/wg-skills/deploy-docker-skill.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.00085 | $0.01779 |
| Opus 5.5 | $0.00034 | $0.00712 |
| Sonnet 5.5 | $0.00017 | $0.00356 |
| Haiku 4.5 | $0.00009 | $0.00178 |
Grade A, and why
deploy-docker-skill 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 — 219 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Deploy Docker Skill
Overview
本 skill 把项目容器化部署规范化。它读取 deploy-profile.md,生成对应语言的 Dockerfile(多阶段构建、镜像瘦身),以及包含项目服务 + 数据库 + 缓存的 docker-compose.yml。如服务器无 Docker,生成安装命令。
默认行为:生成文件到项目目录,不自动 docker build / up;用户审查后手动执行。
When to Use
触发词:
Docker 部署deploy docker生成 Dockerfile生成 docker-compose帮我把项目容器化
前置依赖:建议先运行 deploy-detect-skill。如服务器无 Docker,本 skill 会调用 server-setup-skill 的安装命令模板生成 Docker 安装步骤。
Workflow Summary
Phase 1: 读取 deploy-profile.md
→ 语言/框架 → 决定 base image 与构建方式
→ 数据库/缓存 → 决定 compose 中的依赖服务
→ 前端产物 → 决定是否需要 Nginx 容器或静态托管
Phase 2: 检测 Docker 是否安装
→ docker -v / docker compose version
→ 缺失则按 OS 生成安装命令(调用 server-setup-skill 模板)
Phase 3: 生成 Dockerfile
→ 多阶段构建(deps → build → runtime)
→ 运行时镜像瘦身(alpine / slim / distroless)
→ 非 root 用户运行
→ HEALTHCHECK 指令
Phase 4: 生成 docker-compose.yml
→ app 服务(build + ports + env_file + depends_on)
→ 数据库服务(image + volumes + 初始化变量)
→ 缓存/消息服务(按需)
→ healthcheck + restart 策略
Phase 5: 输出部署命令
→ docker compose build
→ docker compose up -d
→ docker compose logs -f
→ docker compose restart
Phase 1: 读取 deploy-profile.md
| 画像字段 | 决定 |
|---|---|
| 语言 | Dockerfile base image 与构建命令 |
| Web 框架 | 启动命令(CMD) |
| 数据库 | compose 中增加对应 db 服务 + volume |
| 缓存/消息 | compose 中增加 redis / kafka 服务 |
| 前端产物 | 增加 Nginx 容器托管静态,或合并到 app 镜像 |
Phase 2: 检测 Docker 是否安装
docker -v # Docker version 24.x
docker compose version # Docker Compose version v2.x
缺失时,按 server-setup-skill/references/install-commands.md 的 Docker 段生成安装命令。如已安装,跳过。
Phase 3: 生成 Dockerfile
按 references/dockerfile-spec.md 生成多阶段 Dockerfile。Node.js 示例:
# ---- deps ----
FROM node:22-alpine AS deps
WORKDIR /app
COPY package*.json ./
RUN npm ci --production
# ---- build ----
FROM node:22-alpine AS build
WORKDIR /app
COPY package*.json ./
RUN npm ci
COPY . .
RUN npm run build
# ---- runtime ----
FROM node:22-alpine AS runtime
WORKDIR /app
ENV NODE_ENV=production
RUN addgroup -S app && adduser -S app -G app
COPY --from=deps /app/node_modules ./node_modules
COPY --from=build /app/dist ./dist
COPY package*.json ./
USER app
EXPOSE 8080
HEALTHCHECK --interval=30s --timeout=5s --retries=3 \
CMD node -e "require('http').get('http://127.0.0.1:8080/health', r => process.exit(r.statusCode===200?0:1)).on('error',()=>process.exit(1))"
CMD ["node", "dist/server.js"]
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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 · 219 lines · 85 tokens per session scan A f2cd0c73000d
deploy-docker-skill is a skill published in the GitHub repository jiushiwon/wg-skills (154 stars, last pushed 7d ago), licensed Apache-2.0. It adds 85 tokens to every session and 1,779 once invoked, about $0.0003 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-30.
deploy-docker-skill compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| deploy-docker-skilljiushiwon/wg-skills | Skill | 154 | 7d ago | Apache-2.0 | A | 85 | Claude Code, Codex |
| deploy-docker-composeomnigent-ai/omnigent | Skill | 12k | today | Apache-2.0 | A | 84 | Claude Code, Codex |
| bdd-container-updateNVIDIA-AI-Blueprints/video-search-and-summarization | Skill | 2.0k | today | Apache-2.0 | A | 117 | Cursor |
| securing-kubernetes-on-cloudxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 80 | Claude Code, Codex |
| detecting-privilege-escalation-in-kubernetes-podsxalgorix/xalgorix | Skill | 1.5k | 2d ago | Apache-2.0 | A | 40 | Claude Code, Codex |
| docker-socket-mountPurpleAILAB/Decepticon | Skill | 6.9k | 11d ago | Apache-2.0 | B | 67 | Claude Code |
| managing-astro-local-envastronomer/agents | Skill | 465 | today | Apache-2.0 | A | 63 | Claude Code |