smart-router-skill

Route user requests to character-specific workflows via personality-config.json and Bash scripts.

4.7k|381|Updated Aug 14, 2025
One-click install
npx skills add https://github.com/darrenhinde/OpenAgentsControl --skill smart-router-skill
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-router-skill
Source: https://github.com/darrenhinde/OpenAgentsControl/tree/main/.opencode/skill/smart-router-skill
Command: npx skills add https://github.com/darrenhinde/OpenAgentsControl --skill smart-router-skill

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

This Skill enables interactive AI demos by routing user requests to character-themed workflows, allowing consistent, engaging behaviors without rewriting routing logic.

Core Features & Use Cases

  • Dynamic character routing: select a character and run their themed workflow script.
  • Config-driven missions: update missions via .opencode/skill/smart-router-skill/config/personality-config.json.
  • Themed, interactive outputs: each character prints persona-specific dialogue and visuals.
  • Real-world use case: demonstrate how changing a single config item results in a different AI workflow without code changes.

Quick Start

cd .opencode/skill/smart-router-skill bash router.sh --character yoda

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 user requests to character-specific workflows in a Bash CLI environment?

Route user requests to character-specific workflows by executing a Bash router script that reads a personality config file to select and run themed mission scripts dynamically.

What is config-driven dynamic routing for interactive AI persona demos?

Config-driven dynamic routing selects AI persona workflows by reading a JSON config file, allowing you to change character behaviors and missions without modifying the underlying Bash scripts.

How do I run a character-themed workflow using a personality config file?

Run a character-themed workflow by executing the Bash router script with the --character flag, which loads the matching persona script and prints character-specific dialogue from the config.

Do I need a specific environment to use config-driven character routing scripts?

You need a Bash environment with access to the scripts directory and a personality-config.json file to determine and execute the character-specific missions.

Can I prototype persona-based behaviors without rewriting routing logic?

Yes, you can prototype persona-based behaviors by updating the personality-config.json file, which dynamically changes the AI workflow output without requiring any code changes to the routing scripts.