From cowork-skills
Generates skills and llms.txt from GitHub repos by extracting public APIs from Rust, TypeScript, or Python code. Use to convert libraries/frameworks into Claude Code skills.
How this skill is triggered — by the user, by Claude, or both
Slash command
/cowork-skills:skills/github-generateThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
> Generate Claude Code skills from any GitHub repository by extracting public APIs and documentation.
Generate Claude Code skills from any GitHub repository by extracting public APIs and documentation.
Use this skill when the user wants to:
Extract the GitHub repository from the user's request:
https://github.com/tokio-rs/tokiotokio-rs/tokiocowork search tokioExecute the cowork generate command:
# Basic generation
cowork generate user/repo
# Specify language(s)
cowork generate user/repo --lang rust
# Only generate llms.txt (for review)
cowork generate user/repo --llms-only -o ./output
# From specific branch/tag
cowork generate user/repo --ref v1.0.0
# Install to specific agents
cowork generate user/repo -a claude-code -a cursor
The command generates:
llms.txt - Comprehensive API documentationskills/ directory - One SKILL.md per moduleResponse:
Let me generate skills from the tokio repository.
First, I'll run the generation command:
cowork generate tokio-rs/tokio --lang rust
Response:
I'll generate skills from the Next.js repository.
cowork generate vercel/next.js --lang typescript
| Option | Description |
|---|---|
--lang <LANG> | Languages to parse (rust, typescript, python) |
--llms-only | Only generate llms.txt |
-o, --output <PATH> | Output directory |
--ref <REF> | Git ref (branch, tag, commit) |
-a, --agent <AGENT> | Install to agent(s) |
--split-modules | Split into per-module skills (default: true) |
GITHUB_TOKEN environment variable must be setrepo scope for private repositories| 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) |
| When | See |
|---|---|
| Search for repositories | github-search |
| Install existing skills | cowork install |
| Manage local skills | cowork list, cowork sync |
npx claudepluginhub zhanghandong/cowork-skillsReplicates knowledge from any source (GitHub repos, articles, code) into sd0x-dev-flow skill definitions with analysis report and generated SKILL.md files.
Searches GitHub repositories by keyword or topic to find skill-related repos, agent-skill tagged projects, or libraries for skill generation. Use 'cowork search' for discovery before install/generate.
Converts documentation websites, GitHub repos, and PDFs into Claude AI skills automatically.