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 skills/code-onigiri/mc-modding-skill/1211-mods-exsamplenpx skills add code-onigiri/mc-modding-skill --skill 1211-mods-exsamplegit clone --depth 1 https://github.com/code-onigiri/mc-modding-skillWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/code-onigiri/mc-modding-skill/1211-mods-exsample)<a href="https://agentmods.dev/skills/code-onigiri/mc-modding-skill/1211-mods-exsample"><img src="https://agentmods.dev/badge/skills/code-onigiri/mc-modding-skill/1211-mods-exsample.svg" alt="Measured on agentmods" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00135 | $0.06634 |
| Opus 5 | $0.00068 | $0.03317 |
| Sonnet 5 | $0.00027 | $0.01327 |
| Haiku 4.5 | $0.00014 | $0.00663 |
Grade A, and why
1211-mods-exsample 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 5d 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.
How it starts
The opening of the file, as written. The whole thing — 243 lines — stays where its author put it; the contents beside it link to each section on GitHub.
概要
このSkillは Minecraft 1.21.1 NeoForge における設計パターンを、主要Modの実装から抽出したリファレンスです。 Forge 1.20.1からの移行(LazyOptional→直接Capability、NBT→Data Component、SimpleChannel→Payload System等) に加え、NeoForge 1.21.1特有のAPI(Data Component / Data Attachment / Payload System)を活用した 設計パターンを提供します。
✅ やるべきこと — 設計パターン別
BlockEntity設計
- BEが必要かどうかを最初に判断する — Botania機能花はBlock.tick() + scheduleTickで動作。BEは持続状態/Tick/ネットワーク参加が必要な場合のみ。
- BE登録方式はModの規模に合わせて選ぶ — 小規模: DeferredRegister / 中規模: Registrate / 大規模: 型安全ラッパーかMachineBuilder / マルチローダー: abstract bind。
- 保存データと同期データは分離して考える — 永続化(Data Component)・全量同期(getUpdateTag)・差分同期(Payload System/SyncData/@SyncToClient)の3層構造。
- NeoForgeではData Component + Payload Systemが基本同期方式 — 低頻度: Data Component + getUpdateTag / 高頻度: Payload Systemカスタムパケット / 宣言的: @SyncToClient。
- Capabilityは
@Nullable T直接取得に移行 — 1.20.1のLazyOptional/CapabilityTokenは廃止。BlockCapabilityを使う。
エネルギーシステム
- 独自電力型のData Component化はGregTech / Mekanismを参考にする — FloatingLongやChemicalStackをDataComponentとして定義し、Codec+StreamCodecで永続化+同期。
- 魔法エネルギーのNeoForge適応はBotania(80+ Component) / Ars Nouveauを参考にする — Mana/Sourceの保持と送受信をData Component + AttachmentTypeで再設計。
- 他Modエネルギーとの互換はMekanismのBlockCapability/ItemCapabilityラッパーを参考にする —
@Nullable T直接取得パターンに移行。
GUI/UIフレームワーク
- NeoForge対応WidgetツリーはLDLib ModularUIを参考にする — Widget親子構造 + SyncData自動双方向同期。1.21.1ではData Componentと連携。
- 高パフォーマンスUIはModernUIのスレッド分離+Granite GPUを参考にする — 1.21.1ではPayload Systemでのメッセージパイプ置き換え。
- Containerのデータ同期はData Component + Payload Systemの組み合わせを理解する — ContainerDataに代わるData Component同期パターン。
ネットワーク/同期
- Payload Systemへの移行はCreate CatnipPacketRegistry / Mekanism PayloadRegistrarを参考にする — SimpleChannel →
CustomPacketPayloadrecord +StreamCodec+PayloadRegistrar。 - 大規模ネットワークグラフはAE2 ME Network(27 Component化)を参考にする — MEネットワークのData Component + Payload 移行パターン。
- ブロック状態の自動同期はFarmer's DelightのPayload版調理Componentを参考にする — 調理状態のComponent管理 + Payload同期。
マルチブロック
- NeoForge対応マルチブロックはGregTech / Multiblocked2を参考にする — Trait分離 + Capability直接取得 + Payload移行。
- Mekanismの4層マルチブロック抽象は1.21.1でも維持 — MultiblockManager/Data/Cache/FormationProtocol の構造はそのままCapability直接取得に置き換え。
What ships with it
39 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
- LICENSE 2.1 KB
- references/MIGRATION_GUIDE.md 47 KB
- references/mods/AE2.md 4.5 KB
- references/mods/ARS_NOUVEAU.md 4.0 KB
- references/mods/BOTANIA.md 4.7 KB
- references/mods/CREATE.md 4.4 KB
- references/mods/EMI.md 1.8 KB
- references/mods/FARMERS_DELIGHT.md 2.6 KB
- references/mods/GREGTECH_MODERN.md 4.9 KB
- references/mods/JADE.md 1.5 KB
- references/mods/JEI.md 2.3 KB
- references/mods/KUBEJS_RHINO.md 3.7 KB
- references/mods/LDLIB.md 2.1 KB
- references/mods/MEKANISM.md 5.1 KB
- references/mods/MODERNUI.md 2.4 KB
- references/mods/MULTIBLOCKED2.md 2.1 KB
- references/mods/SUPERB_WARFARE.md 2.0 KB
- references/mods/TOUHOU_LITTLE_MAID.md 3.2 KB
- references/patterns/AI_ENTITY.md 9.2 KB
- references/patterns/BE_IMPLEMENTATION.md 12 KB
- references/patterns/BUILD_ARCHITECTURE.md 10 KB
- references/patterns/COMPOSITION_TRAIT.md 6.0 KB
- references/patterns/CONFIG_SYSTEMS.md 8.3 KB
- references/patterns/GUI_FRAMEWORKS.md 7.4 KB
- references/patterns/INTEGRATION_MODULE.md 15 KB
- references/patterns/MIXIN_STRATEGY.md 7.6 KB
- references/patterns/MULTIBLOCK.md 9.8 KB
- references/patterns/NETWORK_SYNC.md 10 KB
- references/patterns/PARTICLE_SYSTEM.md 14 KB
- references/patterns/PERFORMANCE_CACHE.md 16 KB
- references/patterns/POWER_SYSTEMS.md 11 KB
- references/patterns/RECIPE_DATA.md 6.3 KB
- references/patterns/REGISTRY_MANAGEMENT.md 9.8 KB
- references/patterns/RENDERING.md 8.9 KB
- references/patterns/SANDBOX_SCRIPTING.md 14 KB
- references/patterns/SCRIPTING.md 11 KB
- references/patterns/SHADER_SYSTEM.md 4.7 KB
- references/patterns/SPELL_EFFECT.md 12 KB
- references/patterns/WORLDGEN_ORES.md 12 KB
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.
- 5d ago First seen · 243 lines · 135 tokens per session scan A 3df7111a32a5
1211-mods-exsample is a skill published in the GitHub repository code-onigiri/mc-modding-skill (2 stars, last pushed 2mo ago), licensed MIT. It adds 135 tokens to every session and 6,634 once invoked, about $0.0007 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.
Other skills, from other repositories
minecraft-plugin-dev
Create, modify, and debug server plugins for current Paper 26.x on Java 25 or legacy Bukkit-derived 1.21.x servers on Java 21. Use for JavaPlugin APIs, events, commands, schedulers, configuration, PDC, and Adventure, not client mods or vanilla datapacks.
backend-module-structure
Rules for the SkillHub backend Maven multi-module clean architecture. Ensures agents place new code in the correct module and respect dependency direction.
unity-hybridclr
Automate HybridCLR C# hot-update prebuild.
unity-script
Create, read and analyze C# scripts.
unity-unitask-design
Source-anchored design rules for UniTask 2.5.10.
unity-scriptdesign
Advise on Unity gameplay script quality.