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.
npx agentmods add rules/guguzea/mc-ai-coding-assistant-tool/07-script-apigit clone --depth 1 https://github.com/guguzea/MC-AI-Coding-Assistant-ToolWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00475 | $0.00475 |
| Opus 5 | $0.00237 | $0.00237 |
| Sonnet 5 | $0.00095 | $0.00095 |
| Haiku 4.5 | $0.00047 | $0.00047 |
Grade A, and why
07-script-api 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.
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.
What it actually says
07 — Script API 与实验开关
默认 stable @minecraft/server。用户点名 Beta 才允许。
Decision Flow(禁止一刀切)
→ 未点名 Beta → 只生成 stable;不写 Beta 事件
→ 点名 @minecraft/server-beta 或 Beta 事件
→ 允许生成;回复必须写「须在世界设置打开 Beta APIs」
→ pack:dependencies 声明 beta 模块
→ 需要 eval → capabilities 写法**未核实**(Learn pack-manifest 无 `script_eval`)
→ 禁止 experimentalGameplay、禁止虚构 worldgen/experimental.json
→ min_engine_version < 约 1.19.80:对照该引擎归档,不要倒灌现行 capabilities
→ ≥ 1.19.80:世界实验开关**未核实**(勿写死 `level.dat experiments.gametest`);pack 不能替玩家打开
→ UI → 只用 stable @minecraft/server-ui(stable/script-server-ui)
已核实约束
- BP manifest:
modules含type: script、language: javascript、entry(scaffold:scripts/main.js);dependencies含module_name: "@minecraft/server"。 - 版本号读
data/bedrock-docs-status.json的scriptApiStable(不要写死旧 1.x)。docsStatus.stale不是拒绝令。 - 事件概述:
stable/world-after-events、stable/system-after-events。类/模块:stable/script-server、stable/script-api-intro。 - 库 Skill:
knowledge/libs/bedrock-only/mc-script-server、mc-script-ui。禁止把 CCA/Trinkets/GeckoLib 当基岩教程。
滞后:search_bedrock_docs 的 docsStatus.stale 不是拒绝令。
文档
stable/script-api-intro、stable/script-server、stable/world-after-events、stable/system-after-events、stable/script-server-ui、stable/experimental-features-toggle。
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.
- 2d ago First seen · 31 lines · 475 tokens per session scan A 2e1f996745e1
07-script-api is a cursor rule published in the GitHub repository guguzea/MC-AI-Coding-Assistant-Tool (13 stars, last pushed 3d ago), licensed MIT. It adds 475 tokens to every session, about $0.0024 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-30.
Other cursor rules, from other repositories
meta-quest-agentic-tools
Use Meta Quest Agentic Tools for Meta Quest and Horizon OS samples.
webgpu-threejs-tsl
Entry point for Three.js WebGPU + TSL guidance. Covers renderer setup, node materials, and TSL syntax fundamentals. Auto-attaches on JS/TS files in projects using three/webgpu.
serialization-rules
Unity serialization best practices.
unreal-networking
Networking and multiplayer in Unreal Engine.
ai-detective-game
Cursor rule "ai-detective-game" from cnwinds/ai-detective, covering ai侦探推理游戏 - 项目核心规则, 项目概述, 技术栈, 项目架构 and 后端服务 (fastapi).
00-project-overview
Base project rule — purpose, constraints, and defaults for mcp-5etools.