with one click
cowork-router
// Meta-router for dynamic skill routing. Use when: cowork, skill management, router generation, Skills.toml, plugin configuration
// Meta-router for dynamic skill routing. Use when: cowork, skill management, router generation, Skills.toml, plugin configuration
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: 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
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, ๆป็ปไผ่ฏ
| name | cowork-router |
| description | Meta-router for dynamic skill routing. Use when: cowork, skill management, router generation, Skills.toml, plugin configuration |
Meta-router that guides dynamic generation of project-specific skill routers
This is a meta-skill that:
cowork config routerThis skill does NOT hardcode specific plugins - it describes the system for dynamically discovering and routing to installed plugins.
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Skills.toml (User Config) โ
โ [skills.install] โ
โ rust-skills = "user/rust-skills" โ
โ dora-skills = { path = "/local/dora-skills", plugin = true } โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโ
โ cowork config install โ
โโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Skills.lock (Generated) โ
โ - Tracks installed plugins, versions, paths โ
โ - Records extracted trigger keywords โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโ
โ cowork config router โ
โโโโโโโโโโโโโโโโโโโโโโโโโ
โ
โผ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ .claude/skills/cowork-router/SKILL.md (Dynamic) โ
โ - Auto-generated from installed plugins โ
โ - Merged trigger keywords from all plugins โ
โ - Domain detection table based on actual installations โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Each plugin contains skills with SKILL.md files. The frontmatter description field contains trigger keywords:
---
name: rust-router
description: "Triggers on: E0xxx, ownership, borrow, lifetime, async, trait"
---
cowork config router scans all installed plugins and extracts:
rust-router, dora-router)Generates a project-specific cowork-router that:
# Initialize project configuration
cowork config init
# Add plugin dependencies
cowork config add rust-skills ZhangHanDong/rust-skills --plugin
cowork config add dora-dev /path/to/dora-skills --dev --plugin
# Install all dependencies
cowork config install
# Generate dynamic router from installed plugins
cowork config router
# Generate router with auto-trigger hooks
cowork config router --hooks
The dynamically generated router will contain:
---
name: cowork-router
description: "Triggers on: [merged keywords from all plugins]"
---
## Domain Detection
| Domain | Keywords | Route To |
|--------|----------|----------|
| [plugin-1] | [extracted keywords] | [plugin-1-router] |
| [plugin-2] | [extracted keywords] | [plugin-2-router] |
| ... | ... | ... |
All plugin routers should follow this pattern:
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ cowork-router (Meta) โ
โ Unified entry - Domain detection โ
โโโโโโโโโโโโโโโโโฌโโโโโโโโโโโโโโโโโโโโโโ
โ
โโโโโโโโโโโโโโโโโโโโโโโโโโผโโโโโโโโโโโโโโโโโโโโโโโโโ
โผ โผ โผ
โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ โโโโโโโโโโโโโโโโโ
โ plugin-router โ โ plugin-router โ โ plugin-router โ
โ (Domain A) โ โ (Domain B) โ โ (Domain C) โ
โโโโโโโโโฌโโโโโโโโ โโโโโโโโโฌโโโโโโโโ โโโโโโโโโฌโโโโโโโโ
โ โ โ
โผ โผ โผ
plugin-skills plugin-skills plugin-skills
When a question spans multiple domains:
Example: "Dora node ไธญ E0382 ้่ฏฏ"
dora-router (dataflow context)rust-skills:m01-ownership (ownership mechanics)| File | Location | Purpose |
|---|---|---|
Skills.toml | .cowork/Skills.toml | User configuration |
Skills.lock | .cowork/Skills.lock | Installed state (auto-generated) |
cowork-router | .claude/skills/cowork-router/ | Dynamic router (auto-generated) |
hooks.json | .claude/skills/cowork-router/ | Auto-trigger hooks (optional) |
Run cowork config router after:
In Skills.toml:
[triggers]
priority = ["dora-router", "rust-router", "makepad-router"]
[triggers.overrides]
"async" = "rust-router"
"widget" = "makepad-router"
Higher priority routers win when keywords conflict.