/cowork-skills:github-generatefrom cowork-skills
Generates Claude Code skills from any GitHub repository by extracting public APIs and documentation. Invoked when users want to convert repos into skills or generate llms.txt.
Ships in cowork-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
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 |
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
Generated from the plugin's indexed repository (zhanghandong/cowork-skills) — no native marketplace selected
npx claudepluginhub p/zhanghandong-cowork-skills6 skills in this plugin
/code-reviewCRITICAL: 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/cowork-guideCRITICAL: 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/cowork-routerMeta-router for dynamic skill routing. Use when: cowork, skill management, router generation, Skills.toml, plugin configuration/github-searchCRITICAL: Use for searching GitHub repositories for skills. Triggers on: cowork search, search skill repos, find skill repo, github topic search, skill repository, 搜索 skill, 查找技能仓库, 搜索仓库/memory-skillsCRITICAL: 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, 总结会话
Other plugins' skills for the same job