1201-mods-exsample

1201-mods-exsample is a skill for Claude Code, Codex from code-onigiri/mc-modding-skill. It costs 130 tokens per session (6,832 once invoked), scanned A, original, MIT.

A reference for practical design patterns in Minecraft 1.20.1 Forge mod development. It draws examples from major mods and covers areas such as block entities, energy, interfaces, networking, recipes, rendering, spells, artificial intelligence, and scripting.

In plain words
What is it for?
Use it when designing or reviewing Forge 1.20.1 systems such as block entities, custom energy or chemical storage, capabilities, network synchronization, multiblocks, recipes, GUIs, rendering, or scripted behavior.
Why use it?
It helps developers make architecture choices that match patterns used in substantial Forge mods rather than relying only on basic tutorials. It also addresses performance, APIs, data-driven design, persistence, and synchronization.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it when designing or reviewing Forge 1.20.1 systems such as block entities, custom energy or chemical storage, capabilities, network synchronization, multiblocks, recipes, GUIs, rendering, or scripted behavior.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/code-onigiri/mc-modding-skill/1201-mods-exsample
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.

Any agent
npx skills add code-onigiri/mc-modding-skill --skill 1201-mods-exsample
Clone the repo
git clone --depth 1 https://github.com/code-onigiri/mc-modding-skill

Made for: Claude Code, Codex.

Wrote 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.

agentmods badge for 1201-mods-exsample

