Skip to main content

Requirements

Python 3.10 or higher is required to run Skill Lab.
Skill Lab supports Python 3.10, 3.11, 3.12, and 3.13.

Install from PyPI

The easiest way to install Skill Lab is from PyPI using pip or uv:
pip install skill-lab
This installs the core tool with static analysis, validation, info, and prompt export commands.

Install with LLM Features

To use sklab generate for LLM-powered trigger test generation, install with the generate extra:
pip install skill-lab[generate]
This includes the Anthropic SDK for Claude integration.

Install from Source

For development or to use the latest unreleased features:
1

Clone the repository

git clone https://github.com/8ddieHu0314/Skill-Lab.git
cd Skill-Lab
2

Install in editable mode

pip install -e .

Verify Installation

Check that Skill Lab is installed correctly:
sklab --version
You should see output like:
sklab 0.4.0

Optional: API Key Setup

The sklab generate command requires an Anthropic API key. Other commands work without it.
If you plan to use sklab generate for LLM-powered test generation:
1

Get an API key

Sign up at console.anthropic.com and create an API key.
2

Set the environment variable

export ANTHROPIC_API_KEY=sk-ant-...
Add this to your ~/.bashrc or ~/.zshrc to make it permanent.

Optional: Model Configuration

The default model for sklab generate is claude-haiku-4-5-20251001. You can override it:
sklab generate ./my-skill --model claude-sonnet-4-5-20250929

Trigger Testing Prerequisites

Trigger testing (sklab trigger) requires the Claude CLI to be installed separately.
To run trigger tests:
npm install -g @anthropic-ai/claude-code
This is only needed if you plan to run trigger tests. Static analysis works without it.

What’s Next?

Quickstart

Get to your first evaluation in 2 minutes

Commands Reference

Explore all available commands

Static Analysis Guide

Learn about the 19 static checks

Development Setup

Set up a development environment

Troubleshooting

Skill Lab requires Python 3.10 or higher. Check your version:
python --version
If you need to upgrade, use pyenv or download from python.org.
If sklab isn’t found after installation, your PATH may not include pip’s bin directory.Try:
python -m skill_lab.cli --version
Or add pip’s bin directory to your PATH:
export PATH="$HOME/.local/bin:$PATH"
If you see ModuleNotFoundError: No module named 'anthropic', install the generate extra:
pip install skill-lab[generate]

Build docs developers (and LLMs) love