Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问clear审计提醒

se-dev-scriptSE 开发脚本

Agent Skill

se-dev-script 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

906

周安装

37

GitHub Stars

5

下载量

293
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

3

许可证

MIT

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:se-dev-script(SE 开发脚本)
来源仓库:https://github.com/viktor-ferenczi/se-dev-skills
仓库路径:skills/se-dev-script
安装命令:
npx skills add https://github.com/viktor-ferenczi/se-dev-skills --skill se-dev-script
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。不同来源提供的安装方式可能略有差异;本站展示可直接复制的安装命令,安装前请核对来源页面。

skills.shnpx skills
npx skills add https://github.com/viktor-ferenczi/se-dev-skills --skill se-dev-script

简介

se-dev-script 用于查找、检索和筛选相关信息。

  • 适合在 Codex、Claude、Cursor、Gemini CLI 中根据关键词、任务场景或来源线索快速定位候选结果。
  • 通过 npx skills add 命令从指定仓库安装并使用。
  • 使用前需确认权限范围、维护状态,以及是否涉及联网、命令执行或文件读写操作。
  • 适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。

SKILL.md

SE Dev Script Skill

In-game (programmable block, aka PB) script development for Space Engineers version 1.

⚠️ CRITICAL: Commands run in a UNIX shell (busybox), NOT Windows CMD. Use bash syntax!

Examples:

  • test -f file.txt && echo exists
  • ls -la | head -10
  • if exist file.txt (echo exists) - This will NOT work

Actions:

  • prepare: Run the one-time preparation (Prepare.bat)
  • 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:

PriorityPatternExampleRoute
1Empty or bare invocationse-dev-scriptShow this help
2Prepare keywordsse-dev-script prepare, se-dev-script setup, se-dev-script initprepare
3Bash/shell keywordsse-dev-script bash, se-dev-script grep, se-dev-script catbash
4Search keywordsse-dev-script search, se-dev-script find class, se-dev-script lookupsearch

Getting Started

⚠️ CRITICAL: Before running ANY commands, read CommandExecution.md to avoid common mistakes that cause command failures.

If the Prepare.DONE file is missing in this folder, you MUST run the one-time preparation steps first. See the prepare action.

Essential Documentation

Script Development

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

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

The script's source code size is limited to 100,000 bytes when the player loads it. The ScriptDev plugin can load more from local file into offline (local) games for testing purposes, therefore scripts can be tested without source code compression, which is useful to get fully detailed exception tracebacks.

Use the se-dev-game-code skill to search the game's decompiled code. You may need this to understand how the game's internals work and how to script it properly. Stick to game code searches corresponding to names on the PB API whitelist for efficiency.

Folder Structure

  • Data/ — junction to %USERPROFILE%\.se-dev\script. Persistent skill data lives here:

- Data/scripts.json — quick inventory of all installed PB scripts. - Data/script_hashes.json — per-script aggregate sha1 used by the indexer for change detection. - Data/CodeIndex/ — full Tree-sitter C# index (one CSV per category, plus hierarchy trees).

  • LocalScripts/ — junction to %AppData%\SpaceEngineers\IngameScripts\local, the game's local-PB-script folder.
  • Steam Workshop content is read in-place from the Steam folder; it is not copied or symlinked into the skill. PB scripts are detected by the presence of a top-level Script.cs file inside each numeric workshop folder. The workshop folder is resolved from SE_GAME_ROOT (env var) or the Steam registry entry for app id 244850.

References

Script Code Search

Search the source code of Steam and local PB scripts for examples and patterns:

# Search for patterns
uv run search_scripts.py class declaration Program
uv run search_scripts.py method usage Main
uv run search_scripts.py class children MyGridProgram

# Count results before viewing (useful for large result sets)
uv run search_scripts.py class usage Program --count

# Limit number of results
uv run search_scripts.py class usage GridTerminalSystem --limit 30

Before searching, ensure the index exists. If Data/CodeIndex/ is missing, run:

uv run list_scripts.py     # quick inventory (always cheap)
uv run index_scripts.py    # full code index (incremental: only changed scripts reparsed)

Re-indexing after new subscriptions: When you subscribe to new scripts on Steam Workshop, load them in a world once (so the game downloads them), then re-run the two commands above (or just Prepare.bat). The indexer hashes each script's.cs files and only reparses scripts whose hash changed since the previous run, so reruns are fast.

See search action for complete documentation.

Action References

Follow the detailed instructions in:

Remarks

The original source of this skill: https://github.com/viktor-ferenczi/se-dev-skills

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

04

需要参考平台分布和安装热度时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

补充不同宿主或平台的使用分布数据

能力 5

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

OpenCode

28.76%
按下载量换算84

Claude Code

22.33%
按下载量换算65

cline

16.45%
按下载量换算48

kilo

10.91%
按下载量换算32

windsurf

6.32%
按下载量换算19

Codex

3.34%
按下载量换算10

安全审计

Gen Agent Trust Hub

可疑

Socket

可疑

Snyk

可疑

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/viktor-ferenczi/se-dev-skills --skill se-dev-script;npx skills add viktor-ferenczi/se-dev-skills --skill "se-dev-script" 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。来源安全扫描存在 warning/failed 结果,不能写成本站确认安全。

来源信息

继续浏览同类 Skills