README.md
[![agentmods](https://agentmods.dev/badge/skills/code-onigiri/mc-modding-skill/1201-mods-exsample/github.svg)](https://agentmods.dev/skills/code-onigiri/mc-modding-skill/1201-mods-exsample)
Your own site
<a href="https://agentmods.dev/skills/code-onigiri/mc-modding-skill/1201-mods-exsample"><img src="https://agentmods.dev/badge/skills/code-onigiri/mc-modding-skill/1201-mods-exsample/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for 1201-mods-exsample

Your own site · 80×15
<a href="https://agentmods.dev/skills/code-onigiri/mc-modding-skill/1201-mods-exsample"><img src="https://agentmods.dev/badge/skills/code-onigiri/mc-modding-skill/1201-mods-exsample.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 130 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,832 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
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.1 $0.00130 $0.06832
Opus 5.5 $0.00052 $0.02733
Sonnet 5.5 $0.00026 $0.01366
Haiku 4.5 $0.00013 $0.00683

Measured 1mo ago against content hash 4ac4d4e53d49, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

1201-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 1mo 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.

.agent/skills/1201-mods-exsample/SKILL.md · 235 lines

How it starts

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

概要

このSkillは Minecraft 1.20.1 Forge における設計パターンを、主要Modの実装から抽出したリファレンスです。 チュートリアルに載らない「実際の大規模Modがどう実装しているか」を設計カテゴリ別に整理し、 アーキテクチャ設計・パフォーマンス最適化・API設計・データ駆動設計などの実践的ノウハウを提供します。

✅ やるべきこと — 設計パターン別

BlockEntity設計

  1. BEが必要かどうかを最初に判断する — Botania機能花はBlock.tick() + scheduleTickで動作。BEは持続状態/Tick/ネットワーク参加が必要な場合のみ。
  2. BE登録方式はModの規模に合わせて選ぶ — 小規模: DeferredRegister / 中規模: Registrate / 大規模: 型安全ラッパー(Mek)かMachineBuilder(GT) / マルチローダー: abstract bind(Botania)。
  3. 保存データと同期データは分離して考える — 永続化(saveAdditional/load)・全量同期(getUpdateTag)・差分同期(カスタムパケット/SyncData/@SyncToClient)の3層構造を意識する。
  4. 同期頻度に応じて方式を選ぶ — 低頻度(数秒単位): 全量NBT / 中頻度(毎Tick数回): ContainerData / 高頻度(毎Tick): カスタム差分パケット / 宣言的: @SyncToClient/SyncData。
  5. Capability提供はResolver/Proxy/Holderの3層分離を検討する — Mekanismの設計が参考になる。BlockLookaside(Botania)という選択肢もある。

エネルギーシステム

  1. 独自電力型の定義はGregTech EUを参考にする — 実数型FloatingLong + Capabilityプロバイダ分離。long/doubleでは不足する精密演算への対処。
  2. 魔法エネルギーはBotania Mana / Ars Nouveau Source / Goety Soulを比較検討する — ネットワーク型(Mana) vs ブロック局所型(Source) vs マルチCapability型(Soul)の使い分け。
  3. 複数流体/ガス型はMekanism Chemicalを参考にする — ChemicalType + ChemicalStack + Capabilityの3層設計。IGasHandler / IInfusionHandler / IPigmentHandler の派生体系。
  4. 他Modエネルギーとの互換はMekanism IEnergyCompatを参考にする — FE互換ラッパーと動的変換レート。

GUI/UIフレームワーク

  1. ウィジェットツリーはLDLib ModularUIを参考にする — Widget親子構造 + SyncData自動双方向同期 + レイアウト自動計算。
  2. 高パフォーマンスUIはModernUIのスレッド分離を参考にする — 専用UIスレッド + ハンドラーメッセージパイプ + Granite GPUレンダリング。
  3. Containerのデータ同期はContainerData + カスタムパケットの組み合わせを理解する — 16bit制約とエネルギー量の2スロット分割。

ネットワーク/同期

  1. 大規模ネットワークグラフはAE2 ME Networkを参考にする — GridNode + GridTick のO(ネットワーク数)ティック vs O(ノード数)ティックの設計判断。
  2. 動的ネットワークはMekanism DynamicNetwork (CRTP)を参考にする — TransmitterNetworkRegistry + Network-Level Tickingによるパフォーマンス最適化。
  3. ブロック状態の自動同期はFarmer's DelightのSyncedBlockEntityを参考にする — 自動同期BE + ContainerDataパターン。

マルチブロック

  1. 複雑マルチブロックはGregTech MetaMachine/Patternを参考にする — Trait分離 + BlockPattern 3Dマッチング + ベンチレベルの機械階層。
  2. 簡易マルチブロックはMultiblocked2のJSON定義を参考にする — 宣言的JSON定義 + Traitシステム + 他Mod連携。
  3. 巨大コンテナ構造はMekanismの階層型マルチブロックを参考にする — 4層抽象(MultiblockManager→Data→Cache→FormationProtocol)の設計。

Read the full file on GitHub · 235 lines

Files

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.

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. 1mo ago First seen · 235 lines · 130 tokens per session scan A 4ac4d4e53d49

Subscribe to this mod's changes

1201-mods-exsample is a skill published in the GitHub repository code-onigiri/mc-modding-skill (2 stars, last pushed 4mo ago), licensed MIT. It adds 130 tokens to every session and 6,832 once invoked, about $0.0005 per session on Opus 5.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.

Related

Other skills, from other repositories

setup-fabric

Step 1 of 4 of the Minecraft Java MCP setup. Install Minecraft Java Edition with the Fabric loader — either a single-player client or a headless dedicated server — as the foundation the MCP mod runs inside. Use when the user wants to set up Minecraft Java for AI/MCP control from scratch, or asks how to get Fabric…

chapmanjw/minecraft-java-fabric-claude-plugin · 80 tokens

setup-mod

Step 2 of 4 of the Minecraft Java MCP setup. Download the minecraft-java MCP mod jar and its matching Fabric API jar and install both into the Minecraft mods folder. Use when the user has Minecraft Java with the Fabric loader ready and needs the MCP mod and Fabric API installed.

chapmanjw/minecraft-java-fabric-claude-plugin · 60 tokens

survey-research

Researches real-world buildings, cities, landmarks, vehicles, and mechanisms so they can be represented faithfully as Minecraft structures. Use when a build request references a real or historical thing and the exec-plan or exec-blueprint skill needs accurate proportions, layouts, materials, or details. Part of the…

chapmanjw/minecraft-java-fabric-claude-plugin · 66 tokens

setup-server

Step 3 of 4 of the Minecraft Java MCP setup. Configure the MCP mod's config.json (host, port, auth, tool categories), launch Minecraft or the dedicated server, verify the embedded MCP server is listening on /healthz, and capture the bearer token for remote setups. Use when the user has the MCP mod and Fabric API…

chapmanjw/minecraft-java-fabric-claude-plugin · 82 tokens

setup-connect

Step 4 of 4 of the Minecraft Java MCP setup. Register the running minecraft-java MCP server (the Fabric mod) with Claude (Claude Code or Claude Desktop) so the Java world tools become available, then verify the connection with a live test call. Use when the user has the MCP server running and needs to connect Claude…

chapmanjw/minecraft-java-fabric-claude-plugin · 74 tokens

minecraft-modpack-server

Host modded Minecraft servers (CurseForge, Modrinth).

NousResearch/hermes-agent · 19 tokens