# Send skill-router to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Tell me what you changed and call out any manual steps you could not complete.
```
### Upgrade existing

```text
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Summarize what changed and any follow-up checks I should run.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "mupeng-skill-router",
    "name": "skill-router",
    "source": "tencent",
    "type": "skill",
    "category": "AI 智能",
    "sourceUrl": "https://clawhub.ai/mupengi-bot/mupeng-skill-router",
    "canonicalUrl": "https://clawhub.ai/mupengi-bot/mupeng-skill-router",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/mupeng-skill-router",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=mupeng-skill-router",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "SKILL.md",
      "chains.md"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-04-30T16:55:25.780Z",
      "expiresAt": "2026-05-07T16:55:25.780Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=network",
        "contentDisposition": "attachment; filename=\"network-1.0.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null
      },
      "scope": "source",
      "summary": "Source download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this source.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/mupeng-skill-router"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/mupeng-skill-router",
    "downloadUrl": "https://openagent3.xyz/downloads/mupeng-skill-router",
    "agentUrl": "https://openagent3.xyz/skills/mupeng-skill-router/agent",
    "manifestUrl": "https://openagent3.xyz/skills/mupeng-skill-router/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/mupeng-skill-router/agent.md"
  }
}
```
## Documentation

### Skill Router

Meta system that analyzes natural language input to auto-select appropriate skill(s), determine order, and chain execution.

### Execution Flow

1. Scan only skills/*/SKILL.md frontmatter (trigger matching)
   - Quick match with description + trigger fields
   - No full body reading → 83% token savings
   
2. Check run field of matched skill for script path
   - run: "./run.sh" → skills/{name}/run.sh
   - run: "./run.js" → skills/{name}/run.js
   
3. Direct script execution with exec
   WORKSPACE=$HOME/.openclaw/workspace \\
   EVENTS_DIR=$WORKSPACE/events \\
   MEMORY_DIR=$WORKSPACE/memory \\
   bash $WORKSPACE/skills/{name}/run.sh [args]
   
4. Agent processes stdout result
   - Parse if JSON
   - Pass through if text
   - Check stderr on error
   
5. Generate events based on events_out
   - Create events/{type}-{date}.json file
   - Subsequent skills consume via events_in
   
6. Check hooks → trigger subsequent skills
   - post: ["skill-a", "skill-b"] → auto-execute
   - on_error: ["notification-hub"] → notify on error

### Skill Metadata Scan

# Extract only frontmatter from all skills
for skill in skills/*/SKILL.md; do
  yq eval '.name, .description, .trigger, .run' "$skill"
done

### Execution Example

# User: "daily report"
# → trigger match: daily-report
# → Execute:
cd $HOME/.openclaw/workspace
WORKSPACE=$PWD \\
EVENTS_DIR=$PWD/events \\
MEMORY_DIR=$PWD/memory \\
bash skills/daily-report/run.sh today

# Agent formats stdout result and delivers to user

### Token Savings Effect

Before: SKILL.md 3000 chars × 40 = 120KB (~30K tokens)
v2: SKILL.md 500 chars × 40 = 20KB (~5K tokens)
Savings: 83% token reduction

### Core Concept

OpenClaw already selects 1 skill via description matching, but this skill:

Detect complex intent: "Analyze competitors and make card news" → competitor-watch + copywriting + cardnews + insta-post
Context-based auto-hooks: Auto-determine subsequent skills when a skill executes
Skill chain templates: Pre-define frequently used combinations

### Single Skill Mapping (1:1)

"commit/push/git" → git-auto
"DM/instagram message" → auto-reply
"cost/tokens/how much" → tokenmeter
"translate/to English" → translate
"invoice/quote" → invoice-gen
"code review/PR" → code-review
"system status/health" → health-monitor
"trends" → trend-radar
"performance/reactions/likes" → performance-tracker
"daily report" → daily-report
"SEO audit" → seo-audit
"brand tone" → brand-voice

### Complex Skill Chains (1:N) — Core Pipelines

Trigger PatternSkill ChainDescription"create content/post"seo-content-planner → copywriting → cardnews → insta-postFull content pipeline"analyze competitors and report"competitor-watch → daily-report → mailResearch→report"summarize this video as card news"yt-digest → content-recycler → cardnews → insta-postVideo→content conversion"weekly review"self-eval + tokenmeter + performance-tracker → daily-reportComprehensive review"recycle content"performance-tracker → content-recycler → cardnewsRepackage successful content"review idea and execute"think-tank(brainstorm) → decision-log → skill-composerIdeation→decision→execution"market research"competitor-watch + trend-radar + data-scraper → daily-reportFull research"release"code-review → git-auto → release-disciplineSafe deployment"morning routine"health-monitor → tokenmeter → notification-hub → daily-reportMorning auto-check

### Context-based Auto-chain Rules

Skill A execution complete → analyze results → auto-determine next skill:

Auto-chain Rules (if → then)

IF competitor-watch detects important change → THEN notification-hub(urgent) + include in daily-report
IF tokenmeter exceeds $500/month → THEN notification-hub(urgent)
IF code-review detects HIGH severity → THEN block commit + notification-hub
IF think-tank conclusion has "immediate execution" action → THEN auto-record in decision-log
IF cardnews generation complete → THEN confirm "post with insta-post?" (approval required)
IF self-eval detects repeated mistake → THEN trigger learning-engine
IF performance-tracker finds successful content → THEN suggest content-recycler
IF trend-radar detects hot trend → THEN auto-suggest seo-content-planner
IF mail detects important email → THEN notification-hub(important)
IF health-monitor detects anomaly → THEN attempt auto-recovery + notification-hub(urgent)

### Execution Engine Protocol

1. Receive user input
2. Classify intent (single vs complex)
3. If single → execute skill immediately
4. If complex → compose skill chain
   a. Skills without dependencies execute in parallel (sessions_spawn)
   b. Skills with dependencies execute sequentially (pass previous results via events/)
5. Check auto-chain rules on each skill completion
6. Auto-trigger additional skills if needed (or request approval)
7. Synthesize final results and respond

### Auto-hook Registration

When skill-router activates, for all skills:

pre-hook: Input validation + security check
post-hook: Generate events/ event + check chain rules
on-error: Error log + notification-hub

### Skill Dependency Graph

[User Input]
    ↓
[skill-router] ← Intent classification
    ↓
┌─────────────────────────────────────────┐
│  TIER 1: Data Collection                │
│  competitor-watch, data-scraper,        │
│  trend-radar, tokenmeter, yt-digest     │
└─────────────┬───────────────────────────┘
              ↓ events/
┌─────────────────────────────────────────┐
│  TIER 2: Analysis/Thinking              │
│  think-tank, self-eval, seo-audit,      │
│  code-review, performance-tracker       │
└─────────────┬───────────────────────────┘
              ↓ events/
┌─────────────────────────────────────────┐
│  TIER 3: Production                     │
│  copywriting, cardnews, content-recycler,│
│  translate, invoice-gen                  │
└─────────────┬───────────────────────────┘
              ↓ events/
┌─────────────────────────────────────────┐
│  TIER 4: Deployment/Execution           │
│  insta-post, mail, git-auto,            │
│  release-discipline                     │
└─────────────┬───────────────────────────┘
              ↓ events/
┌─────────────────────────────────────────┐
│  TIER 5: Tracking/Learning              │
│  daily-report, decision-log,            │
│  learning-engine, notification-hub      │
└─────────────────────────────────────────┘

### Safety Mechanisms

Always require approval before external actions (email send, SNS post, payment)
Prevent infinite loops: Stop after same skill chain repeats 3 times
Cost limit: Max 5 subagents per chain
Graceful stop on error + save partial results

🐧 Built by 무펭이 — Mupengism ecosystem skill
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: mupengi-bot
- Version: 1.0.0
## Source health
- Status: healthy
- Source download looks usable.
- Yavira can redirect you to the upstream package for this source.
- Health scope: source
- Reason: direct_download_ok
- Checked at: 2026-04-30T16:55:25.780Z
- Expires at: 2026-05-07T16:55:25.780Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/mupeng-skill-router)
- [Send to Agent page](https://openagent3.xyz/skills/mupeng-skill-router/agent)
- [JSON manifest](https://openagent3.xyz/skills/mupeng-skill-router/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/mupeng-skill-router/agent.md)
- [Download page](https://openagent3.xyz/downloads/mupeng-skill-router)