lab

lab is a skill for Claude Code from lsh1215/oh-my-study-with-me. It costs 48 tokens per session (2,283 once invoked), scanned B, original, MIT.

A workflow for creating Docker Compose practice environments for technologies such as Kafka, Elasticsearch, MySQL, and Redis.

In plain words
What is it for?
Use it to set up hands-on technology practice environments, including services, applications, monitoring, and related configuration files.
Why use it?
It provides isolated local labs matched to a learning topic, with optional monitoring and load-testing pieces.

Skill for Claude Code

Written for Claude Code: user-invocable in frontmatter.

Part of the oh-my-study-with-me plugin — 6 skills, 1 hook shipped together

Good fit Use it to set up hands-on technology practice environments, including services, applications, monitoring, and related configuration files.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lsh1215/oh-my-study-with-me/lab
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add lsh1215/oh-my-study-with-me --skill lab
Clone the repo
git clone --depth 1 https://github.com/lsh1215/oh-my-study-with-me

Made for: Claude Code.

Or install oh-my-study-with-me, the plugin that ships this one along with the rest of its 6 skills, 1 hook.

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 lab

README.md
[![agentmods](https://agentmods.dev/badge/skills/lsh1215/oh-my-study-with-me/lab/github.svg)](https://agentmods.dev/skills/lsh1215/oh-my-study-with-me/lab)
Your own site
<a href="https://agentmods.dev/skills/lsh1215/oh-my-study-with-me/lab"><img src="https://agentmods.dev/badge/skills/lsh1215/oh-my-study-with-me/lab/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 lab

Your own site · 80×15
<a href="https://agentmods.dev/skills/lsh1215/oh-my-study-with-me/lab"><img src="https://agentmods.dev/badge/skills/lsh1215/oh-my-study-with-me/lab.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 2,283 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.02283
Opus 5 $0.00024 $0.01141
Sonnet 5 $0.00010 $0.00457
Haiku 4.5 $0.00005 $0.00228

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

Security

Grade B, and why

lab scanned grade B with 2 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 12d 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.

Asks for rootmediumPrivilege escalation

A mod that escalates privileges can change anything on the machine, not only the project.

- **Host configuration**: When using ES, `sudo sysctl -w vm.max_map_count=262144` is required (on macOS, this is handled in Docker Desktop settings)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- ES: indexing/search scripts (curl or Java)
skills/lab/SKILL.md · 290 lines

How it starts

The opening of the file, as written. The whole thing — 290 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Lab - Lab Environment Setup Skill

Arguments: $ARGUMENTS


Design Principles

  1. Technology isolation: When practicing Kafka, do not spin up ES. Each lab starts and stops independently.
  2. Generated to match learning content: Instead of a pre-built generic compose, generate a configuration that matches the current learning topic.
  3. Monitoring included: Every lab includes monitoring appropriate for that technology by default.
  4. Incremental expansion: Start with a basic configuration and add load testing/APM as needed.

Directory Structure

labs/
├── kafka/
│   ├── docker-compose.yml
│   ├── docker-compose.monitoring.yml   (optional)
│   ├── docker-compose.loadtest.yml     (optional)
│   └── apps/
│
├── elasticsearch/
│   ├── docker-compose.yml
│   ├── docker-compose.apm.yml          (optional)
│   └── apps/
│
├── database/
│   ├── docker-compose.yml
│   ├── docker-compose.monitoring.yml   (optional)
│   ├── data/
│   └── queries/
│
├── redis/
│   ├── docker-compose.yml
│   ├── docker-compose.monitoring.yml   (optional)
│   └── apps/
│
└── shared/
    ├── grafana/
    │   └── provisioning/
    ├── prometheus/
    │   └── prometheus.yml
    └── loadtest/
        └── k6/

Technology-Specific Configuration Guide

Kafka Lab

Basic Configuration (docker-compose.yml)
# Components:
# - Zookeeper (1 node) or KRaft mode (without Zookeeper)
# - Kafka Broker x3 (cluster)
# - Kafka UI (for viewing topics/messages/consumer groups)
#
# Ports:
# - 9092, 9093, 9094: Kafka brokers
# - 8080: Kafka UI
#
# Network: kafka-net (bridge)

Things to verify when generating:

  • KRaft vs Zookeeper: KRaft mode is recommended for Kafka 3.x and above (no Zookeeper needed)
  • Memory: Limit KAFKA_HEAP_OPTS to 512MB~1GB per broker (since it runs locally)
  • Volumes: Use named volumes for data persistence, or tmpfs if persistence is not needed
Adding Monitoring (docker-compose.monitoring.yml)
# Additional components:
# - JMX Exporter (attached as agent to each broker)
# - Prometheus (metrics collection)
# - Grafana (dashboards)
#   - Preset dashboards: Kafka Broker Metrics, Consumer Lag
#
# Start: docker compose -f docker-compose.yml -f docker-compose.monitoring.yml up -d

Read the full file on GitHub · 290 lines

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. 12d ago First seen · 290 lines · 0 tokens per session scan B 06233b2d70d6

Subscribe to this mod's changes

lab is a skill published in the GitHub repository lsh1215/oh-my-study-with-me (8 stars, last pushed 6mo ago), licensed MIT. It adds 48 tokens to every session and 2,283 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it B with 2 findings (asks for root, makes network calls). 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

yaml

Skill "yaml" from dhaupin/vant, covering yaml, when to use, what to do, 1. syntax and 2. anchors.

dhaupin/vant · 5 tokens

docker-python-lab

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…

dmccreary/ibook-skills · 118 tokens

challenge-mentor

Technical mentor for Kubernetes/EKS hands-on challenges. Generates progressive labs from fundamentals to real-world troubleshooting scenarios sourced from community forums. Guides without giving answers - provokes thinking, gives progressive hints, and tracks progress. Activate when the user mentions 'desafio k8s'…

brunokktro/KIRO · 88 tokens

kubestronaut-coach

Coach for Kubernetes certification exams (CKA, CKAD, CKS, KCNA, KCSA) with focus on speed and shortcuts for performance-based tests. Use this skill when the user shares exam questions, challenges from KillerCoda/KillerShell, or asks for the fastest way to solve a Kubernetes task. Always provides the most performant…

brunokktro/KIRO · 94 tokens

arquitetura-de-microservicos-com-docker-e-kubernetes

Ensina a projetar e implementar arquiteturas de microsserviços escaláveis e seguras utilizando Docker e Kubernetes.

DaviBonetto/multi-agent-skill-factory · 0 tokens

courseware-build

Single-source build pipeline for the WSQ "Application Integration with Docker and Kubernetes" (TGS-2021010366) courseware. One canonical content module (labsdata.py) drives ALL artifacts so they stay 100% aligned — the labs/ folder, the all-white slide deck (PPT), the Lesson Plan (LP), the Learner Guide (LG) and its…

alfredang/skills · 95 tokens