Skip to content
Back to skills

Modes

ASecurity

Scaffolds a compliant agent skill that executes workloads within containerized runtimes (Docker, Nextflow, HPC).

  • 8 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added November 9, 2026
ai-agentspythonbashdockerazuresecurity

Works with

  • cli

Security analysis

A100/100

Pro scans all 9 files and shows the line behind each finding

Scanned November 9, 2026

npx -y skills add richfrem/agent-plugins-skills --skill modes --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Modes?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Modes
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/richfrem-modes-agent-plugins-skills/badge)](https://www.skillsdirectory.com/skills/richfrem-modes-agent-plugins-skills)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
# 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 scripts/scaffold.py \
  --type skill \
  --name <skill-name> \
  --path plugins/<plugin>/.apm/skills \
  --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 scripts/audit_skill.py plugins/<plugin>/.apm/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](../fallback-tree.md) - Procedural fallback handling for scaffolding failures.
- [acceptance-criteria.md](../acceptance-criteria.md) - Standard acceptance criteria for container skills.
- [references/patterns/client-side-compute-sandbox-constraint.md](../patterns/client-side-compute-sandbox-constraint.md) - Sandbox isolation pattern.

Files in this skill

  • audit-skill.md2.8 KB
  • create-azure-agent.md1.9 KB
  • create-docker-skill.md2.3 KB
  • create-mcp-integration.md2.3 KB
  • create-skill.md3.2 KB
  • create-stateful-skill.md2.7 KB
  • ecosystem-authoritative-sources.md2.2 KB
  • ecosystem-standards.md2 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in ai-agents →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.