Skip to main content

Installation

skillgendev is published on PyPI.

Requirements​

ToolWhyRequired
Python 3.10 or newerskillgendev is a Python packageYes
uv or pipxinstalls it as a tool in its own environmentRecommended
gitin your app, lets skillgendev record the source commit and detect stale skillsRecommended
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 skillgendev as normal dependencies.

Install​

uv tool install "skillgendev[probe]"
skillgendev doctor --fix
  • On macOS or Linux you can use Homebrew instead: brew install chapeee/tap/skillgendev (includes the probe extra; upgrade with brew upgrade skillgendev).
  • uv tool install puts skillgendev on your PATH. pipx install "skillgendev[probe]" or pip install "skillgendev[probe]" work too.
  • Upgrade later with uv tool upgrade skillgendev.
  • 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 skillgendev
  • skillgendev doctor --fix checks every tool and downloads Chromium for the probe. skillgendev install downloads it too.
  • .[astgrep,probe] from older notes still works; ast-grep is now a core dependency.

From a clone (for contributors)​

git clone https://github.com/chapeee/skillgen.git
cd skillgen
uv tool install --editable ".[probe]"

--editable means a git pull in the clone updates your skillgendev at once.

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 skillgendev 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 /skillgendev command, its subagent and its driver skill to Claude Code:

skillgendev install

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

Check the install​

skillgendev doctor
skillgendev --version

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

CheckRequiredPurpose
pythonYes3.10 or newer
skillgendevYesthe version, and the folder it runs from
graphifyYescode graph (core)
claudeNoClaude Code for batch analysis
ast-grepNorouter hint packs (installed with skillgendev)
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.