smart-router-skill

Route user requests to themed character workflows via JSON config.

Updated Aug 23, 2026
One-click install
npx skills add https://github.com/metalsp0rk/dotfiles --skill smart-router-skill-metalsp0rk
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: smart-router-skill
Source: https://github.com/metalsp0rk/dotfiles/tree/main/opencode/.config/opencode/prompts/skill/smart-router-skill
Command: npx skills add https://github.com/metalsp0rk/dotfiles --skill smart-router-skill-metalsp0rk

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes scripts (resource) components.

What problem does it solve?

Automates routing of user input to character-driven workflows by reading a simple configuration, reducing manual script selection.

Core Features & Use Cases

  • Character selection and mission routing via a JSON config.
  • Dynamic script invocation for each character's workflow.
  • Simple overrides for mission selection.
  • Real-world example: Choose Yoda's mission 1, Stark's mission 2, or Sherlock's mission 1 to see varied outputs.

Quick Start

Choose a character and run the router from the skill directory after configuring personality-config.json

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 CLI commands to different bash scripts using a JSON config?

Workflow automation through character routing works by parsing user input, reading a JSON config for available missions, and invoking the matching workflow script to execute character-driven outputs.

How do I set up personality-driven workflows for CLI environments?

Set up personality-driven workflows in CLI environments by defining characters and missions in a JSON config, then running the router script to dynamically select and execute the corresponding bash scripts.

Do I need any external dependencies to run character routing bash scripts?

No external dependencies are required to run character routing bash scripts, as the tool operates independently using internal scripts to parse JSON configs and execute the selected workflows.

Can I override mission selection when using CLI workflow automation?

Yes, you can override mission selection during CLI workflow automation by providing simple overrides that bypass the default character routing and execute a specific mission script directly.

What is the best way to automate script selection for multiple themed characters?

The best way to automate script selection for themed characters is using a JSON configuration to map predefined characters like Yoda or Sherlock to their specific mission scripts, reducing manual selection.