se-dev-torch
Torch plugin development for Space Engineers version 1. Search TorchAPI/Torch source code, plugin API, managers, commands, and server UI patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Torch plugin development for Space Engineers version 1. Search TorchAPI/Torch source code, plugin API, managers, commands, and server UI patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
Allows reading the decompiled C# code of Space Engineers version 1
Mod development for Space Engineers version 1. Search mod code for examples and patterns.
Plugin development for Space Engineers version 1. Search plugin code from PluginHub (client) and MagnetarHub (server) for examples and patterns.
In-game (programmable block, aka PB) script development for Space Engineers version 1. Search script code for examples and patterns.
Allows reading the decompiled C# code of the Space Engineers Dedicated Server
High level overview of Space Engineers (version 1) related development. Start here to understand the ecosystem (game client, dedicated server, Pulsar, Magnetar, Torch, PluginHub, MagnetarHub, Quasar) and to route to the right se-dev-* skill for in-game scripts, mods, plugins, the Magnetar PluginSdk, and decompiled code/handbook reference.
| name | se-dev-torch |
| description | Torch plugin development for Space Engineers version 1. Search TorchAPI/Torch source code, plugin API, managers, commands, and server UI patterns. |
| license | MIT |
| allowed-tools | Read, Bash(*Prepare.bat*), Bash(*Prepare.sh*), Bash(*Clean.bat*), Bash(*run_prepare.sh*), Bash(*uv run search_torch.py *), Bash(*uv run index_torch.py *), Bash(command -v graphify*), Bash(graphify*), Bash(*busybox* grep *), Bash(*busybox* find *), Bash(*busybox* cat *), Bash(*busybox* head *), Bash(*busybox* tail *), Bash(*busybox* ls*), Bash(*busybox* wc *), Bash(*busybox* sort *), Bash(*busybox* uniq *), Bash(*busybox* tree*) |
Torch plugin development for Space Engineers version 1.
This skill is for Torch framework itself: plugin lifecycle, manifests, commands, managers, patch helpers, and server UI integration. Use se-dev-game-code or se-dev-server-code alongside it when task crosses into Keen internals.
Compatibility: Plugins built with this skill target Torch only — not compatible with Magnetar, which uses different patcher and SDK. For Magnetar server plugins use se-dev-plugin and se-dev-plugin-sdk skills. When starting from se-server-plugin-template, use its last-torch-compatible tag as basis, not current main (which dropped Torch target). See TorchPlugin.md.
CRITICAL: Commands run in a UNIX shell. Use bash syntax. On Windows this is BusyBox; on Linux/macOS use the native shell.
Examples:
test -f Prepare.DONE && echo readyTORCH_ROOT=/path/to/Torch ./Prepare.shif exist Prepare.DONE echo readyActions:
Prepare.bat on Windows, Prepare.sh on Linux/macOS, or run_prepare.sh as wrapper)search_torch.pyCheck these patterns in order:
| Priority | Pattern | Example | Route |
|---|---|---|---|
| 1 | Empty or bare invocation | se-dev-torch | Show this help |
| 2 | Prepare keywords | se-dev-torch prepare, se-dev-torch setup, se-dev-torch init | prepare |
| 3 | Bash/shell keywords | se-dev-torch bash, se-dev-torch grep, se-dev-torch cat | bash |
| 4 | Search keywords | se-dev-torch search, se-dev-torch find class, se-dev-torch lookup | search |
Host system must have following on PATH:
If user already has local Torch checkout, set TORCH_ROOT to that repository root before preparation. Otherwise skill clones https://github.com/TorchAPI/Torch into its persistent data folder.
CRITICAL: Before running ANY commands, read CommandExecution.md.
If Prepare.DONE file missing in this folder, run one-time preparation first. See Prepare.md.
# Find the base plugin class
uv run search_torch.py class declaration TorchPluginBase
# Find the Torch plugin API interfaces
uv run search_torch.py interface declaration ITorchPlugin -n Torch.API.Plugins
# Inspect command definitions
uv run search_torch.py class declaration CommandModule -n Torch.Commands
uv run search_torch.py method signature RegisterPluginCommands
# Inspect manager usage patterns
uv run search_torch.py class declaration DependencyManager -n Torch.Managers
uv run search_torch.py interface declaration ITorchSessionManager -n Torch.API.Session
# Find patching infrastructure
uv run search_torch.py namespace declaration PatchManager
uv run search_torch.py class declaration PatchContext -n Torch.Managers.PatchManager
manifest.xml metadata over [PluginAttribute]; PluginAttribute is obsolete in Torch.torch.Managers.GetManager<T>() or session.Managers.GetManager<T>() over obsolete ITorchBase.GetManager<T>().TorchPluginBase as normal starting point unless task clearly needs lower-level implementation.se-dev-game-code or se-dev-server-code as companion skill.SE_DEV_TORCH_PLUGIN_ROOT). With the fast Rust clustering backend (Python 3.12 via uv,
provisioned automatically) prepare builds it automatically (~1 minute for a Torch
checkout). Where the fast backend is unavailable it stays opt-in with
SE_DEV_GRAPHIFY=1; SE_DEV_GRAPHIFY=0 disables it. Read on demand — build via
GraphifyPrepare.md, query via
GraphifyUsage.md.Original source of this skill: https://github.com/CometWorks/skills