Agent skill

Docker Python Lab

by dmccreary in dmccreary/ibook-skills

Generates an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real Python code inside an isolated Docker container.

No licenceAuto-check passedDevOps & Cloud

Install Docker Python Lab

skills CLI
$ npx skills add dmccreary/ibook-skills --skill docker-python-lab -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install dmccreary/ibook-skills docker-python-lab --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/dmccreary/ibook-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/archived/docker-python-lab .claude/skills/docker-python-lab && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
docker-python-lab
GitHub stars
105
Token cost
~2.1k tokens
SKILL.md length
595 words
Files
4 (incl. assets)
Skills in repo
32
Repo updated
First seen
Licence
None found

At a glance

Generates an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real Python code inside an isolated Docker container.

  • Works in 4 steps: Check / create docs/css/docker-lab.css → Check / create docs/js/docker-lab.js → Add to mkdocs.yml (if not already present) → …
  • Someone asks to add a Python lab
  • SKILL.md covers What This Skill Does, Prerequisites: Shared…, Lab HTML Template and Complete Page Pattern, plus 3 more sections
  • Runs JavaScript scripts from its folder

What it does

Docker Python Lab is an agent skill from dmccreary/ibook-skills. Generates an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real Python code inside an isolated Docker container. Use this skill whenever someone asks to add a Python lab, code runner, interactive Python exercise, or runnable code block to a textbook page that uses Docker (not Skulpt). Also use it when adding multiple labs to a single page, setting up the shared CSS/JS infrastructure, or creating a timing/benchmark lab that shows students how long each phase takes…

Its SKILL.md is about 2.1k tokens, which your agent loads only when the skill is triggered. The skill folder holds 5 other files, including assets (for example `assets/docker-lab.js` and `evals/evals.json`).

It sits in DevOps & Cloud, covering Containers. It works with Docker and Python.

When your agent uses it

  • Someone asks to add a Python lab
  • Interactive Python exercise
  • Runnable code block to a textbook page that uses Docker (not Skulpt)
  • Adding multiple labs to a single page

Example prompts

  • “Use the docker-python-lab skill to generate an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real…”
  • “/docker-python-lab”

Requirements

  • Python 3
  • Node.js
  • Docker

Workflow steps

4 steps, taken from the step headings in SKILL.md.

  1. Check / create docs/css/docker-lab.css
  2. Check / create docs/js/docker-lab.js
  3. Add to mkdocs.yml (if not already present)
  4. Verify the service script exists

What it can do on your machine

Read from SKILL.md and the folder at commit 6789126. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships script files (JavaScript), which the agent can run.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Docker Python Lab loads about 2.1k tokens when it runs. Until then it costs about 150 tokens; SKILL.md has 595 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~150
When it runs · the whole SKILL.md, loaded when a task matches
~2.1k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

Without a licence we can't republish the file, so here is its outline and opening line. It has 595 words (~2,129 tokens).

“Generates interactive Python lab blocks for MkDocs pages in the learning-python textbook (or any MkDocs project following the same pattern). Each lab shows a code editor, Run and Reset buttons, and an output area. Code runs inside a fresh, isolated…”

— opening of SKILL.md by dmccreary
name
docker-python-lab

Read the full SKILL.md on GitHub

Files

SKILL.md and 3 other files (assets) in skills/archived/docker-python-lab of dmccreary/ibook-skills.

  • SKILL.md
  • assets/docker-lab.css
  • assets/docker-lab.js
  • evals/evals.json

Open the folder on GitHubat commit 6789126

Compare with similar skills

Docker Python Lab next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Docker Python Lab compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Docker Python Lab this skilldmccreary/ibook-skills105—~2.1kAutomated safety check: PassNone
Alibabacloud Ecs Sec Userspacealiyun/alibabacloud-ecs-troubleshoot-skills1481 repos~2.6kAutomated safety check: NotesApache-2.0
Minimegasandia-minimega/minimega160—~3.2kAutomated safety check: PassGPL-3.0-only
Unraiddinglebear-ai/unraid135—~5.4kAutomated safety check: NotesMIT
Cosmos3 Env TroubleshootNVIDIA/cosmos-framework558—~1.3kAutomated safety check: NotesCustom licence
Generate Nemo Gym Envadithya-s-k/FineEnvs443—~2.1kAutomated safety check: PassApache-2.0

