Task Skill Router
@mgreten/task-skill-routerv2026.07.26.1
01README
Deterministically selects repository-local skills for a task and composes a bounded agent prompt from configurable path and stage rules.
02Models
@mgreten/task-skill-routerv2026.07.26.1task_skill_router.ts
Global Arguments
| Argument | Type | Description |
|---|---|---|
| skillRoot | string | |
| selectionVersion | string | |
| maxSkills | number | |
| maxSkillChars | number | |
| rules | array |
fn route(prompt: string, allowedPaths: array, provider: string, overrideMaxSkills?: number, overrideMaxSkillChars?: number)
Select task-relevant local skills using configured path/stage rules and compose one bounded agent prompt
| Argument | Type | Description |
|---|---|---|
| prompt | string | |
| allowedPaths | array | |
| provider | string | |
| overrideMaxSkills? | number | |
| overrideMaxSkillChars? | number |
Resources
selection(30d)— Deterministic skill selection, rejection evidence, and composed agent prompt for one task
prompt(1d)— Short-lived bounded agent prompt composed from deterministic skill selection
03Stats
A
100 / 100
Downloads
0
Archive size
8.3 KB
- Has README or module doc2/2earned
- README has a code example1/1earned
- README is substantive1/1earned
- Most symbols documented1/1earned
- No slow types (deprecated)1/1earned
- Dependencies pass trust audit2/2earned
- Has description1/1earned
- Platform support declared (or universal)2/2earned
- License declared1/1earned
- Verified public repository2/2earned
04Platforms