lab-setup

lab-setup is a skill for Claude Code, Codex from id-andyyy/LabAI. It costs 8 tokens per session (2,993 once invoked), scanned A, original, MIT.

A setup helper for laboratory projects that checks Python, creates a virtual environment, installs required packages, and collects assignment details.

In plain words
What is it for?
Use it when starting a lab assignment, configuring the Python environment, parsing required materials, or creating or updating the lab configuration file.
Why use it?
It prepares the project files and tools needed for the lab so later instructions can use the correct student, assignment, and source-material context.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/id-andyyy/labai/lab-setup
Any agent
npx skills add id-andyyy/LabAI --skill lab-setup
Clone the repo
git clone --depth 1 https://github.com/id-andyyy/LabAI

Made for: Claude Code, 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 lab-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/id-andyyy/labai/lab-setup.svg)](https://agentmods.dev/skills/id-andyyy/labai/lab-setup)
Your own site
<a href="https://agentmods.dev/skills/id-andyyy/labai/lab-setup"><img src="https://agentmods.dev/badge/skills/id-andyyy/labai/lab-setup.svg" alt="Measured on agentmods" height="20"></a>
Per session 8 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,993 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00008 $0.02993
Opus 5 $0.00004 $0.01496
Sonnet 5 $0.00002 $0.00599
Haiku 4.5 $0.00001 $0.00299

Measured 4d ago against content hash df6adc3439af, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

lab-setup 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 4d 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.

.claude/skills/lab-setup/SKILL.md · 241 lines

How it starts

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

Пользователь хочет настроить проект для выполнения лабораторной работы. Нужно проверить окружение, собрать данные о студенте и работе, распарсить задание и сохранить всё в config.json.

Что делать

Шаг 1. Проверка Python

Проверь наличие Python:

  1. Выполни python3 --version (если не найден — попробуй python --version).
  2. Если Python найден — запомни путь (например, python3).
  3. Если Python не найден — сообщи пользователю, что генерация DOCX/PDF не будет работать, а парсинг PDF/DOCX потребует ручного ввода текста. Продолжай настройку.

Шаг 2. Создание venv и установка зависимостей

Если Python найден:

  1. Создай виртуальное окружение: python3 -m venv .claude/lab/venv
  2. Установи зависимости: .claude/lab/venv/bin/pip install -r .claude/lab/scripts/requirements.txt
  3. На Windows пути через Scripts/ вместо bin/.

Если Python не найден — пропусти этот шаг.

Шаг 3. Опрос пользователя

Если config.json уже существует (.claude/lab/config.json) — прочитай его, покажи текущие значения и спроси, хочет ли пользователь что-то изменить. Если хочет — задай только те вопросы, которые нужно обновить.

Если config.json не существует — задай все вопросы через AskUserQuestion (разбей на блоки):

Блок 1 — студент и учебное заведение:

  1. ФИО студента.
  2. Группа студента.
  3. Полное название учебного заведения.
  4. Город.

Блок 2 — предмет и работа:

  1. Название предмета/курса.
  2. Тип работы: Лабораторная работа / Практическая работа / Задание (для титульного листа). По умолчанию — «Лабораторная работа».
  3. Номер лабораторной работы.
  4. Название лабораторной работы (или пусто — определим из задания).
  5. ФИО преподавателя (рецензента) — опционально, для титульного листа.
  6. ОС пользователя, на которой он будет работать (Windows / macOS / Linux — с версией, если знает).

Блок 3 — предпочтения:

  1. Формат итогового отчёта: docx / pdf / md.
  2. Имя итогового файла (без расширения). По умолчанию — report. Примеры: Лабораторная_работа_3, ЛР3_Иванов.
  3. Стиль отчёта: первое лицо («я выполнил, я настроил») / безличное («было выполнено, было настроено»).
  4. Нужно ли дополнительное исследование в отчёте? (Да / Нет)

Read the full file on GitHub · 241 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. 4d ago First seen · 241 lines · 8 tokens per session scan A df6adc3439af

Subscribe to this mod's changes

lab-setup is a skill published in the GitHub repository id-andyyy/LabAI (3 stars, last pushed 4mo ago), licensed MIT. It adds 8 tokens to every session and 2,993 once invoked, about $0.0000 per session on Opus 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

Other skills, from other repositories

edu-math-tutorial

数学题分步讲解视频的领域知识。适用场景:(1) 用户给出一道数学题并要求做讲解/ 解题视频;(2) 用户说"讲解这道题"、"生成解题视频"、"make a math tutorial"; (3) 需要中文数学教学视频,涉及方程、公式或几何图形。本 skill 只提供领域 知识(题目拆解、讲解节奏、旁白文案规范、版式与 KaTeX 排版风格);画面、 配音与成片一律用 Creator 原生 Element 与工具从源头构建。.

agentscope-ai/QwenPaw · 146 tokens

offensive-vuln-classes

Exploit development curriculum covering core vulnerability classes with real-world CVE case studies: stack/heap buffer overflows, use-after-free, integer overflows, format strings, type confusion, and race conditions. Use when learning or teaching vuln classes, researching specific CVE patterns, or building exploit…

SnailSploit/Claude-Red · 0 tokens

scientific-critical-thinking

Evaluate scientific claims and evidence quality. Use for assessing experimental design validity, identifying biases and confounders, applying evidence grading frameworks (GRADE, Cochrane Risk of Bias), or teaching critical analysis. Best for understanding evidence quality, identifying flaws. For formal peer review…

K-Dense-AI/claude-scientific-writer · 63 tokens

offensive-osint-methodology

Structured OSINT methodology framework: target definition, source selection, collection workflows, data correlation, timeline reconstruction, and reporting. Use to guide systematic OSINT campaigns or teach OSINT methodology.

SnailSploit/Claude-Red · 0 tokens

practice-cognition

触发:当你提出了方案、假设或判断,需要通过实践验证、试错迭代或复盘升级认知时调用;常见信号包括 experiment、prototype、validate、iterate、feedback loop。 English: Trigger when an idea, hypothesis, or plan must be tested in practice and improved through iteration. Use this skill to move from action to understanding and back to action in a spiral learning loop.

HughYau/qiushi-skill · 92 tokens

offensive-exploit-dev-course

Full exploit development course roadmap and syllabus: weekly topics, recommended reading, lab setup, and learning path from vulnerability classes through advanced exploitation. Use to structure exploit dev training or onboard new researchers.

SnailSploit/Claude-Red · 0 tokens