Skip to main content

Installation

skillgen is not on PyPI yet, so you install it from a clone of the repository.

Requirements​

ToolWhyRequired
Python 3.10 or newerskillgen is a Python packageYes
uvinstalls it as a tool and manages its environmentYes
gitto clone it; in your app, lets skillgen record the source commit and detect stale skillsYes for install
Claude Codereads each page's code; batch generation calls claude -pFor generation
Chromium (via Playwright)only for --xy, probe and loginOptional

Graphify (the code graph), PyYAML, jsonschema and ast-grep (ast-grep-cli) are installed with skillgen as normal dependencies.

Install​

git clone https://github.com/chapeee/skillprinter.git
cd skillprinter
uv tool install --editable ".[probe]"
skillgen doctor --fix
  • uv tool install puts skillgen on your PATH.
  • --editable means a git pull in the clone updates your skillgen at once.
  • The probe extra adds Playwright, which generate --xy needs to measure where each field sits on a running dev copy. Leave it out for code-only use: uv tool install --editable .
  • skillgen doctor --fix checks every tool and downloads Chromium for the probe. skillgen install downloads it too.
  • .[astgrep,probe] from older notes still works; ast-grep is now a core dependency.

One-step local install​

The repository ships a script that works like npm link. It removes any old install, clears uv's cache for the package, installs your clone globally in editable mode, checks that skillgen points at your clone, and downloads Chromium.

.\scripts\install-local.ps1
scripts/install-local.sh
PowerShellbashEffect
-RunTests--run-testsAlso run the checks
-NoExtras--no-extrasInstall without the probe extra
-SkipChromium--skip-chromiumDo not download Chromium
-Uninstall--uninstallRemove the global install

Rerun it after changing dependencies or pyproject.toml. If PowerShell blocks the script:

powershell -ExecutionPolicy Bypass -File .\scripts\install-local.ps1

Set up Claude Code​

Batch generation (generate --all) calls Claude Code headless. Install it and sign in once by running claude. To add the /skillgen command, its subagent and its driver skill to Claude Code:

skillgen install

Run skillgen install again after you update skillgen, because it copies the instructions rather than linking them. See Working in Claude Code.

Check the install​

skillgen doctor
skillgen --version

doctor reports each tool with a mark: ✓ found, ✗ missing and required, · missing but optional.

CheckRequiredPurpose
pythonYes3.10 or newer
skillgenYesthe version, and the folder it runs from
graphifyYescode graph (core)
claudeNoClaude Code for batch analysis
ast-grepNorouter hint packs (installed with skillgen)
playwrightNoruntime probe (probe extra)

doctor exits with code 0 when every required check passes.

On Windows

Use PowerShell. Git Bash rewrites arguments that start with / into Windows paths, so --route /campaigns/new arrives as C:/Program Files/Git/campaigns/new. See Troubleshooting.