Ue5 Module Router
Agent Buildingue5-module-routerUe5 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.
QUICK START
How to use this skill
Bring this guide into your coding agent with a prompt tailored to the tool you use.
- Open your project in Codex.
- Copy and paste the prompt below.
- 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:
- exact module name match
- Build.cs path similarity
- alias overlap with prompt keywords
- Return routing payload:
primary_skillsecondary_skillrecommended_mcp_tools[]route_confidenceroute_reason
- Use
secondary_skillwhen 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_scriptonly 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.