chessclaw: Skill for Codex

.codex/skills/convert-to-docker/SKILL.md

convert-to-docker is a skill for Codex from fmbenhassine/chessclaw. It costs 48 tokens per session (1,283 once invoked), scanned A, original, MIT.

A migration guide for moving ChessClaw from Apple Container to Docker, a container system that runs across macOS and Linux.

In plain words
What is it for?
Use it when adding Linux support, deploying ChessClaw on another platform, or replacing Apple Container commands with Docker commands.
Why use it?
It replaces platform-specific container commands while preserving ChessClaw's existing chat, session, database, and message flow.

Skill for Codex

Written for Codex: agents/openai.yaml present. Also seen: mentions AGENTS.md; mentions Codex.

This is fmbenhassine/chessclaw's own configuration. It tells Codex how to work on chessclaw itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything chessclaw configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./container/build.sh.

Reuse

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.

Copy the file
curl -O https://raw.githubusercontent.com/fmbenhassine/chessclaw/main/.codex/skills/convert-to-docker/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/fmbenhassine/chessclaw

Made for: Codex.

Wrote 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.

agentmods badge for convert-to-docker

README.md
[![agentmods](https://agentmods.dev/badge/skills/fmbenhassine/chessclaw/convert-to-docker.svg)](https://agentmods.dev/skills/fmbenhassine/chessclaw/convert-to-docker)
Your own site
<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>
Per session 48 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce 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

Measured 7d ago against content hash d949d3804eb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

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.

.codex/skills/convert-to-docker/SKILL.md · 184 lines

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:

1. Update Runtime Commands

Edit src/container-runner.ts so container execution uses Docker.

Required changes:

  • replace spawn('container', ...) with spawn('docker', ...)
  • replace container stop ... with docker stop ...
  • keep --rm
  • keep container naming
  • preserve the current CHESSCLAW_DATABASE_PATH env 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 stop to Docker equivalents such as docker ps / docker stop

Read the full file on GitHub · 184 lines

Files

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.

Changes

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.

  1. 7d ago First seen · 184 lines · 48 tokens per session scan A d949d3804eb0

Subscribe to this mod's changes

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.

Related

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".

nanocoai/nanoclaw · 47 tokens

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.

telagod/code-abyss · 85 tokens

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.

telagod/code-abyss · 61 tokens

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…

aiocean/claude-plugins · 95 tokens

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…

crypdick/pynchy · 110 tokens

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".

sliamh11/Deus · 68 tokens