ushell skill
A Claude Code skill for driving ushell — Epic's command-line interface for Unreal Engine, shipped at <branch>/Engine/Extras/ushell/.
When the skill is loaded, Claude reasons backward from your stated goal ("get me an Insights trace at this CL on PS5") to a sequence of ushell commands — checking preconditions, skipping work already done, and stopping cleanly if anything is unreachable. Without it, Claude defaults to raw RunUAT.bat / UnrealBuildTool.exe / p4 invocations and sometimes invents non-existent flags.
Status: v2.0 — installable via Claude Code's plugin manager. 13/13 GREEN scenarios pass on first dispatch.
Compatibility:
| UE version | Status |
|---|
| 5.7 | ✅ Tested against (the 13 GREEN scenarios all ran here) |
| 5.6 | 🟡 Expected to work; file an issue if you hit drift |
| 5.0 – 5.5 | ⚠️ Unverified; older ushell has fewer verbs |
| 5.8+ | ⏳ Will be tested when the engine ships; next minor |
Full policy and drift-handling rules: docs/versioning.md.
Install
Inside any Claude Code session:
/plugin marketplace add ABostrom/ushell-skill
/plugin install ushell@ABostrom-skills
That's it. The skill is now loaded for every Claude Code session on this machine, no symlink, no clone, no PATH.
# Open Claude Code in your UE project
cd E:\Work\MyProject
claude
Then ask Claude to build, cook, run, trace, package, bisect, etc. The skill activates whenever the conversation involves Unreal Engine (specifically when prompts mention .uproject, RunUAT, BuildCookRun, Engine/Extras/ushell, p4, Insights, cooking, staging, packaging, plugin building, channel authoring, etc.).
Upgrading from v1.x? Delete the old symlink (Remove-Item "$env:USERPROFILE\.claude\skills\ushell") and reinstall via the /plugin commands above. Claude Code's plugin manager now owns updates; the v1.4 tag is preserved if you need to fall back.
Full walkthrough: docs/onboarding.md.
What it does
Three concrete examples of the skill in action:
Without the skill
Build the editor.
Claude → Build.bat -projectfiles ... + Build.bat MyProjectEditor Win64 Development -Project=... -WaitMutex -FromMsBuild
With the skill
Build the editor.
Claude → cmd.exe /d /s /c "call <ushell.bat> --project=<uproject> && .build editor --nosummary"
Without the skill
Trace at CL 1234567 on PS5.
Claude → linear p4 sync, Build.bat, RunUAT.bat BuildCookRun -build -cook -stage -package -deploy -run. Always cooks.
With the skill
Trace at CL 1234567 on PS5.
Claude → .p4 sync 1234567 → .build editor → .build game ps5 → .zen snapshot list game ps5 → if hit, .zen snapshot get ... (50× faster than cooking); else .cook game ps5 → .stage game ps5 auto → .run game ps5 --trace=default,gpu → .perf insights latest.
Without the skill
Insights trace at the MainStart PlayerStart.
Claude → /Game/Maps/BossArena?PlayerStartTag=MainStart (which is not a real UE switch).
With the skill
Insights trace at the MainStart PlayerStart.
Claude → /Game/Maps/BossArena#MainStart (the real FURL.Portal segment, cited to URL.cpp).
For the full RED-vs-GREEN gallery: docs/before-and-after.md.
Repo layout