Official agent skill

Create Lab Guide

by docker in docker/docs

Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter…

OfficialApache-2.0Auto-check passedDevOps & Cloud

Install Create Lab Guide

skills CLI
$ npx skills add docker/docs --skill create-lab-guide -a claude-code

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

GitHub CLI
$ gh skill install docker/docs create-lab-guide --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/docker/docs.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/create-lab-guide .claude/skills/create-lab-guide && 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
create-lab-guide
GitHub stars
4.7k
Token cost
~1k tokens
SKILL.md length
303 words
Files
1
Skills in repo
13
Repo updated
First seen
Licence
Apache-2.0

At a glance

Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter…

  • Works in 5 steps: Clone the labspace repo → Extract key information → Write the guide markdown → …
  • Asked to create a lab guide
  • SKILL.md covers Inputs, Step 1: Clone the labspace repo, Step 2: Extract key information and Step 3: Write the guide markdown, plus 2 more sections
  • Calls git, npx and docker; reaches github.com

What it does

Create Lab Guide is an agent skill from docker/docs, published by the product's own GitHub organization. Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter, labspace-launch shortcode, and Docker docs style compliance. Use when asked to create a lab guide, write a Labspace page, add a Docker lab tutorial, migrate a lab to docs, or document a hands-on lab.

Its SKILL.md is about 1k tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

It sits in DevOps & Cloud, covering Containers, Static sites and blogs and Lesson planning. It works with Docker. The repository describes itself as: Source repo for Docker's Documentation. The licence is Apache-2.0.

When your agent uses it

  • Asked to create a lab guide
  • Write a Labspace page
  • Add a Docker lab tutorial
  • Migrate a lab to docs

Example prompts

  • “/create-lab-guide”

Requirements

  • Node.js
  • Docker

Workflow steps

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

  1. Clone the labspace repo
  2. Extract key information
  3. Write the guide markdown
  4. Apply Docker docs style rules
  5. Validate

What it can do on your machine

Read from SKILL.md and the folder at commit 7ba25ee. 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

    Shell commands in SKILL.md call:

    • git
    • npx
    • docker

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

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • github.com

    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

Create Lab Guide loads about 1k tokens when it runs. Until then it costs about 100 tokens; SKILL.md has 303 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~100
When it runs · the whole SKILL.md, loaded when a task matches
~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

The full file from docker/docs at commit 7ba25ee, republished under its Apache-2.0 licence (© docker). 303 words, ~1,017 tokens.

