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: reads ~/.codex paths; 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/github.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/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.

agentmods 80×15 button for convert-to-docker

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00019 $0.00513
Sonnet 5.5 $0.00010 $0.00257
Haiku 4.5 $0.00005 $0.00128

Measured 2mo ago against content hash d949d3804eb0, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 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.

.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. 2mo 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 7mo ago), licensed MIT. It adds 48 tokens to every session and 1,283 once invoked, about $0.0002 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-08-31.

Related

convert-to-docker compared with skills from other repositories

convert-to-docker next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
convert-to-dockerfmbenhassine/chessclawSkill57mo agoMITA48Codex
add-iron-proxynanocoai/nanoclawSkill31kyesterdayMITA52Claude Code
manage-mountsnanocoai/nanoclawSkill31kyesterdayMITA47Claude Code
securing-cloud-and-supply-chaintelagod/code-abyssSkill2443mo agoMITA85Claude Code
provisioning-infrastructuretelagod/code-abyssSkill2443mo agoMITA61Claude Code
aio-bun-fullstack-setupaiocean/claude-pluginsSkill49d agoMITA95Claude Code
mcp-server-operationsfabioc-aloha/Alex_Skill_MallSkill5yesterdayMITA40Claude Code, Codex