From cortex-toolkit
Use when the Unreal Editor needs to be started, checked, reconnected, or restarted
How this skill is triggered — by the user, by Claude, or both
Slash command
/cortex-toolkit:cortex-editorThe summary Claude sees in its skill listing — used to decide when to auto-load this skill
Single public workflow for editor lifecycle and MCP connectivity.
Single public workflow for editor lifecycle and MCP connectivity.
cortex-buildUse this when the editor is down and needs to be launched cleanly.
UnrealEditor.exe process and a live Saved/CortexPort-*.txt port file.engine.path from .cortex/config.yaml plus optional .cortex/config.local.yaml. Fall back to UE_PATH only if project config does not provide it.ENGINE_PATH=$(python cortex-toolkit/lib/cortex_config.py --project-dir . --get engine.path)
cortex-setup first..uproject exists and that UnrealCortex is not explicitly disabled. If the .uproject explicitly sets UnrealCortex to "Enabled": false, stop and tell the user to enable it before launching.for f in Saved/CortexPort-*.txt; do
[ -f "$f" ] || continue
PID=$(echo "$f" | sed 's/.*CortexPort-\([0-9]*\).*/\1/')
if [ -n "$PID" ] && MSYS_NO_PATHCONV=1 tasklist /FI "PID eq $PID" /NH 2>/dev/null | grep -q "$PID"; then
continue
fi
rm -f "$f"
done
rm -f Saved/CortexPort.txt 2>/dev/null || true
-AutoDeclinePackageRecovery-ExecCmds="Mainframe.ShowRestoreAssetsPromptOnStartup 0"UPROJECT=$(ls *.uproject 2>/dev/null | head -1)
"$ENGINE_PATH/Engine/Binaries/Win64/UnrealEditor.exe" "$(pwd)/$UPROJECT" -AutoDeclinePackageRecovery -ExecCmds="Mainframe.ShowRestoreAssetsPromptOnStartup 0" &
Saved/CortexPort-*.txt file. At 30 seconds, tell the user the editor may be compiling shaders. At 60 seconds, suggest checking the editor window for modal dialogs.RAW=$(cat Saved/CortexPort-*.txt 2>/dev/null | head -1 | tr -d '[:space:]')
if [[ "$RAW" =~ ^[0-9]+$ ]]; then
PORT="$RAW"
elif [[ "$RAW" =~ \"port\":([0-9]+) ]]; then
PORT="${BASH_REMATCH[1]}"
fi
if [ -n "$PORT" ]; then
(echo > /dev/tcp/127.0.0.1/$PORT) 2>/dev/null && echo "TCP OK"
fi
Use this when the editor may already be running but MCP connectivity or domain registration is suspect.
UnrealEditor.exe is running.Saved/CortexPort-*.txt and identify the active port file.get_status to validate the full chain: assistant client -> MCP server -> TCP -> CortexCore.Editor: ✓ Running (PID 12345)
Port: ✓ 8742
MCP: ✓ Connected
Domains: ✓ data, blueprint, umg, material, level, qa, reflect, statetree
Run this only if get_status fails while the editor still appears to be running.
get_status up to 4 times over about 55 seconds, with increasing waits between attempts.cortex-editor restart path is required and stop rather than retrying indefinitely.Use this when the editor is wedged or must be restarted after code changes.
cortex-build. Do not run build steps inside this skill.editor_restart to perform the graceful shutdown, relaunch, port-file wait, and connection verification.If restart fails, report the error and give the user the relevant manual recovery path.
npx claudepluginhub etelyatn/cortex-toolkit --plugin cortex-toolkitProvides behavioral guidelines to reduce common LLM coding mistakes, focusing on simplicity, surgical changes, assumption surfacing, and verifiable success criteria.
Searches, retrieves, and installs Agent Skills from prompts.chat registry using MCP tools like search_skills and get_skill. Activates for finding skills, browsing catalogs, or extending Claude.
Creates, edits, and optimizes skills for Claude Code, including drafting, evaluating with test prompts, iterating on performance, and improving skill descriptions for better triggering accuracy.