Build your own toolkit of agentic patterns for AI coding assistants.
Cherry-pick exactly what you need — commands, skills, and rules for Claude Code, Cursor, Windsurf, and GitHub Copilot. Pull from GitHub, configure once, sync anytime.
| Feature | Claude | Cursor | Windsurf | Copilot |
|---|---|---|---|---|
Skills (SKILL.md dirs) |
.claude/skills/ |
.cursor/skills/ |
.windsurf/skills/ |
.github/skills/ |
| Commands (slash) | .claude/commands/*.md |
.cursor/commands/*.md |
— | — |
| Rules (passive context) | — | .cursor/rules/*.mdc |
.windsurf/rules/*.md |
.github/copilot-instructions.md |
Skills strategy: All platforms support the SKILL.md standard. labkit installs skills to each platform's native directory for maximum compatibility and zero configuration.
Commands (Claude, Cursor):
| Command | Description |
|---|---|
/commit |
Conventional commit from staged changes |
/create-pr |
PR with structured summary via gh |
/spawn <branch> [task] |
Create worktree + iTerm2 pane + launch agent |
/focus <branch> |
Focus the iTerm2 pane for a branch |
/worktrees |
List all worktrees + sessions side-by-side |
/teardown <branch> |
Close iTerm2 pane + remove worktree |
/research <topic> |
Parallel codebase + web research → plan file |
Skills (all platforms via .claude/skills/):
playwright-cli— browser automation for testing, screenshots, data extractionit2— iTerm2 control for multi-pane agent orchestration
Rules (Cursor, Windsurf, Copilot):
commit-conventions— Conventional commit format and patternsagentic-workflow— Multi-agent orchestration patternspr-workflow— PR creation and review conventions
Interactive setup with rich prompts:
# Run from your project directory
npx labkit init
# Update patterns later
npx labkit syncThe init command walks you through:
- Platform selection (Claude, Cursor, Windsurf, Copilot)
- Skills to install (installed to each platform's native skills directory)
- Commands to install (Claude + Cursor only)
- Rules to install (platform-specific formats)
It creates a .labkitrc config file and pulls the selected patterns from GitHub using tiged.
For environments where you prefer a standalone bash script:
# Fetch the script once
npx tiged dallen4/labkit/labkit.sh ./labkit.sh
chmod +x labkit.sh
# Interactive setup
./labkit.sh init
# Sync from config
./labkit.sh syncOr run directly without saving:
curl -fsSL https://raw.githubusercontent.com/dallen4/labkit/main/labkit.sh | bash -s -- initBoth the npm package and shell script use the same config file:
source: dallen4/labkit
platforms:
- claude
- cursor
skills:
- playwright-cli
- it2
commands:
- spawn
- commit
- create-pr
rules:
- commit-conventions
- agentic-workflowSyncing updates: Run npx labkit sync (or ./labkit.sh sync) anytime to pull the latest versions from the source repo. Your .labkitrc config determines what gets updated.
Skills that depend on external tooling (like playwright-cli and it2) ship with hydration scripts. After installing skills, run:
# Install all external dependencies
scripts/hydrate.sh
# Single skill only
scripts/hydrate.sh playwright-cli
# Preview what would run
scripts/hydrate.sh --dry-runEach skill's hydrate.sh is idempotent — safe to run multiple times.
labkit uses a tiged + cpx strategy to selectively pull patterns from GitHub:
- Stage —
tiged(maintained fork ofdegit) fetches relevant directories from the source repo to a temporary.labkit-tmp/directory - Copy —
cpxselectively copies files matching your.labkitrcconfig (supports glob patterns) - Clean — Remove staging directory
This enables cherry-picking individual files and syncing updates without cloning the entire repo.
Required for labkit CLI:
- Node.js >=18 — Required for
tiged,cpx, YAML parsing npx— Used to runtigedandcpx2
Required for specific commands:
/spawn,/focus,/worktrees,/teardown→wt(git worktree manager) +it2(iTerm2 CLI)/create-pr,/research→gh(GitHub CLI)
Required for specific skills:
playwright-cliskill →npm install -g playwright-cliit2skill → iTerm2 app with CLI tools enabled
Want to add your own patterns or improve existing ones? See CLAUDE.md for development guidelines and architecture details.