Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

smart-router-skill

БесплатноЗапускает вложенные скриптыНе проверен

Movie character personality skill with configurable missions - choose your character and watch themed workflows unfold

darrenhindeот darrenhinde★ 50 звёзд на GitHub22 установки в других каталогах

Об этом скилле

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/skill/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/skill/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/skill/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
Полный SKILL.md на GitHub

Установить smart-router-skill в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

config/personality-config.jsonrouter.shscripts/sherlock-workflow.shscripts/stark-workflow.shscripts/yoda-workflow.sh

FAQ

Что делает скилл smart-router-skill?

Movie character personality skill with configurable missions - choose your character and watch themed workflows unfold

Как установить скилл smart-router-skill?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл smart-router-skill запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить smart-router-skill с