se-dev-script

A development guide for scripts that run inside Space Engineers programmable blocks. Space Engineers is a game where programmable blocks can run player-written C# scripts.

In plain words
What is it for?
Preparing the scripting environment, running Unix-style commands, and finding examples or classes in Space Engineers version 1 scripts.
Why use it?
It provides a defined way to prepare the project, run shell commands, and search existing script code while accounting for the game's scripting limits.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/cometworks/skills/se-dev-script
Any agent
npx skills add CometWorks/skills --skill se-dev-script
Clone the repo
git clone --depth 1 https://github.com/CometWorks/skills

Made for: Claude Code, Codex.

Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,740 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00031 $0.01740
Opus 5 $0.00015 $0.00870
Sonnet 5 $0.00006 $0.00348
Haiku 4.5 $0.00003 $0.00174

Measured 2d ago against content hash 088c906c6a8d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

se-dev-script scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

The scan reads SKILL.md. This mod also ships 12 executable files (Clean.bat, clean.sh, common-posix.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/se-dev-script/SKILL.md · 138 lines

How it starts

The opening of the file, as written. The whole thing — 138 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SE Dev Script Skill

In-game (programmable block, aka PB) script 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 exists
  • ls -la | head -10
  • if exist file.txt (echo exists) - Will NOT work

Actions:

  • prepare: Run one-time preparation (Prepare.bat on Windows, prepare.sh on Linux)
  • bash: Run UNIX shell commands via busybox
  • search: Search script code using search_scripts.py

Routing Decision

Check these patterns in order - first match wins:

Priority Pattern Example Route
1 Empty or bare invocation se-dev-script Show this help
2 Prepare keywords se-dev-script prepare, se-dev-script setup, se-dev-script init prepare
3 Bash/shell keywords se-dev-script bash, se-dev-script grep, se-dev-script cat bash
4 Search keywords se-dev-script search, se-dev-script find class, se-dev-script lookup search

Getting Started

⚠️ 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 the prepare action.

Essential Documentation

  • CommandExecution.md - ⚠️ READ THIS FIRST - Windows command execution details; on Linux keep bash syntax and use prepare.sh

Script Development

Use only names matching the PB API whitelist: PBApiWhitelist.txt Whitelist was exported from game version 1.208.015 using MDK2's Mdk.Extractor.

In-game (PB) scripts released on Steam Workshop or Mod.IO, mostly on former. In-game scripts compiled by game on loading into PB or world loading (if PB has script loaded) with PB Script API whitelist enforced, which guarantees safety and security. Scripts cannot crash game, since any exception caught and script killed by game. Scripts can still lag game if no specific resource usage enforcement set up by player or server admin.

Read the full file on GitHub · 138 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 138 lines · 31 tokens per session scan A 088c906c6a8d

Subscribe to this mod's changes

se-dev-script is a skill published in the GitHub repository CometWorks/skills (10 stars, last pushed 11d ago), licensed MIT. It adds 31 tokens to every session and 1,740 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.