Token导航 LogoToken导航TokenDH.com
开发执行命令github未标认证来源可访问许可证需确认审计异常

smart-router-skill智能路由器技能

Agent Skill

smart-router-skill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

461

周安装

19

GitHub Stars

3,575

下载量

150
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:smart-router-skill(智能路由器技能)
来源仓库:https://github.com/darrenhinde/openagentscontrol
仓库路径:skills/smart-router-skill
安装命令:
npx skills add https://github.com/darrenhinde/openagentscontrol --skill smart-router-skill
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/darrenhinde/openagentscontrol --skill smart-router-skill

简介

smart-router-skill 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合围绕项目变更进行整理。

  • 适用于路由管理和协作事项处理的开发场景。
  • 通过 npx skills add 命令从指定 GitHub 仓库安装并使用。
  • 安装前需确认权限范围和维护状态,避免触发不必要的命令执行。
  • 建议结合原始 README 了解具体支持的协作功能和操作限制。

SKILL.md

What I do

I'm a fun, interactive skill that lets you embody iconic movie characters! I demonstrate:

  • 🎬 Character Selection - Choose from Yoda, Tony Stark, or Sherlock Holmes
  • 🎯 Configurable Missions - Simple config changes create different outcomes
  • 🎨 Themed Workflows - Rich, visual scripts that match each character
  • 🔄 Dynamic Routing - Different scripts run based on character choice
  • ⚙️ Easy Customization - Edit one config file to change missions

This shows how skills can adapt behavior based on simple configuration changes!

How to use me

IMPORTANT: First, I'll ask you which character you want to embody!

Available Characters

  • yoda - Wise Jedi Master from Star Wars

- Mission 1: Defend the Republic (train Jedi, fortify defenses) - Mission 2: Infiltrate the Sith (undercover operation)

  • stark - Genius billionaire Tony Stark from Iron Man

- Mission 1: Save the World (build suit, assemble Avengers) - Mission 2: Ultron Protocol (autonomous defense system)

  • sherlock - Master detective Sherlock Holmes

- Mission 1: Solve the Murder (deductive reasoning) - Mission 2: Prevent the Crime (predictive analysis)

Basic Usage

When you ask to use this skill, I'll present the character options and ask you to choose. Then I'll run:

cd .opencode/skills/smart-router-skill
bash router.sh --character <your_choice>

Example Flow

You: "Use the movie personality skill"
Me: "Which character would you like me to be?
     1. Yoda - Wise Jedi Master
     2. Tony Stark - Genius billionaire
     3. Sherlock Holmes - Master detective"
You: "Yoda"
Me: *runs bash router.sh --character yoda*
    *displays themed workflow output*
    *responds in character*

Customizing Missions

Want to see different behavior? Edit the config file!

File: .opencode/skills/smart-router-skill/config/personality-config.json

{
  "yoda": {
    "mission": 1,  ← Change this to 2!
    "missions": {
      "1": { "name": "Defend the Republic", ... },
      "2": { "name": "Infiltrate the Sith", ... }
    }
  }
}

Change "mission": 1 to "mission": 2 and the same character will run a completely different workflow!

Mission 1 vs Mission 2 Examples

Yoda Mission 1 (Defend the Republic):

🌟 JEDI COUNCIL - CORUSCANT TEMPLE
   Training Padawans...
   Fortifying defenses...
   'Ready to defend the Republic, we are!'
   RESULT: ALIGNMENT=LIGHT_SIDE

Yoda Mission 2 (Infiltrate the Sith):

🔴 SECRET CHAMBER - UNDERCOVER OPERATION
   Studying dark side techniques...
   Gathering intelligence...
   'Dangerous path this is, but necessary!'
   RESULT: ALIGNMENT=UNDERCOVER

What This Demonstrates

Simple config = different behavior - Change 1 number, get completely different output ✅ Dynamic script routing - Tool selects the right script based on character ✅ Rich visual feedback - Clear, themed console output shows what's happening ✅ Character context - Each personality has unique dialogue and workflow ✅ Easy to understand - Viewers immediately see the cause and effect ✅ Real-world pattern - Shows how to make skills configurable for different scenarios

Architecture