Similar skills

  • Alibabacloud Ecs Sec Userspace

    aliyun/alibabacloud-ecs-troubleshoot-skills

    Linux 用户态安全入侵检测与取证工具,专为 AI Agent 设计。自动判断服务器是否被入侵, 提供完整证据链和可执行修复建议。51 个安全分析器覆盖进程/网络/认证/持久化/Rootkit/ 恶意软件/内存取证/容器逃逸等 12 类检测维度,10 个数据采集器全面采集系统状态, 映射 103+ MITRE ATT&CK 技术,支持 standalone/docker/k8s 三种部署模式。

    148 GitHub starsUsed in 1 repo~2.6k tokens
    DevOps & CloudAuto-check: notes
  • Minimega

    sandia-minimega/minimega

    This skill should be used when the user asks how to configure, run, automate, integrate, or troubleshoot minimega (VMs, namespaces, VLANs, clusters, miniccc, miniweb, command socket or Python API…

    160 GitHub stars~3.2k tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Unraid

    dinglebear-ai/unraid

    This skill should be used when the user mentions Unraid, asks to check server health, monitor array or disk status, list or restart Docker containers, start or stop VMs, read system logs, check…

    135 GitHub stars~5.4k tokensUpdated 4 days ago
    DevOps & CloudAuto-check: notes
  • Cosmos3 Env Troubleshoot

    NVIDIA/cosmos-framework

    Official

    Diagnose and fix Cosmos3 environment, installation, and runtime errors.

    558 GitHub stars~1.3k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Generate Nemo Gym Env

    adithya-s-k/FineEnvs

    Builds a NeMo Gym (NVIDIA) variant of an RL environment. An agent skill from adithya-s-k/FineEnvs.

    443 GitHub stars~2.1k tokensUpdated today
    DevOps & CloudAuto-check passed
  • Liveblog Dev

    liveblog/liveblog

    Run a local Liveblog development environment. An agent skill from liveblog/liveblog.

    119 GitHub stars~1.9k tokensUpdated today
    DevOps & CloudAuto-check passed

More from dmccreary/ibook-skills

All 32 skills in this repo
  • Book Publisher

    dmccreary/ibook-skills

    Publishes and promotes a finished intelligent textbook - GitHub README with badges and site statistics, LinkedIn announcement posts, LinkedIn carousel document posts (PPTX/PDF slideshows), and…

    105 GitHub stars~1.3k tokensUpdated today
    Auto-check passed
  • Linkedin Carousel Generator

    dmccreary/ibook-skills

    Generates a 13-slide LinkedIn carousel (a "document post" — PPTX/PDF) that showcases an intelligent textbook's key features, with real screenshots, mascot art, and metrics pulled from the project.

    105 GitHub stars~3.7k tokensUpdated today
    Auto-check passed
  • Add Xapi Events To Microsim

    dmccreary/ibook-skills

    A skill your agent uses when the user wants an existing MicroSim or chapter quiz to record what students do with it.

    105 GitHub stars~5.6k tokensUpdated today
    Auto-check passed
  • Diagram Reports Generator

    dmccreary/ibook-skills

    Generates a status report of all diagrams and MicroSims across an intelligent textbook's chapters, including difficulty, Bloom's level, and UI complexity.

    105 GitHub starsUsed in 1 repo~1.9k tokens
    Auto-check passed
  • DOCX To Web Publisher

    dmccreary/ibook-skills

    Converts .docx files (papers, briefs, reports) into styled React component pages in a Next.js content-catalog site.

    105 GitHub stars~2.2k tokensUpdated today
    Auto-check passed
  • Book Media Generator

    dmccreary/ibook-skills

    Generates media for intelligent textbooks - slide decks and presentations (MARP web decks in docs/slides/ or PowerPoint .pptx lecture downloads), illustrated stories and graphic novels…

    105 GitHub stars~1.7k tokensUpdated today
    Auto-check passed

Works with

Categories

Questions about Docker Python Lab

What does Docker Python Lab do?

Generates an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real Python code inside an isolated Docker container. Docker Python Lab is an agent skill from dmccreary/ibook-skills. Generates an interactive Docker Python lab block for MkDocs textbook pages, where students write and run real Python code inside an isolated Docker container.

When should I use Docker Python Lab?

Docker Python Lab fits situations like: someone asks to add a Python lab; interactive Python exercise; runnable code block to a textbook page that uses Docker (not Skulpt); adding multiple labs to a single page.

How do I install Docker Python Lab in Claude Code?

Run `npx skills add dmccreary/ibook-skills --skill docker-python-lab -a claude-code`. Or copy the skill folder (skills/archived/docker-python-lab in dmccreary/ibook-skills) into .claude/skills/docker-python-lab in your project. Claude Code loads it when a task matches its description.

How do I install Docker Python Lab in Codex?

Run `npx skills add dmccreary/ibook-skills --skill docker-python-lab -a codex`. Or copy the skill folder (skills/archived/docker-python-lab in dmccreary/ibook-skills) into .agents/skills/docker-python-lab in your project. Codex loads it when a task matches its description.

Can I use Docker Python Lab in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add dmccreary/ibook-skills --skill docker-python-lab -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/docker-python-lab, .gemini/skills/docker-python-lab, .github/skills/docker-python-lab and .opencode/skills/docker-python-lab in your project.

What does Docker Python Lab need to run?

Going by SKILL.md and its folder, Docker Python Lab needs JavaScript for the scripts in its folder. Our summary lists: Python 3; Node.js; Docker.

Does Docker Python Lab access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Docker Python Lab safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Docker Python Lab use?

No licence was found for Docker Python Lab or its repository. Without one, default copyright applies: ask the author before reusing or redistributing it.

How many tokens does Docker Python Lab use?

About 2.1k tokens (SKILL.md is roughly 8.5k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Docker Python Lab?

Skills that share tags, products or a category with Docker Python Lab: Alibabacloud Ecs Sec Userspace (aliyun/alibabacloud-ecs-troubleshoot-skills, 148 stars), Minimega (sandia-minimega/minimega, 160 stars), Unraid (dinglebear-ai/unraid, 135 stars) and Cosmos3 Env Troubleshoot (NVIDIA/cosmos-framework, 558 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Docker Python Lab?

dmccreary (a GitHub user) maintains it in dmccreary/ibook-skills, which has 105 GitHub stars. The repository holds 32 skills in this directory. The repository was last updated on October 7, 2026.

Source: dmccreary/ibook-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.