# 🧠 Skill Router (Skill Orchestrator)
An explainable, deterministic meta-skill that decides which skill to use, how to use it, and whether it is safe — before anything runs.
Skill Router operates as a decision and governance layer above all other skills.
It inventories available skills, scores them transparently, applies safety gates, and orchestrates the optimal execution strategy — always with user visibility and control.
No black boxes. No silent execution. No hallucinated APIs.
🚀 How to Run (Trigger Phrases)
Invoke the Skill Router using natural language:
- decide which skill to use
- use the best skill for this
- route this task automatically
- orchestrate my skills
- figure out the optimal approach
- handle this in the most efficient way
- skill router:
- orchestrator:
✅ Checklist — Step by Step
Step 0 — Task Intake & Normalization
- Capture the raw user request verbatim.
- Normalize into:
- Goal — what success looks like
- Constraints — hard requirements and prohibitions
- Urgency — LOW / MEDIUM / HIGH
- Environment — OS, local vs remote, runtime limits
- Risk profile — LOW / MEDIUM / HIGH / CRITICAL
- Identify required actions:
- read, write, execute, network, credentials
- Detect missing information and mark explicitly.
- Never guess missing data.
Step 1 — Skill Inventory
- Attempt to list installed skills using official platform APIs.
- If unavailable, fall back to:
- Directory scanning
- Skill manifests (skill.json, manifest.json)
- Normalize each skill into:
{
"id": "string",
"name": "string",
"description": "string",
"supported_actions": [],
"required_permissions": [],
"risk_level": "LOW | MEDIUM | HIGH | CRITICAL",
"cost_latency": {
"estimated_ms": 0,
"cost_hint": "FREE | LOW | MED | HIGH"
},
"failure_modes": []
}
If inventory is partial or empty, continue in best-effort / plan-only mode.
Step 2 — Task Classification
Classify into one or more:
Planning / Writing
Coding / DevOps
Filesystem Operations
Security / Auditing
Data / Analysis
Web / Research
Automation
Ideation / Brainstorming
Identify disallowed actions (e.g. “no internet”, “read-only”).
Step 3 — Skill Scoring Model (0–100)
Component Weight
Task Relevance 0–40
Environment Compatibility 0–15
Permission Fit 0–10
Latency & Cost Efficiency 0–10
Risk Alignment 0–15
Historical Success (local) 0–10
Formula
Score = R + E + P + C + A + H
Hard Gates
Disallowed actions → score = 0
CRITICAL risk mismatch → score capped at 25 unless overridden
Step 4 — Strategy Selection
Choose exactly one:
Single-skill execution
Multi-skill pipeline
Clarifying question (max 1–2)
All decisions are justified.
Step 5 — Safety Gates
Risk ≥ HIGH → confirmation required
Filesystem / Network / Credentials → preview required
External APIs → data disclosure + consent
Missing permissions → degrade or abort safely
Step 6 — Execution & Fallback
Execute selected skill(s).
On failure:
Analyze error
Retry with next-best candidate (max 2 attempts)
Never escalate risk without new confirmation.
Step 7 — Reporting & Learning
Generate a structured report.
Optionally store a local-only history record.
Secrets are always redacted.
📊 Output Format (STRICT)
🧠 Skill Router Report
1. Task Analysis <ICON> <STATUS> — <summary>
2. Skill Candidates <ICON> <STATUS> — <top skills + scores>
3. Selection Strategy <ICON> <STATUS> — <chosen approach>
4. Safety Check <ICON> <STATUS> — <confirmation required?>
5. Execution Result <ICON> <STATUS> — <outcome>
6. Fallback Handling <ICON> <STATUS> — <none / attempted>
7. Learning Log <ICON> <STATUS> — <stored / skipped>
Scoreboard:
Primary: XX/100
Alternative: YY/100
Icons:
✅ PASS
⚠️ WARN
❌ FAIL
🛑 CONFIRM
⏭️ SKIP
🔁 Auto-Action Flow
Always display the report first.
If confirmation is required, ask:
Proceed? (yes / no / pick)
yes → execute
no → abort
pick → user selects skills or steps
🧩 Action Recipes
Listing Skills (No API)
Scan directories
Parse manifests
Never infer capabilities
Force a Specific Skill
override router: <skill-id>
Full safety gates still apply
Disable a Skill
Add to local denylist
Excluded from scoring
Dry-Run Mode
Perform Steps 0–5 only
No execution
Verbose Diagnostics
Full scoring breakdown
Inventory source
Redaction log
Reset History
Clears local history only
🧠 Extension Module — Brainstorming Mode (Optional)
Multi-Agent Brainstorming Orchestrator:
Business / Strategy Agent
Market / Execution Agent
Rounds:
Idea generation
Critique & risk
Synthesis
Requires explicit consent before external API usage.
🔒 Safety & Guarantees
No destructive actions without confirmation
No silent data exfiltration
No automatic skill installation
No permission bypass
No hallucinated APIs
🚫 What This Skill Does NOT Do
Does not replace human judgment
Does not train ML models
Does not auto-install dependencies
Does not bypass permissions
📚 Reference & Rationale
Skill Router introduces a deterministic, auditable decision layer for agent skills.
It improves:
Safety
Reliability
User trust
Execution success rates
This is governance for agent skills — done right.
---
# ✅ 2️⃣ RESULTADO
✔️ Cria o arquivo **SKILL.md**
✔️ Encoding **UTF-8**
✔️ 100% compatível com **ClawHub / GitHub / GitLab**
✔️ Visual premium (headings, tabelas, blocos, ícones)
---
## 🔥 Próximo passo (se quiser)
Posso:
- Ajustar para **rating máximo no review ClawHub**
- Gerar `README.md` (marketing)
- Criar `CONTRIBUTING.md`
- Criar checklist de aprovação
- Revisar linguagem para **nível enterprise**
Só mandar 🚀
1---
2name: "2-resultado"
3description: Skill Router operates as a decision and governance layer above all
4 other skills. It inventories available skills, scores them transparently,
5 applies safety gates, and orchestrates the optimal execu...
6metadata:
7 source: https://skillmd.com/skills/modbender/2-resultado
8---
9
10# 🧠 Skill Router (Skill Orchestrator)
11**An explainable, deterministic meta-skill that decides _which_ skill to use, _how_ to use it, and _whether_ it is safe — before anything runs.**
12Skill Router operates as a **decision and governance layer above all other skills**.
13It inventories available skills, scores them transparently, applies safety gates, and orchestrates the optimal execution strategy — always with user visibility and control.
14> **No black boxes. No silent execution. No hallucinated APIs.**
15---
16## 🚀 How to Run (Trigger Phrases)
17Invoke the Skill Router using natural language:
18- decide which skill to use
19- use the best skill for this
20- route this task automatically
21- orchestrate my skills
22- figure out the optimal approach
23- handle this in the most efficient way
24- skill router: <task>
25- orchestrator: <task>
26---
27## ✅ Checklist — Step by Step
28### Step 0 — Task Intake & Normalization
29- Capture the raw user request verbatim.
30- Normalize into:
31 - **Goal** — what success looks like
32 - **Constraints** — hard requirements and prohibitions
33 - **Urgency** — LOW / MEDIUM / HIGH
34 - **Environment** — OS, local vs remote, runtime limits
35 - **Risk profile** — LOW / MEDIUM / HIGH / CRITICAL
36- Identify required actions:
37 - read, write, execute, network, credentials
38- Detect missing information and mark explicitly.
39- Never guess missing data.
40---
41### Step 1 — Skill Inventory
42- Attempt to list installed skills using official platform APIs.
43- If unavailable, fall back to:
44 - Directory scanning
45 - Skill manifests (skill.json, manifest.json)
46- Normalize each skill into:
47```json
48{
49 "id": "string",
50 "name": "string",
51 "description": "string",
52 "supported_actions": [],
53 "required_permissions": [],
54 "risk_level": "LOW | MEDIUM | HIGH | CRITICAL",
55 "cost_latency": {
56 "estimated_ms": 0,
57 "cost_hint": "FREE | LOW | MED | HIGH"
58 },
59 "failure_modes": []
60}
61If inventory is partial or empty, continue in best-effort / plan-only mode.
62Step 2 — Task Classification
63Classify into one or more:
64Planning / Writing
65Coding / DevOps
66Filesystem Operations
67Security / Auditing
68Data / Analysis
69Web / Research
70Automation
71Ideation / Brainstorming
72Identify disallowed actions (e.g. “no internet”, “read-only”).
73Step 3 — Skill Scoring Model (0–100)
74Component Weight
75Task Relevance 0–40
76Environment Compatibility 0–15
77Permission Fit 0–10
78Latency & Cost Efficiency 0–10
79Risk Alignment 0–15
80Historical Success (local) 0–10
81Formula
82Score = R + E + P + C + A + H
83Hard Gates
84Disallowed actions → score = 0
85CRITICAL risk mismatch → score capped at 25 unless overridden
86Step 4 — Strategy Selection
87Choose exactly one:
88Single-skill execution
89Multi-skill pipeline
90Clarifying question (max 1–2)
91All decisions are justified.
92Step 5 — Safety Gates
93Risk ≥ HIGH → confirmation required
94Filesystem / Network / Credentials → preview required
95External APIs → data disclosure + consent
96Missing permissions → degrade or abort safely
97Step 6 — Execution & Fallback
98Execute selected skill(s).
99On failure:
100Analyze error
101Retry with next-best candidate (max 2 attempts)
102Never escalate risk without new confirmation.
103Step 7 — Reporting & Learning
104Generate a structured report.
105Optionally store a local-only history record.
106Secrets are always redacted.
107📊 Output Format (STRICT)
108🧠 Skill Router Report
1091. Task Analysis <ICON> <STATUS> — <summary>
1102. Skill Candidates <ICON> <STATUS> — <top skills + scores>
1113. Selection Strategy <ICON> <STATUS> — <chosen approach>
1124. Safety Check <ICON> <STATUS> — <confirmation required?>
1135. Execution Result <ICON> <STATUS> — <outcome>
1146. Fallback Handling <ICON> <STATUS> — <none / attempted>
1157. Learning Log <ICON> <STATUS> — <stored / skipped>
116Scoreboard:
117Primary: XX/100
118Alternative: YY/100
119Icons:
120✅ PASS
121⚠️ WARN
122❌ FAIL
123🛑 CONFIRM
124⏭️ SKIP
125🔁 Auto-Action Flow
126Always display the report first.
127If confirmation is required, ask:
128Proceed? (yes / no / pick)
129yes → execute
130no → abort
131pick → user selects skills or steps
132🧩 Action Recipes
133Listing Skills (No API)
134Scan directories
135Parse manifests
136Never infer capabilities
137Force a Specific Skill
138override router: <skill-id>
139Full safety gates still apply
140Disable a Skill
141Add to local denylist
142Excluded from scoring
143Dry-Run Mode
144Perform Steps 0–5 only
145No execution
146Verbose Diagnostics
147Full scoring breakdown
148Inventory source
149Redaction log
150Reset History
151Clears local history only
152🧠 Extension Module — Brainstorming Mode (Optional)
153Multi-Agent Brainstorming Orchestrator:
154Business / Strategy Agent
155Market / Execution Agent
156Rounds:
157Idea generation
158Critique & risk
159Synthesis
160Requires explicit consent before external API usage.
161🔒 Safety & Guarantees
162No destructive actions without confirmation
163No silent data exfiltration
164No automatic skill installation
165No permission bypass
166No hallucinated APIs
167🚫 What This Skill Does NOT Do
168Does not replace human judgment
169Does not train ML models
170Does not auto-install dependencies
171Does not bypass permissions
172📚 Reference & Rationale
173Skill Router introduces a deterministic, auditable decision layer for agent skills.
174It improves:
175Safety
176Reliability
177User trust
178Execution success rates
179This is governance for agent skills — done right.
180---
181# ✅ 2️⃣ RESULTADO
182✔️ Cria o arquivo **SKILL.md**
183✔️ Encoding **UTF-8**
184✔️ 100% compatível com **ClawHub / GitHub / GitLab**
185✔️ Visual premium (headings, tabelas, blocos, ícones)
186---
187## 🔥 Próximo passo (se quiser)
188Posso:
189- Ajustar para **rating máximo no review ClawHub**
190- Gerar `README.md` (marketing)
191- Criar `CONTRIBUTING.md`
192- Criar checklist de aprovação
193- Revisar linguagem para **nível enterprise**
194Só mandar 🚀