smart-router-skill

Route execution to character-specific bash scripts via JSON configuration.

Updated Mar 3, 2026
One-click install
npx skills add https://github.com/rawadghz/recipe-ms --skill smart-router-skill-rawadghz
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-router-skill
Source: https://github.com/rawadghz/recipe-ms/tree/main/.opencode/skills/smart-router-skill
Command: npx skills add https://github.com/rawadghz/recipe-ms --skill smart-router-skill-rawadghz

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) and references (resource) components.

What problem does it solve?

This Skill allows users to interactively choose a movie character and then run a themed workflow associated with that character, demonstrating dynamic script routing based on user selection and configuration.

Core Features & Use Cases

  • Character Embodiment: Select from iconic characters like Yoda, Tony Stark, or Sherlock Holmes.
  • Configurable Missions: Each character has multiple missions, and the active mission can be changed via a configuration file or command-line argument.
  • Themed Workflows: Executes distinct bash scripts (.sh) tailored to the chosen character and mission, providing rich, visual console output.
  • Use Case: A user wants to explore different scenarios for a character. They can choose "Yoda" and then select "Mission 1: Defend the Republic" or "Mission 2: Infiltrate the Sith" to see unique, character-appropriate actions and dialogue.

Quick Start

Use the smart-router-skill to embody Yoda and run his first mission.

Frequently Asked Questions about smart-router-skill

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I route bash script execution based on user selection and a JSON configuration file?

You can route bash script execution by defining character-specific workflows in a JSON configuration file and dynamically directing execution to the corresponding bash scripts based on interactive user selection.

How do I configure multiple missions for a single character in a bash scripting workflow?

Configuring multiple missions for a single character involves defining distinct missions within a JSON configuration file. You can then change the active mission either by modifying this configuration file or by passing a command-line argument during execution.

Can I use JSON parsing to manage themed console outputs for different interactive workflows?

Yes, you can use JSON parsing to manage themed console outputs. The system reads character and mission parameters from the JSON file to execute tailored bash scripts that generate rich, visual console output specific to the selected theme.

What is dynamic script routing for themed interactive workflows?

Dynamic script routing for themed interactive workflows is a mechanism that selects and executes specific bash scripts based on user input. It maps user choices, such as selecting a movie character and mission, to predefined scripts via configuration.

Do I need bash scripting knowledge to run character-specific themed workflows?

Yes, bash scripting knowledge is required to run these themed workflows. The system executes distinct bash scripts tailored to chosen characters and missions, requiring familiarity with bash and JSON parsing for configuration management.

Are there limitations when using JSON configuration for dynamic script routing?

A limitation of using JSON configuration for dynamic script routing is that configuration management strictly requires JSON parsing. Any structural errors in the configuration file will prevent the system from correctly routing execution to the character-specific bash scripts.