Back to skills
SKILL.md
Create Docker Skill
ASecurityScaffolds an agent skill with a Docker runtime environment. NOT for normal local skills (use `create-skill`) and NOT for Azure hosted agents (use `create-azure-agent`).
- 7 stars
- 0 votes
- 0 copies
- 0 views
- Added September 2, 2026
Works with
Security analysis
100/100Pro scans all 20 files and shows the line behind each finding
npx -y skills add richfrem/agent-plugins-skills --skill create-docker-skill --agent claude-codeAre you the author of Create Docker Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/richfrem-create-docker-skill-agent-plugins-skills)---
name: create-docker-skill
plugin: agent-scaffolders
description: >
Scaffolds an agent skill with a Docker runtime environment. NOT for normal local skills (use `create-skill`) and NOT for Azure hosted agents (use `create-azure-agent`).
argument-hint: "[skill-name]"
allowed-tools: Bash, Read, Write
---
# Create Docker Skill (create-docker-skill)
Scaffolds a compliant agent skill that executes workloads within containerized runtimes (Docker, Nextflow, HPC).
## Contents
- [Critical Constraints](#critical-constraints)
- [Quick start](#quick-start)
- [Workflow](#workflow)
- [Verification](#verification)
- [References](#references)
## Critical Constraints
- **Container Scope**: Only for container-dependent workloads. For standard local skills, use `create-skill`. For Azure AI Foundry, use `create-azure-agent`.
- **Pre-Flight Validation**: Generated skills must verify container daemon availability (`docker info`) and fail gracefully with actionable remediation.
- **Security Boundaries**: Restrict mount scopes to designated working directories; never mount the root filesystem or run in privileged mode unless requested.
- **Non-Destructive**: Never overwrite existing directories without explicit confirmation.
## Quick start
```bash
python3 plugins/agent-scaffolders/scripts/scaffold.py \
--type skill \
--name <skill-name> \
--path plugins/<plugin>/skills/<skill-name> \
--desc "Containerized workload execution"
```
## Workflow
1. **Phase 1: Runtime Discovery**: Gather container runtime (Docker, Nextflow, Podman), base image, CPU/memory limits, volume mounts, and network isolation needs.
2. **Phase 2: Directory Scaffolding**: Execute `scaffold.py` to generate the skill structure with `SKILL.md`, `scripts/`, `evals/`, and `references/`.
3. **Phase 3: Runtime Harnessing**: Configure container pre-flight checks, subprocess invocation wrapper, stdout/stderr streaming, and container cleanup traps.
4. **Phase 4: Verification & Evals**: Populate `evals/evals.json` with positive/negative trigger cases and validate skill compliance.
## Verification
```bash
# Validate generated skill compliance
python3 plugins/agent-scaffolders/scripts/audit_skill.py plugins/<plugin>/skills/<skill-name> --mode source
# Verify container runtime pre-flight logic
docker info >/dev/null 2>&1 || echo "Docker daemon unreachable"
```
## References
- [fallback-tree.md](references/fallback-tree.md) - Procedural fallback handling for scaffolding failures.
- [acceptance-criteria.md](references/acceptance-criteria.md) - Standard acceptance criteria for container skills.
- [references/patterns/client-side-compute-sandbox-constraint.md](references/patterns/client-side-compute-sandbox-constraint.md) - Sandbox isolation pattern.
Files in this skill
- SKILL.md
- acceptance-criteria.md
- evals/evals.json
- evals/results.tsv
- execute.py
- fallback-tree.md
- references/acceptance-criteria.md
- references/fallback-tree.md
- references/hitl-interaction-design.md
- references/pattern-decision-matrix.md
- references/patterns/action-forcing-output-with-deadline-attribution.md
- references/patterns/adversarial-objectivity-constraint.md
- references/patterns/anti-pattern-vaccination.md
- references/patterns/anti-symptom-triage.md
- references/patterns/artifact-embedded-execution-audit-trail.md
- references/patterns/artifact-generation-xss-compliance-gate.md
- references/patterns/artifact-lifecycle.md
- references/patterns/artifact-state-interrogative-routing.md
- references/patterns/asynchronous-benchmark-metric-capture.md
- references/patterns/audience-segmented-information-filtering.md
Attribution
Comments
Loading comments…