Логотип Rpgmaker Core

Rpgmaker Core

Сообщество
nightquill
rpgmaker-core

Use this skill when working with any RPG Maker MV or MZ project. Triggers: presence of a Game.rpgproject or Game.rmmzproject manifest, data/*.json files named Actors.json/Skills.json/Items.json/Enemies.json/MapInfos.json, or when the user mentions RPG Maker, RPGMaker, MV, MZ, JRPG development, or narrative RPG in a project containing these files. Provides: project structure overview, MV/MZ detection, safety rules (MapInfos.json append-only, ID non-renumbering, dry-run first, backup before write).

Обзор

Издательnightquill
Репозиторийrpgmaker-agent-skills
Название навыкаrpgmaker-core
Звёзды
30
Форки
3
Встроенные файлы
4
ЛицензияMIT
Ссылки
  • Инструкции в формате Markdown

    Файл SKILL.md, который модель загружает по необходимости, поэтому токены расходуются только при подходящем запросе.

  • Работает с любой языковой моделью

    Навыки ИИ — это обычный Markdown, а не код для конкретного поставщика, поэтому они работают с GPT, Claude, Gemini, Grok и локальными моделями.

  • Файлы в комплекте: 4

    Скрипты, шаблоны и справочные материалы, которые модель может читать во время работы. Файлы доступны только для чтения и никогда не выполняются.

  • Открытый исходный код

    Опубликовано на GitHub: nightquill. Перед установкой изучите исходные материалы.

Установка

Установите навык ИИ Rpgmaker Core в TypingMind, чтобы использовать его с любой LLM, или добавьте его в другой агент, который умеет читать SKILL.md.

1

Установка в TypingMind

TypingMind устанавливает навык прямо из его папки на GitHub: читает SKILL.md, собирает файлы ресурсов и сохраняет результат локально.

  1. Откройте приложение и перейдите в раздел «Плагины → Навыки».
  2. Выберите «Установить из GitHub».
  3. Вставьте указанную ниже ссылку на папку навыка и подтвердите установку.
    https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core
  4. Включите навык в каждом чате, где хотите его использовать.
Плагины → Навыки → Новый навык → По ссылке GitHub, затем вставьте ссылку на папку и нажмите «Продолжить».
2

Установка в другом агенте

Любой агент с поддержкой формата Agent Skills может использовать этот навык — скопируйте папку в каталог навыков этого агента.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/nightquill/rpgmaker-agent-skills.git /tmp/rpgmaker-agent-skills
mkdir -p .claude/skills
cp -r /tmp/rpgmaker-agent-skills/skills/rpgmaker-core .claude/skills/rpgmaker-core
После копирования перезапустите Claude Code, чтобы загрузить новый навык.

Использование в TypingMind

Включите навык Rpgmaker Core в любом чате TypingMind, и дальше модель всё сделает сама. Его название и описание хранятся в системном промпте, а при появлении подходящего запроса модель сама загружает полные инструкции. Вам не нужно вызывать навык вручную, и до фактического использования он не расходует токены.

Модель сама загружает навык Rpgmaker Core, как только появляется подходящий для него запрос.

Работает с любой моделью ИИ

Навыки ИИ — это обычные инструкции в Markdown, а не код для конкретного поставщика, поэтому навык Rpgmaker Core не привязан к модели, для которой он был создан. Установите его один раз в TypingMind и используйте с GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama или локальной моделью, которую запускаете самостоятельно, — со своими API-ключами.

  • Загружается только при необходимости

    Системный промпт содержит только название и описание. Инструкции загружаются при первом подходящем запросе, поэтому неиспользуемый навык не расходует токены.

  • Меняйте модели прямо в чате

    Навык состоит из инструкций, а не кода, поэтому смена модели не нарушает его работу: новая модель читает тот же файл SKILL.md.

Инструкции навыка

Это содержимое файла SKILL.md, которое загружает модель. Прочитайте его перед установкой: навык — это инструкции, которым будет следовать ваша модель.

RPG Maker Core Skill

This skill provides the safety foundation for all RPG Maker MV and MZ agent interactions. Load it first whenever you are working with any RPG Maker project. It teaches you how the project is structured, which rules you must never break, and where to find detailed reference docs.

All modifications you suggest are drafts for the developer to review and approve — never authoritative decisions. See the "All AI outputs are drafts" section below.


MV/MZ Detection

Before doing anything, determine the engine version.

Manifest file presentVersion
Game.rmmzprojectMZ
Game.rpgprojectMV
Both presentMZ (prefer MZ per spec)
NeitherError — not an RPG Maker project

Use scripts/lib/project_detect.py:

bash
python -m scripts.lib.project_detect --project-path /path/to/project
# Outputs: MV   or   MZ

State the detected version at the top of every work session comment: # Working on RPG Maker MV project at /path/to/project


Project Structure

YourGame/
├── Game.rpgproject       # MV: project manifest
├── Game.rmmzproject      # MZ: project manifest (replaces Game.rpgproject)
├── data/                 # All JSON database files
│   ├── Actors.json
│   ├── Classes.json
│   ├── Skills.json
│   ├── Items.json
│   ├── Weapons.json
│   ├── Armors.json
│   ├── Enemies.json
│   ├── Troops.json
│   ├── States.json
│   ├── Animations.json
│   ├── Tilesets.json
│   ├── CommonEvents.json
│   ├── System.json
│   ├── MapInfos.json     # Map tree — append-only (see Critical Safety Rules)
│   ├── Map001.json       # Three-digit zero-padded map files
│   ├── Map002.json
│   └── ...
├── js/
│   ├── plugins/          # js/plugins/ — JavaScript plugin files (*.js)
│   └── plugins.js        # Plugin manifest (load order + config)
├── img/
│   ├── faces/            # NPC face portraits
│   ├── characters/       # Character walk sprites
│   ├── sv_actors/        # Side-view battler sprites
│   ├── pictures/         # In-game picture displays
│   └── ...
└── audio/
    ├── bgm/              # Background music
    ├── bgs/              # Background sounds
    ├── me/               # Music effects (fanfares, game over)
    └── se/               # Sound effects

Critical Safety Rules

These rules exist because RPG Maker's JSON files use positional IDs — the array index is the ID. Breaking these rules corrupts references silently, with no error at load time.

Rule 1: MapInfos.json is append-only

data/MapInfos.json is the map tree the RPG Maker editor uses to display and navigate maps. Never delete or reorder entries.

  • Entries are indexed by their position in the array.
  • When a map is deleted in the editor, its slot becomes null — not removed.
  • New maps are always appended at the end.
  • Deleting or reordering breaks the editor's map tree, often silently.

Rule 2: Never renumber IDs

All database arrays (Actors.json, Skills.json, Items.json, Enemies.json, Weapons.json, Armors.json, Classes.json, Troops.json, States.json, Animations.json, Tilesets.json, CommonEvents.json) use positional indexing:

  • Index 0 is always null. This is required by RPG Maker. Do not remove it.
  • Each entry's id field equals its array index.
  • Changing any id or reordering entries breaks every cross-file reference silently.

Safe operations: Only append new entries. Set deleted entries to null (tombstone) rather than removing them. Never shift, sort, or compact the array.

Rule 3: ID references are everywhere

Cross-file references are encoded as integer IDs throughout the project:

Reference typeExample
Dialog text code\N[1] — actor name lookup by ID
Actor's class"classId": 2 in Actors.json
Skill animation"animationId": 5 in Skills.json
Event condition"actorId": 1 in event page condition
Item change commanditem ID 3 in Change Items event command

One wrong ID introduces silent data corruption that only surfaces at runtime.


Safety Principles

Dry-run first

All write scripts default to preview mode. Use --apply to actually write.

bash
# Preview what would change (safe, no file writes):
python scripts/inject_dialog.py --project . --target common-event:1 ...

# Actually write the changes:
python scripts/inject_dialog.py --project . --target common-event:1 ... --apply

Never skip the preview. The dry-run output uses "Draft preview" and "Would modify" language so you and the developer can review before committing.

Backup before write

Every write operation creates a .bak copy of the original file before modifying it. This is enforced by scripts/lib/safe_write.py:

python
# safe_write.py creates filepath + ".bak" via shutil.copy2 before writing

If you detect .bak files after a write, offer to clean them up after the developer confirms the changes are correct.

Validate after write

Run schema validation on any modified JSON file immediately after writing. The schemas in schemas/*.schema.json cover all MV data file types.

bash
python -c "
import json, jsonschema, pathlib
schema = json.loads(pathlib.Path('schemas/actors.schema.json').read_text())
data   = json.loads(pathlib.Path('data/Actors.json').read_text())
jsonschema.validate(data, schema)
print('Valid')
"

Preserve formatting

RPG Maker exports JSON with a specific indentation style. When editing, detect and preserve the existing indentation — do not reformat files unless the developer explicitly requests it. Use load_json_preserving_format() from scripts/lib/safe_write.py to detect indent width automatically.

Re-open project warning

Changes to data/*.json files do not appear in a running RPG Maker editor. Always remind the developer: close and reopen the project in RPG Maker to see changes.


The safe_write.py Library

scripts/lib/safe_write.py is the enforcement mechanism for all safety rules. Every write script in this skill pack uses it. Key functions:

FunctionPurpose
load_json_preserving_format(filepath)Load JSON, detect indentation
validate_positional_array(data, label)Assert index-0 null, IDs match indexes
validate_no_id_changes(original, modified, label)Assert no IDs changed, array not shortened
safe_write(filepath, original, modified, apply, ...)Validate + backup + write (dry-run by default)
add_argparse_write_args(parser)Add standard --apply flag to argparse

Navigation

Detailed reference docs for this skill:

Shared references used by other skills in this pack:


All AI Outputs Are Drafts

All modifications suggested or generated by this skill — and any skill in this pack — are drafts for the developer to review. They are never authoritative decisions about the developer's game.

The developer is the author. The agent is a tool that produces drafts.

  • Never auto-apply changes without explicit --apply confirmation.
  • Never mass-edit database entries without showing before/after for each change.
  • Frame all generated content with language like "Here is a draft — edit as needed before accepting."
  • If you notice a potential issue outside the stated task scope, surface it as an observation, not as an automatic fix.

Встроенные файлы

Модель читает эти файлы по мере необходимости, пока навык загружен. Они доступны только для чтения и никогда не выполняются.

Часто задаваемые вопросы

Что делает навык ИИ Rpgmaker Core?

Use this skill when working with any RPG Maker MV or MZ project. Triggers: presence of a Game.rpgproject or Game.rmmzproject manifest, data/*.json files named Actors.json/Skills.json/Items.json/Enemies.json/MapInfos.json, or when the user mentions RPG Maker, RPGMaker, MV, MZ, JRPG development, or narrative RPG in a project containing these files. Provides: project structure overview, MV/MZ detection, safety rules (MapInfos.json append-only, ID non-renumbering, dry-run first, backup before write).

Зачем использовать Rpgmaker Core в TypingMind?

Потому что вы устанавливаете навык один раз и используете его с любой моделью. Rpgmaker Core — это обычный текст в формате Markdown, а не код для конкретного поставщика, поэтому один и тот же навык работает с GPT-5, Claude, Gemini, Grok или локальной моделью. Вы можете менять модель прямо во время чата, и навык продолжит работать. TypingMind использует ваши собственные ключи API, поэтому вы платите поставщикам напрямую, а не оформляете подписку с оплатой за каждое место. Ваши навыки и чаты остаются в вашем собственном хранилище.

Как установить Rpgmaker Core в TypingMind?

В TypingMind откройте «Плагины → Навыки → Установить из GitHub» и вставьте https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core. TypingMind прочитает файл SKILL.md, включит сопутствующие файлы в пакет и установит навык, который можно включать отдельно для каждого чата.

Какие модели ИИ могут использовать Rpgmaker Core?

Любая модель, которую вы подключите в TypingMind. Навыки ИИ — это обычные инструкции в формате Markdown, а не код для конкретного поставщика, поэтому GPT, Claude, Gemini, Grok и локальные модели могут загружать этот навык, когда запрос ему соответствует.

Со сколькими моделями ИИ можно использовать Rpgmaker Core?

С любым количеством. Если модель поддерживает навыки, вы можете использовать с ней Rpgmaker Core: GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama и другие — всё в TypingMind с вашими собственными ключами API.

Бесплатен ли навык ИИ Rpgmaker Core?

Да. Навык опубликован на GitHub автором nightquill по лицензии MIT. Вы платите только своему поставщику ИИ за использованные токены.

Что такое навыки ИИ?

Навык ИИ — это многоразовый набор инструкций, который объясняет модели ИИ, как выполнять конкретную задачу. Он соответствует открытому формату Agent Skills: файл SKILL.md с названием и описанием, а также любые скрипты, шаблоны или справочные файлы, которые могут понадобиться модели. Модель читает инструкции, только когда ваш запрос соответствует навыку, поэтому установленный навык ничего не стоит, пока не используется.

Чем навыки ИИ отличаются от плагинов и серверов MCP?

Плагин или сервер MCP даёт модели новые инструменты для вызова — код, который где-то выполняется и возвращает результат. Навык ИИ вместо этого даёт модели знания и порядок действий: как подойти к задаче, какие шаги выполнить и каким должен быть хороший результат. Навыки — это обычный текст в формате Markdown, поэтому им не нужны сервер, ключ API или среда выполнения, и они работают с любой моделью.

Все

Создайте свою рабочую ИИ-среду сейчас

Подпишитесь на нашу рассылку, чтобы узнавать о новых функциях и предстоящих розыгрышах 👇