role-x

Route agent prompts to domain-specific lenses using workspace signals.

3|2|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/broomva/skills --skill role-x
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: role-x
Source: https://github.com/broomva/skills/tree/main/skills/orchestration/role-x
Command: npx skills add https://github.com/broomva/skills --skill role-x

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill solves the problem of context fragmentation and persona-theater by providing a reflexive, domain-aware routing layer that loads substantive context based on real-time signals.

Core Features & Use Cases

  • Lens-Routed Articulation: Automatically selects domain-specific lenses (e.g., rust-systems, infra-deploy) based on file paths, prompt keywords, and branch patterns.
  • Intelligent Mode Selection: Dynamically switches between augment (silent context), rewrite (prompt refinement), and decompose (parallel-agent planning) modes.
  • Meta-Progression: Uses telemetry from your actual work sessions to suggest new lenses and tune existing ones, ensuring your agent's expertise grows organically with your project.

Quick Start

Use the role-x intake hook to automatically analyze your current workspace and apply the most relevant domain lenses to your next prompt.

Frequently Asked Questions about role-x

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

FAQPage Schema
How does reflexive agent orchestration handle context fragmentation?

Intelligent mode selection dynamically switches between augment for silent context injection, rewrite for prompt refinement, and decompose for parallel-agent planning. These modes facilitate context-aware task execution tailored to complex software engineering workflows.

How do I automate context routing for domain-specific software engineering tasks?

You automate context routing by using an intake hook that analyzes your current workspace signals and branch patterns. This automatically applies the most relevant domain lenses, such as rust-systems or infra-deploy, to your next prompt for context-aware execution.

Does agent telemetry help tune domain-specific orchestration rules?

Yes, telemetry-driven feedback loops use data from your actual work sessions to scaffold and tune domain-specific rules. This meta-progression mechanism ensures your agent's expertise and domain lenses grow organically with your project's real-world usage patterns.

What is the difference between augment, rewrite, and decompose modes in agent orchestration?

Augment mode provides silent context injection, rewrite mode handles prompt refinement, and decompose mode enables parallel-agent planning. This intelligent mode selection dynamically switches execution strategies to facilitate complex software engineering workflows.

Do I need pyyaml to use lens-routed agent orchestration?

Yes, pyyaml is a required dependency for this reflexive routing layer. You need it installed in your environment to parse the configuration files that define and apply domain-specific lenses based on workspace signals.