Borrowing it
Nothing to install: this file belongs to fmbenhassine/chessclaw. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.
curl -O https://raw.githubusercontent.com/fmbenhassine/chessclaw/main/.codex/skills/convert-to-docker/SKILL.mdgit clone --depth 1 https://github.com/fmbenhassine/chessclawWrote 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/fmbenhassine/chessclaw/convert-to-docker)<a href="https://agentmods.dev/skills/fmbenhassine/chessclaw/convert-to-docker"><img src="https://agentmods.dev/badge/skills/fmbenhassine/chessclaw/convert-to-docker.svg" alt="Measured on agentmods" 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.00048 | $0.01283 |
| Opus 5 | $0.00024 | $0.00642 |
| Sonnet 5 | $0.00010 | $0.00257 |
| Haiku 4.5 | $0.00005 | $0.00128 |
Grade A, and why
convert-to-docker 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 7d 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 — 184 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Convert to Docker
This skill migrates ChessClaw from Apple Container to Docker.
The target architecture must stay the same:
- one assistant workspace
- one configured assistant chat
- one persistent Codex session
- one message queue
- one host-mounted SQLite database file
- no multi-channel or multi-chat redesign
What changes:
- runtime command:
container->docker - startup health checks: Apple Container -> Docker
- image build command:
container build->docker build - run/test commands:
container run->docker run
What must stay intact:
- the current single-channel direct-chat model
- the host DB mount exposed through
CHESSCLAW_DATABASE_PATH - the in-container chess tooling copied into the image
- the assistant/runtime/session/IPC flow
Prerequisites
Verify Docker is installed and running:
docker --version && docker info >/dev/null 2>&1 && echo "Docker ready" || echo "Install Docker first"
If Docker is not installed:
- macOS: install Docker Desktop from https://docker.com/products/docker-desktop
- Linux: install Docker Engine and start the daemon
1. Update Runtime Commands
Edit src/container-runner.ts so container execution uses Docker.
Required changes:
- replace
spawn('container', ...)withspawn('docker', ...) - replace
container stop ...withdocker stop ... - keep
--rm - keep container naming
- preserve the current
CHESSCLAW_DATABASE_PATHenv wiring
When converting mount syntax:
- writable bind mounts become
-v host:container - readonly mounts become
-v host:container:ro
Do not remove the host DB file mount. The Docker version must still mount the host database file directly into the container and keep CHESSCLAW_DATABASE_PATH pointing at that mounted file.
2. Update Startup Checks
Edit src/index.ts:
- replace Apple Container startup checks with
docker info - replace Apple Container-specific fatal messages with Docker-specific ones
- replace orphan cleanup commands from
container ls/container stopto Docker equivalents such asdocker ps/docker stop
What ships with it
1 file 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.
- 7d ago First seen · 184 lines · 48 tokens per session scan A d949d3804eb0
convert-to-docker is a skill published in the GitHub repository fmbenhassine/chessclaw (5 stars, last pushed 5mo ago), licensed MIT. It adds 48 tokens to every session and 1,283 once invoked, about $0.0002 per session on Opus 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-08-31.
Other skills, from other repositories
manage-mounts
Configure which host directories agent containers can access. View, add, or remove mount allowlist entries. Triggers on "mounts", "mount allowlist", "agent access to directories", "container mounts".
securing-cloud-and-supply-chain
A guide to protecting cloud infrastructure and the software supply chain, the systems and dependencies used to build and deliver software.
provisioning-infrastructure
Cloud-native infrastructure knowledge reference covering Kubernetes, Helm, Kustomize, Operators, CRDs, GitOps (ArgoCD, Flux), and IaC (Terraform, Pulumi, CDK). Use when provisioning infrastructure, managing clusters, or working with GitOps workflows.
aio-bun-fullstack-setup
Bootstrap or scaffold a Bun fullstack project in one shot — single-port server, Vite dev proxy, monorepo layout, and Docker config. Use when starting a new fullstack project with Bun, setting up a bun server with vite proxy, creating a monorepo bun layout, configuring docker bun deployment, or bootstrapping a bun…
Pynchy Ops
Use when managing the pynchy service on the server — deploying changes, observing logs, checking service status, restarting the service, setting up GitHub auth, rebuilding the agent container, or running commands on the live Pynchy host. Also use when interacting with the LiteLLM proxy — investigating failed requests…
convert-to-apple-container
Switch from Docker to Apple Container for macOS-native container isolation. Use when the user wants Apple Container instead of Docker, or is setting up on macOS and prefers the native runtime. Triggers on "apple container", "convert to apple container", "switch to apple container", or "use apple container".