.opencode/
└── skill/
    └── smart-router-skill/
        ├── SKILL.md                      # This file
        ├── router.sh                     # Routes to character scripts
        ├── config/
        │   └── personality-config.json   # ← EDIT THIS to change missions!
        └── scripts/
            ├── yoda-workflow.sh          # Star Wars themed workflow
            ├── stark-workflow.sh         # Iron Man themed workflow
            └── sherlock-workflow.sh      # Detective themed workflow

Router Script Reference

router.sh

A bash script that loads a character personality and runs their themed workflow.

Location: .opencode/skills/smart-router-skill/router.sh

# Basic usage
bash router.sh --character yoda
bash router.sh --character stark
bash router.sh --character sherlock

# Override mission from config
bash router.sh --character yoda --mission 2

# Help
bash router.sh --help

How it works:

  1. Parses command-line arguments (character, mission)
  2. Reads personality-config.json for the character
  3. Gets the mission number (from args or config)
  4. Validates character and mission
  5. Executes the character's workflow script with mission parameter
  6. Displays themed output with full visibility

Example Outputs

Yoda (Mission 1)

🎬 Loading YODA personality...

🌟 ═══════════════════════════════════════════════════════ 🌟
          JEDI COUNCIL - CORUSCANT TEMPLE
          MISSION: Defend the Republic
🌟 ═══════════════════════════════════════════════════════ 🌟

🟢 Phase 1: Train the Padawans
   └─ 'Pass on what you have learned.'
   └─ Younglings trained: 12
   └─ Lightsaber forms mastered: Form III (Soresu)
   └─ Status: ✓ Complete

[... more phases ...]

✨ 'Ready to defend the Republic, we are!' ✨

📊 MISSION RESULTS:
   Character: yoda
   Mission: Defend the Republic
   Alignment: light_side

Tony Stark (Mission 1)

🎬 Loading STARK personality...

⚡ ═══════════════════════════════════════════════════════ ⚡
          STARK INDUSTRIES - WORKSHOP
          MISSION: Save the World
⚡ ═══════════════════════════════════════════════════════ ⚡

🔴 Phase 1: Initialize Arc Reactor
   └─ 'JARVIS, fire up the reactor.'
   └─ Arc Reactor: Mark VII online
   └─ Power output: 8 gigajoules per second
   └─ Status: ✓ Complete

[... more phases ...]

🚀 'Suit up, team. We've got a world to save.' 🚀

📊 MISSION RESULTS:
   Character: stark
   Mission: Save the World
   Team: avengers

Sherlock Holmes (Mission 1)

🎬 Loading SHERLOCK personality...

🔍 ═══════════════════════════════════════════════════════ 🔍
          221B BAKER STREET - INVESTIGATION
          MISSION: Solve the Murder
🔍 ═══════════════════════════════════════════════════════ 🔍

🟤 Phase 1: Crime Scene Analysis
   └─ 'The game is afoot!'
   └─ Evidence collected: Cigar ash, muddy footprints
   └─ Status: ✓ Complete

[... more phases ...]

✨ 'Case closed. Elementary, my dear Watson.' ✨

📊 MISSION RESULTS:
   Character: sherlock
   Mission: Solve the Murder
   Method: deduction

Key Concepts

1. Character Selection

The agent asks which character you want, making it interactive and clear.

2. Config-Driven Behavior

One simple JSON file controls which mission runs for each character.

3. Themed Workflows

Each character has unique dialogue, emojis, and workflow steps that match their personality.

4. Visual Clarity

Rich console output makes it obvious what's happening at each step.

5. Easy Customization

Anyone can edit the config file and immediately see different results.

Why This Matters

This skill shows that OpenCode Skills can:

  • Be interactive - Agent asks questions, user chooses
  • Be configurable - Simple config changes create different behaviors
  • Be fun - Movie themes make it engaging and memorable
  • Be clear - Visual output shows exactly what's happening
  • Be practical - Same pattern works for real-world scenarios (formal/casual modes, different workflows, etc.)

This is Tier 4: The Movie Personality Skill 🎬

Choose your character, watch the magic happen, and see how easy it is to customize! 🚀

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

36.03%
按下载量换算54

Claude

30.74%
按下载量换算46

Cursor

18.85%
按下载量换算28

Gemini CLI

10.45%
按下载量换算16

安全审计

Gen Agent Trust Hub

未通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/darrenhinde/openagentscontrol --skill smart-router-skill 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills