with one click
cowork-guide
// CRITICAL: Comprehensive guide for CoWork Skills CLI tool. Triggers on: cowork, Skills.toml, skill management, plugin configuration, cowork init, cowork install, cowork config, cowork generate
// CRITICAL: Comprehensive guide for CoWork Skills CLI tool. Triggers on: cowork, Skills.toml, skill management, plugin configuration, cowork init, cowork install, cowork config, cowork generate
| name | cowork-guide |
| description | CRITICAL: Comprehensive guide for CoWork Skills CLI tool. Triggers on: cowork, Skills.toml, skill management, plugin configuration, cowork init, cowork install, cowork config, cowork generate |
Complete reference for the CoWork Skills CLI tool
CoWork Skills (cowork / co) is a CLI tool for managing Claude Code skills and plugins:
# Clone and install
git clone https://github.com/anthropics/cowork-skills
cd cowork-skills/cli
cargo install --path .
# Initialize built-in skills
cowork init
| Command | Description |
|---|---|
cowork init | Install built-in skills to ~/.claude/skills/ |
cowork install | Install skills from GitHub or local path |
cowork generate | Generate skills from a GitHub repository |
cowork search | Search GitHub for skill repositories |
cowork plugins | Manage Claude Code marketplace plugins |
cowork config | Manage project-level skill configuration |
cowork list | List all available skills |
cowork status | Show current configuration |
cowork doctor | Check for configuration issues |
cowork test | Generate trigger tests for skills |
Use co as a short alias for cowork.
Initialize built-in skills to ~/.claude/skills/.
# Install all built-in skills
cowork init
# List available built-in skills
cowork init --list
# Install specific skills only
cowork init -s memory-filesystem
# Force overwrite existing
cowork init --force
Built-in Skills:
memory-filesystem - CoALA-based memory system (remember, recall, reflect)Install skills from GitHub or local repositories.
# Install from GitHub (user/repo format)
cowork install ZhangHanDong/rust-skills
# Install from full URL
cowork install https://github.com/user/repo
# Install current project to global
cowork install
# List installed repositories
cowork install --list
# Install specific skills only
cowork install user/repo -s skill1 -s skill2
# Install to specific agents
cowork install user/repo -a claude-code -a cursor
# Install as plugin (preserves full repo structure)
cowork install user/repo --plugin
# Install to project local (.claude/skills/)
cowork install user/repo --local
# Force reinstall
cowork install user/repo --reinstall
# Update to latest version
cowork install user/repo --update
# Skip confirmation prompts
cowork install user/repo -y
cowork install --uninstall repo-name
Install skills to 16+ coding agents:
| Agent | Flag |
|---|---|
| Claude Code | --agent claude-code |
| Cursor | --agent cursor |
| Codex | --agent codex |
| GitHub Copilot | --agent github-copilot |
| Windsurf | --agent windsurf |
| Goose | --agent goose |
| Kiro | --agent kiro-cli |
| Amp | --agent amp |
| ... | See cowork install --help |
Manage project-level skill configuration via Skills.toml.
# Initialize with auto-detection of installed plugins/skills
cowork config init
# Skip auto-detection
cowork config init --no-detect
# Force overwrite existing
cowork config init --force
Auto-detection scans:
~/.claude/ for global plugins~/.claude/skills/ for global skills.claude/ for project plugins.claude/skills/ for project skills# Show current config
cowork config show
# List available skill groups
cowork config groups
# Add from GitHub (global)
cowork config add rust-skills ZhangHanDong/rust-skills
# Add to project local
cowork config add my-skills user/skills --local
# Add specific skills
cowork config add tokio user/tokio-skills -s tokio-runtime -s tokio-sync
# Add as plugin
cowork config add makepad user/makepad-skills --plugin
# Add as disabled
cowork config add old-lib user/old --disabled
# Add with git ref
cowork config add pinned user/repo --ref v1.0.0
# Add development link (symlink for testing)
cowork config add dora-dev /path/to/dora-skills --dev
# Install all dependencies from Skills.toml
cowork config install
# Sync enabled/disabled status with lock file
cowork config sync
# Also update remote repos (git pull)
cowork config sync --update
# Enable skill groups
cowork config enable rust-core makepad
# Enable individual skills
cowork config enable memory-filesystem
# Disable skills or groups
cowork config disable rust-domains
# Set priority order
cowork config priority dora-router rust-router makepad-router
# Override specific trigger
cowork config override "async" rust-router
cowork config override "widget" makepad-router
# Generate SKILLS.md from config
cowork config apply
# Generate to custom path
cowork config apply -o ./docs/SKILLS.md
# Generate dynamic router based on installed plugins
cowork config router
# Generate router with hooks for auto-triggering
cowork config router --hooks
Project-level configuration file stored at .cowork/Skills.toml.
[project]
name = "my-project"
description = "Project description"
[skills.global]
enabled = ["memory-filesystem"]
disabled = []
[skills.install]
rust-skills = "ZhangHanDong/rust-skills"
[skills.groups]
enabled = ["rust-core"]
disabled = []
[triggers]
priority = ["dora-router", "rust-router"]
[triggers.overrides]
"async" = "rust-router"
Simple form:
[skills.install]
rust-skills = "ZhangHanDong/rust-skills"
Detailed form:
[skills.install]
tokio = { repo = "user/tokio-skills", skills = ["tokio-runtime", "tokio-sync"] }
local = { path = "../my-local-skills" }
pinned = { repo = "user/repo", ref = "v1.0.0" }
makepad = { repo = "user/makepad-skills", plugin = true }
my-project = { repo = "user/skills", local = true }
old-lib = { repo = "user/old", enabled = false }
Development symlinks for testing local skills:
[skills.dev]
my-skill = "/path/to/my-skill-project"
dora-dev = { path = "/path/to/dora-skills" }
dora-plugin = { path = "/path/to/dora-skills", plugin = true }
| Group | Skills | Description |
|---|---|---|
rust-core | 8 | Basic Rust (ownership, concurrency, error handling) |
rust-patterns | 7 | Design patterns (domain modeling, performance) |
rust-domains | 7 | Domain-specific (web, CLI, fintech, embedded) |
makepad | 11 | Makepad UI framework |
dora | 8 | Dora-rs robotics framework |
dora-hubs | 9 | Dora hub integrations |
Generate skills from source code of any GitHub repository.
# Generate from GitHub repo
cowork generate user/repo
# Specify language(s)
cowork generate tokio-rs/tokio --lang rust
cowork generate vercel/next.js --lang typescript
# Only generate llms.txt
cowork generate user/repo --llms-only -o ./output
# Generate from existing llms.txt
cowork generate --from-llms ./llms.txt
# Specify git ref
cowork generate user/repo --ref v1.0.0
| Language | Parser | Extracts |
|---|---|---|
| Rust | syn | pub fn, struct, enum, trait, impl |
| TypeScript | tree-sitter | export function, class, interface, type |
| Python | tree-sitter | def, class (excluding _ private items) |
Search GitHub for skill repositories.
# Search by keyword
cowork search tokio
# Search by GitHub topic
cowork search agent-skill --topic
# Limit results
cowork search rust-skills --limit 5
# Show detailed results
cowork search rust-skills --verbose
Manage Claude Code marketplace plugins.
# List marketplace plugins
cowork plugins list
# Show plugin status
cowork plugins status
# Uninstall a plugin
cowork plugins uninstall rust-skills
# Enable/disable plugins
cowork plugins enable rust-skills
cowork plugins disable rust-skills
# List marketplaces
cowork plugins marketplaces
# Remove a marketplace
cowork plugins remove-marketplace rust-skills
| Location | Purpose |
|---|---|
~/.cowork/repos/ | Cloned GitHub repositories |
~/.claude/skills/ | Global skills directory |
~/.claude/<plugin>/ | Global plugins |
.claude/skills/ | Project-local skills |
.claude/<plugin>/ | Project-local plugins |
.cowork/Skills.toml | Project configuration |
.cowork/Skills.lock | Installed packages lock |
| Variable | Description |
|---|---|
GITHUB_TOKEN | Required for generate/search commands |
cowork doctor
cowork status
Skills not loading:
cowork listcowork config showcowork test triggersInstallation fails:
echo $GITHUB_TOKENgh repo view user/repocowork install user/repo --reinstallPlugin conflicts:
cowork config priority router1 router2cowork config override "keyword" skill-namecowork test --check-conflictsCRITICAL: Code review skill using GitHub API. Triggers on: review PR, code review, PR review, pull request review, review changes, check this PR, analyze this PR, review #, 代码审查, 审查 PR
CRITICAL: Comprehensive guide for CoWork Skills CLI tool. Triggers on: cowork, Skills.toml, skill management, plugin configuration, cowork init, cowork install, cowork config, cowork generate, cowork audit, cowork verify, cowork test
Meta-router for dynamic skill routing. Use when: cowork, skill management, router generation, Skills.toml, plugin configuration
CRITICAL: Use for generating skills from GitHub repositories. Triggers on: generate skill from repo, create skills from GitHub, cowork generate, generate llms.txt, convert repo to skills, make skills from repository, parse repository, GitHub 转 skill, 从仓库生成 skill, 生成技能, extract API from code
CRITICAL: Use for searching GitHub repositories for skills. Triggers on: search for skills, find skill repositories, cowork search, search GitHub topics, discover skills on GitHub, find repos on GitHub, browse skill repos, 搜索 skill, 查找技能仓库, 搜索仓库, 找技能
CRITICAL: Use for managing agent memory based on CoALA cognitive architecture. Triggers on: remember this, 记住这个, save this info, learn from this, 学习这个, memory system, 记忆系统, knowledge base, what did we learn, 之前学到的, project context, 项目上下文, my preferences, 偏好设置, recall memory, 回忆一下, what do you know about, 你知道什么, forget this, 忘记这个, reflect on, 反思一下, summarize session, 总结会话