Engineering
cowork-router avatar

cowork-router

Dynamic meta-router for managing and orchestrating multi-domain AI coding agent skills across plugins and projects.

Introduction

The CoWork Router is a sophisticated meta-skill designed to orchestrate complex skill ecosystems within AI coding environments like Claude Code. It functions as a dynamic routing layer that bridges the gap between user intent and specialized plugin functionality. By analyzing project configurations stored in Skills.toml, this tool automatically scans installed plugins to extract trigger keywords and domain-specific routing logic, constructing an efficient entry point for multi-plugin environments. It is intended for software engineers and power users managing modular AI development workflows where multiple specialized domains, such as Rust development, UI frameworks like Makepad, or robotics dataflow platforms like Dora-rs, coexist within a single project.

  • Automatically generates project-specific routers by aggregating trigger keywords from diverse plugin SKILL.md files.

  • Implements sophisticated domain detection tables that map natural language queries to the most relevant plugin router.

  • Supports cross-domain routing, enabling the agent to resolve complex queries that span multiple technological domains, such as fixing borrow-checker errors within a specific UI component.

  • Provides a robust architectural pattern for plugin developers to register keywords, ensuring consistent interaction models across different agents.

  • CLI-integrated generation process via cowork config router, ensuring the router remains synced with the current state of installed dependencies.

  • Enables the configuration of auto-trigger hooks to refine agent behavior and improve routing precision.

  • Use this skill to initialize and refresh the routing mechanism after adding or removing plugins, updating dependencies, or modifying project-level skill priority.

  • Input requirements include a valid Skills.toml configuration and compliant plugin directories containing standard skill metadata.

  • The tool outputs an optimized dynamic router configuration that handles domain matching logic for the entire project workspace.

  • Constraints: Requires the cowork CLI environment; performs best when plugins define granular and descriptive trigger keywords in their respective SKILL.md frontmatter.

  • Practical usage involves running cowork config router as a standard step in the project initialization and dependency management pipeline.

Repository Stats

Stars
39
Forks
5
Open Issues
3
Language
Rust
Default Branch
main
Sync Status
Idle
Last Synced
May 3, 2026, 02:28 AM
View on GitHub