Download SKILL.mdSave it as .claude/skills/create-lab-guide/SKILL.md (or your agent's skills folder).
name
create-lab-guide
description
Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter, labspace-launch shortcode, and Docker docs style compliance. Use when asked to create a lab guide, write a Labspace page, add a Docker lab tutorial, migrate a lab to docs, or document a hands-on lab.

Create Lab Guide

Create a guide page for a Docker Labspace: clone the source repo, extract structure from labspace.yaml, write the Hugo markdown page, and validate.

Inputs

  • REPO_NAME: GitHub repo in the dockersamples org (e.g. labspace-ai-fundamentals)

Step 1: Clone the labspace repo

bash
TMPDIR=$(mktemp -d)
git clone --depth 1 https://github.com/dockersamples/{REPO_NAME}.git "$TMPDIR/{REPO_NAME}"

Step 2: Extract key information

Read these files from the cloned repo:

FilePurpose
README.mdLab purpose and overview
labspace/labspace.yamlModule structure and content paths
labspace/*.mdModule content (only files listed in labspace.yaml)
.github/workflows/*.ymlPublished Compose file URL for the launch command
compose.override.yamlCheck for top-level model specs (triggers model-download param)

Extract:

  1. A short description for the description and summary frontmatter fields.
  2. Learning objectives from the module content.
  3. Whether a model download is required (compose.override.yaml → top-level model key).

Step 3: Write the guide markdown

Place the file at content/guides/lab-{GUIDE_ID}.md.

markdown
---
title: "Lab: { Short title }"
linkTitle: "Lab: { Short title }"
description: |
  A short description of the lab for SEO and social sharing.
summary: |
  A short summary of the lab for the guides listing page. 2-3 lines.
keywords: AI, Docker, Model Runner, agentic apps, lab, labspace
aliases: # Include only for AI-related labs
  - /labs/docker-for-ai/{REPO_NAME_WITHOUT_LABSPACE_PREFIX}/
params:
  tags: [ai, labs]
  time: 20 minutes
  resource_links:
    - title: A resource link pointing to relevant documentation or code
      url: /ai/model-runner/
    - title: Labspace repository
      url: https://github.com/dockersamples/{REPO_NAME}
---

Short explanation of the lab and what it covers.

## Launch the lab

{{< labspace-launch image="dockersamples/{REPO_NAME}" >}}

## What you'll learn

By the end of this Labspace, you will have completed the following:

- Objective #1
- Objective #2
- Objective #3

## Modules

| # | Module | Description |
|---|--------|-------------|
| 1 | Module #1 | Description of module #1 |
| 2 | Module #2 | Description of module #2 |
| 3 | Module #3 | Description of module #3 |

Conditional rules:

  • All lab guides must include labs in params.tags.
  • AI-related labs: also add ai tag and an alias under /labs/docker-for-ai/.
  • If a model download is required: add model-download: true to the labspace-launch shortcode.

Step 4: Apply Docker docs style rules

Follow STYLE.md and COMPONENTS.md. Key rules:

AvoidUse instead
"we", "let's"Imperative voice or "you"
"simply", "easily", "just"Remove the hedge word
"allows you to" / "enables you to""lets you" or rephrase
"click""select"
Bold for emphasis / product namesBold only for UI elements
"currently", "new", "recently"Remove time-relative language

Use console as the language hint for shell blocks with $ prompts. Use contractions ("it's", "you're", "don't").

Step 5: Validate

  1. Confirm frontmatter has title, description, keywords, and params.tags including labs.
  2. Run npx --no-install rumdl fmt <file> to format.
  3. Run docker buildx bake lint vale and fix any errors.
  4. Re-read the file and verify: correct shortcode syntax, objectives match source content, modules match labspace.yaml, no vendored paths edited.

Do not proceed to commit until validation passes.

© docker, Apache-2.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/create-lab-guide of docker/docs.

Open the folder on GitHubat commit 7ba25ee

Compare with similar skills

Create Lab Guide 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.

Create Lab Guide compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Create Lab Guide this skilldocker/docs4.7k—~1kAutomated safety check: PassApache-2.0
Stackguardana/guardana129—~568Automated safety check: PassApache-2.0
Skip Toericboy0224/learn-docker-and-k8s487—~482Automated safety check: PassNone
Deploying Go SDK Bundlesastronomer/agents451—~1.8kAutomated safety check: NotesApache-2.0
Iron Proxy Gateway for NanoClawnanocoai/nanoclaw31k—~4.6kAutomated safety check: NotesMIT
GreptimeDB Dev Docker ImageGreptimeTeam/greptimedb6.7k—~4kAutomated safety check: NotesApache-2.0

Similar skills

  • Stack

    guardana/guardana

    Run and inspect the local pieces of Guardana — the throwaway PostgreSQL for the collector, the collector itself, a fake OpenAI-compatible endpoint to probe, the documentation site served locally…

    129 GitHub stars~568 tokensUpdated yesterday
    DevOps & CloudAuto-check passed
  • Skip To

    ericboy0224/learn-docker-and-k8s

    Skip ahead to a specific chapter in Learn Docker & K8s, with a knowledge quiz for skipped chapters.

    487 GitHub stars~482 tokensUpdated 6 mo ago
    DevOps & CloudAuto-check passed
  • Deploying Go SDK Bundles

    astronomer/agents

    Builds, packs, and deploys compiled Airflow Go SDK bundles so the ExecutableCoordinator can run them.

    451 GitHub stars~1.8k tokensUpdated yesterday
    Data & AnalyticsAuto-check: notes
  • Installs or refreshes Iron Proxy and its Iron Control web console for NanoClaw, with a local Docker setup, database, credentials and a human approval bridge.

    31k GitHub stars~4.6k tokensUpdated 2 days ago
    DevOps & CloudAuto-check: notes
  • GreptimeDB Dev Docker Image

    GreptimeTeam/greptimedb

    Packages a locally built GreptimeDB debug binary into a development-only Docker image for local-cluster testing, with an optional push to a dev registry.

    6.7k GitHub stars~4k tokensUpdated today
    DevOps & CloudAuto-check: notes
  • Senior DevOps Toolkit

    maslennikov-ig/claude-code-orchestrator-kit

    Comprehensive DevOps skill for CI/CD, infrastructure automation, containerization, and cloud platforms (AWS, GCP, Azure). Includes pipeline setup…

    260 GitHub starsUsed in 6 repos~1.1k tokens
    DevOps & CloudAuto-check: notes

More from docker/docs

All 13 skills in this repo
  • Official

    Audit a documentation site for agent-friendliness: discovery, markdown delivery, crawlability, semantic structure, machine-readable surfaces, and content legibility.

    4.7k GitHub stars~1.8k tokensUpdated yesterday
    Auto-check passed
  • Official

    Handle Hugo docs information-architecture moves: discover old vs new URLs, add front matter aliases (Phase 1), update in-repo links (Phase 2), interactive List 2 resolution and fragment validation…

    4.7k GitHub stars~5.1k tokensUpdated yesterday
    Auto-check passed
  • Write

    docker/docs

    Official

    Write or edit reader-facing technical prose for immediate comprehension.

    4.7k GitHub stars~1.1k tokensUpdated yesterday
    Auto-check passed
  • Curate Whats New

    docker/docs

    Official

    Curate noteworthy Docker launches from documentation pull requests merged during a requested period.

    4.7k GitHub stars~1.3k tokensUpdated yesterday
    Auto-check passed
  • Fix Issue

    docker/docs

    Official

    Fix a single GitHub issue end-to-end: triage, research, write the fix, review, and create a PR.

    4.7k GitHub stars~595 tokensUpdated yesterday
    Auto-check passed
  • Maintain PR

    docker/docs

    Official

    Maintain and follow up on a single Docker documentation pull request that you own or are responsible for updating.

    4.7k GitHub stars~825 tokensUpdated yesterday
    Auto-check passed

Works with

Questions about Create Lab Guide

What does Create Lab Guide do?

Clone a dockersamples Labspace repo, extract learning objectives and module structure from labspace.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter…. Create Lab Guide is an agent skill from docker/docs, published by the product's own GitHub organization.yaml, and produce a Hugo guide page under content/guides/ with correct frontmatter, labspace-launch shortcode, and Docker docs style compliance.

When should I use Create Lab Guide?

Create Lab Guide fits situations like: asked to create a lab guide; write a Labspace page; add a Docker lab tutorial; migrate a lab to docs.

How do I install Create Lab Guide in Claude Code?

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

How do I install Create Lab Guide in Codex?

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

Can I use Create Lab Guide 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 docker/docs --skill create-lab-guide -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/create-lab-guide, .gemini/skills/create-lab-guide, .github/skills/create-lab-guide and .opencode/skills/create-lab-guide in your project.

What does Create Lab Guide need to run?

Going by SKILL.md and its folder, Create Lab Guide needs the command-line tools its instructions call (git, npx and docker). Our summary lists: Node.js; Docker.

Does Create Lab Guide access the network?

SKILL.md names 1 domain. In commands or code: github.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Create Lab Guide 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 Create Lab Guide use?

Create Lab Guide is published under the Apache-2.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Create Lab Guide use?

About 1k tokens (SKILL.md is roughly 4.1k 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 Create Lab Guide?

Skills that share tags, products or a category with Create Lab Guide: Stack (guardana/guardana, 129 stars), Skip To (ericboy0224/learn-docker-and-k8s, 487 stars), Deploying Go SDK Bundles (astronomer/agents, 451 stars) and Iron Proxy Gateway for NanoClaw (nanocoai/nanoclaw, 31k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Create Lab Guide?

docker (a GitHub organization, an official publisher) maintains it in docker/docs, which has 4,667 GitHub stars. The repository holds 13 skills in this directory. The repository was last updated on October 7, 2026.

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