docker
What it does
This skill runs research or experiment code inside Docker containers, keeping it separate from the host machine. It is for researchers who want safe, repeatable runs.
When to use it
- ✓When you want to run code from an unfamiliar paper repository safely.
- ✓When an experiment installs packages or changes system settings and should stay isolated.
- ✓When you need a GPU or Python environment set up in a repeatable way.
Skill link
https://github.com/Companion-Inc/feynman/blob/main/skills/docker/SKILL.mdCopy it and paste it into your AI (Claude, ChatGPT or Cursor), asking it to follow the instructions.
How to use
The easiest way: copy the message and paste it into your AI. It reads the skill and follows the instructions.
Ready-to-paste message
For Claude Code, Codex or Cursor: run it in your project folder and the skill gets installed.
Download the SKILL.md and drop it into your agent’s skills folder.
Example of what to ask your AI
“Run this paper's training code inside a Docker container so it does not change anything on my computer.”
5 new skills a week. 1 minute to read.
How it works
The skill mounts the project folder into a container, runs the experiment commands there, and writes results back to the same folder. It chooses a suitable base image for the work.
Technical content (original SKILL.md)
Original text by the author, straight from GitHub.
Docker Sandbox
Run research code inside Docker containers while Feynman stays on the host. The container gets the project files, runs the commands, and results sync back.
When to use
- User selects "Docker Sandbox" as the execution environment in
/replicateor/autoresearch - Running untrusted code from a paper's repository
- Experiments that install packages or modify system state
- Any time the user asks to run research code safely or isolated for a Feynman workflow
How it works
- Build or pull an appropriate base image for the research code
- Mount the project directory into the container
- Run experiment commands inside the container
- Results write back to the mounted directory
Running commands in a container
For Python research code (most common):
docker run --rm -v "$(pwd)":/workspace -w /workspace python:3.11 bash -c "
pip install -r requirements.txt &&
python train.py
"
For projects with a Dockerfile:
docker build -t feynman-experiment .
docker run --rm -v "$(pwd)/results":/workspace/results feynman-experiment
For GPU workloads:
docker run --rm --gpus all -v "$(pwd)":/workspace -w /workspace pytorch/pytorch:latest bash -c "
pip install -r requirements.txt &&
python train.py
"
Choosing the base image
| Research type | Base image |
|---|---|
| Python ML/DL | pytorch/pytorch:latest or tensorflow/tensorflow:latest-gpu |
| Python general | python:3.11 |
| Node.js | node:20 |
| R / statistics | rocker/r-ver:4 |
| Julia | julia:1.10 |
| Multi-language | ubuntu:24.04 with manual installs |
Persistent containers
For iterative experiments (like /autoresearch), create a named container instead of --rm. Choose a descriptive name based on the experiment:
docker create --name <name> -v "$(pwd)":/workspace -w /workspace python:3.11 tail -f /dev/null
docker start <name>
docker exec <name> bash -c "pip install -r requirements.txt"
docker exec <name> bash -c "python train.py"
This preserves installed packages across iterations. Clean up with:
docker stop <name> && docker rm <name>
Notes
- The mounted workspace syncs results back to the host automatically
- Containers are network-enabled by default — add
--network nonefor full isolation - For GPU access, Docker must be configured with the NVIDIA Container Toolkit
FAQ
Do I need Docker installed?
Yes. The commands use Docker, so it must be installed on your machine.
Can it use a GPU?
Yes. The skill includes a command for workloads that need a GPU.
Where do results go?
They are written back to the mounted project folder, so you can see them on your computer.
Details
Original description by the author
Execute research code inside isolated Docker containers for safe replication, experiments, and benchmarks. Use when the user selects Docker as the execution environment or asks to run code safely, in isolation, or in a sandbox.
repo: Companion-Inc/feynman
Popularity
- GitHub stars
- 10k
- Ranking position
- #12024
- License
- MIT
- Updated
- 10/31/2026
Comments
- …
More skills from this repository
alpha-research
10kLets your agent search, read and ask questions about academic research papers, and save notes on them, using the alphaXiv research tools.
autoresearch
10kRuns a bounded experiment loop that tests ideas against a benchmark, keeps what works and records what fails, so research gains are measured.
deep-research
10kRuns a thorough, source-heavy investigation on any topic and produces a cited research brief, with a provenance file that tracks where facts came from.
eli5
10kTeaches your agent to explain a paper or technical idea in plain English, with simple words, one clear analogy and a short list of takeaways.
Similar skills
openclaw-update
394kHelps your agent update an existing OpenClaw Gateway, choosing the update method that fits how it was installed and keeping your session working.
diagnose-gateway
394kHelps your agent find out why your OpenClaw Gateway is failing by checking settings, channels, and ports without changing anything.
crabbox-apps
394kHelps your agent open and run an app on a temporary cloud machine, then show its view in your chat side panel.