se-dev-plugin
Plugin development for Space Engineers version 1. Search plugin code from PluginHub (client) and MagnetarHub (server) for examples and patterns.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Plugin development for Space Engineers version 1. Search plugin code from PluginHub (client) and MagnetarHub (server) for examples and 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.
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
Torch plugin development for Space Engineers version 1. Search TorchAPI/Torch source code, plugin API, managers, commands, and server UI patterns.
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-plugin |
| description | Plugin development for Space Engineers version 1. Search plugin code from PluginHub (client) and MagnetarHub (server) for examples and patterns. |
| license | MIT |
| allowed-tools | Read, Bash(*Prepare.bat*), Bash(*prepare.sh*), Bash(*Clean.bat*), Bash(*clean.sh*), Bash(*dotnet build*), Bash(*dotnet clean*), Bash(*uv run search_plugins.py *), Bash(*uv run index_plugins.py*), Bash(*uv run list_plugins.py*), Bash(*uv run download_plugin_source.py *), Bash(*uv run download_pluginhub.py*), Bash(*uv run download_magnetarhub.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*) |
Plugin development for Space Engineers version 1.
⚠️ CRITICAL: Commands run in UNIX shell. Use bash syntax. On Windows this is BusyBox; on Linux use native shell.
Examples:
test -f file.txt && echo existsls -la | head -10if exist file.txt (echo exists) - Will NOT workActions:
Prepare.bat on Windows, prepare.sh on Linux)search_plugins.pyCheck these patterns in order - first match wins:
| Priority | Pattern | Example | Route |
|---|---|---|---|
| 1 | Empty or bare invocation | se-dev-plugin | Show help |
| 2 | Prepare keywords | se-dev-plugin prepare, se-dev-plugin setup, se-dev-plugin init | prepare |
| 3 | Bash/shell keywords | se-dev-plugin bash, se-dev-plugin grep, se-dev-plugin cat | bash |
| 4 | Search keywords | se-dev-plugin search, se-dev-plugin find class, se-dev-plugin lookup | search |
⚠️ CRITICAL: Before running ANY commands, read CommandExecution.md to avoid common mistakes that cause command failures.
If Prepare.DONE file missing in this folder, you MUST run one-time preparation steps first. See prepare action.
prepare.shRead appropriate documents for further details:
Progressive documentation for Harmony patching (start with basics, then read advanced topics as needed):
__instance, __result, ___fields, __statePlugins target one or both of:
se-dev-plugin-sdk skill for that. Admins configure server plugins remotely via Quasar, the Magnetar control plane.A client-only plugin uses client plugin template. A plugin that also needs server side companion (or is server-only) uses server plugin template, which has ClientPlugin target, ServerPlugin target and Shared project. See ServerPlugin.md.
Client plugins released exclusively on PluginHub. All client plugins must be open source, since they are compiled on player's machine from GitHub source revision identified by its PluginHub registration. Plugins are reviewed for safety and security on submission, but only on best effort basis, without any legal guarantees. Plugins run native code and can do anything. When reviewing a submission (or update) to PluginHub or MagnetarHub, follow Review.md.
Use se-dev-game-code skill to search game's decompiled code. Need this to
understand how game's internals work and how to interface with it and patch it properly.
Preparation builds a separate Graphify graph for downloaded plugin sources under
Data/Sources (or SE_DEV_PLUGIN_PROJECT_ROOT). With the fast Rust clustering backend
(Python 3.12 via uv, provisioned automatically) prepare builds it automatically; this
corpus is small so it is quick either way. Where the fast backend is unavailable it stays
opt-in with SE_DEV_GRAPHIFY=1; SE_DEV_GRAPHIFY=0 disables it. Read on demand — skip
for normal search work: build via GraphifyPrepare.md, query
via GraphifyUsage.md.
Two registries are searched together, both using the same GitHub-plugin XML schema:
<Id> is Owner/Repo.<Id> is a GUID; the GitHub repo is in <RepoId>.Preparation clones both into Data/PluginHub and Data/MagnetarHub. Refresh them with
uv run download_pluginhub.py and uv run download_magnetarhub.py. To point at a local
registry checkout instead of (or in addition to) the cloned ones, set
SE_PLUGIN_REGISTRY_DIR to a registry root (a folder containing Plugins/*.xml).
list_plugins.py, download_plugin_source.py and the indexer all read every configured
registry; list_plugins.py tags each entry with [PluginHub] or [MagnetarHub].
Search source code of plugins from either registry for examples and patterns:
# List available plugins (tagged by registry), or search them
uv run list_plugins.py
uv run list_plugins.py --search "camera"
# Download a plugin's source (use the EXACT name, GUID/Id, or Owner/Repo from the list)
uv run download_plugin_source.py "Tool Switcher"
uv run download_plugin_source.py CometWorks/essentials
# Index downloaded plugins (automatic after download)
uv run index_plugins.py
# Search plugin code
uv run search_plugins.py class declaration Plugin
uv run search_plugins.py method signature Patch
# Count results before viewing (useful for large result sets)
uv run search_plugins.py class usage Plugin --count
# Limit number of results
uv run search_plugins.py class usage IPlugin --limit 20
The registries contain descriptions of all available plugins. Download sources for plugins that may help with your task, then index and search them.
See search action for complete documentation.
Follow detailed instructions in:
Original source of this skill: https://github.com/CometWorks/skills