OpenParable
Skip to content
← Back to skills

Ue5 Module Router

Agent Building
ue5-module-router

Ue5 Module Router is an Agent Skill for agent building published in the UnrealXu/UnrealEngine5-Skills repository on GitHub: a SKILL.md instruction file an AI agent can load to do this task.

Route UE5.6/UE5.7 questions to the most precise skill using module names, aliases, intent keywords, and layer context. Works for explicit module prompts (RenderCore, AIModule, AssetRegistry) and natural language requests.

View on GitHub ↗
QUICK START

How to use this skill

Bring this guide into your coding agent with a prompt tailored to the tool you use.

  1. Open your project in Codex.
  2. Copy and paste the prompt below.
  3. Review files and risks before approving any action.
Prompt to paste
Inspect the Agent Skill at https://github.com/UnrealXu/UnrealEngine5-Skills/blob/HEAD/skills/ue5-module-router/SKILL.md and all supporting files. Report provenance, permissions, scripts, dependencies, and security risks. Propose an exact installation into .agents/skills/ue5-module-router, but wait for my approval before writing files or running scripts.

Copying this prompt does not install or run the skill. Review third-party files before use.

Quick Start

  • Extract explicit module names from user prompt first.
  • If module is found, route by exact module mapping before keyword heuristics.
  • If module is not found, use aliases and layer context.

Workflow

  • Parse prompt for module candidates (for example RenderCore, AIModule, AssetRegistry).
  • Lookup module in ue5-module-routing-table-final.csv.
  • If multiple hits, prioritize:
    1. exact module name match
    2. Build.cs path similarity
    3. alias overlap with prompt keywords
  • Return routing payload:
    • primary_skill
    • secondary_skill
    • recommended_mcp_tools[]
    • route_confidence
    • route_reason
  • Use secondary_skill when request spans multiple concerns in one module context.

Constraints

  • Prefer deterministic routing; avoid broad guesses if exact module match exists.
  • Keep one primary target skill unless user explicitly asks cross-module analysis.
  • If module maps to ue5-architecture, answer module-boundary/design first.
  • Prefer dedicated MCP tools before execute_script.

Failure Handling

  • If no module is recognized, fallback to closest capability skill and state reason.
  • If confidence is low, provide top 2 candidates and request module confirmation.
  • Use execute_script only when dedicated MCP tools are insufficient and explain why.
  • If mapping is outdated, regenerate from ue5-architecture/scripts/generate_module_index_v2.py.

Escalation

  • Escalate for large cross-cutting refactors across many modules.
  • Escalate when requested module belongs to plugin source outside indexed scope.