General
brainstorming-studio
# π§ Skill Router (Skill Orchestrator)
# π§ 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: <task>
- orchestrator: <task>
---
## β
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:
```json
{
"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 π
general
By
Comments
Sign in to leave a comment