Rpgmaker Core logo

Rpgmaker Core

Community
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).

Overview

Publishernightquill
Repositoryrpgmaker-agent-skills
Skill namerpgmaker-core
Stars
30
Forks
3
Bundled files
4
LicenseMIT
Links
  • Markdown instructions

    A SKILL.md file the model loads on demand, so it only costs tokens when a request actually matches.

  • Works with any LLM

    AI skills are plain Markdown, not provider-specific code, so this works with GPT, Claude, Gemini, Grok, or a local model.

  • 4 bundled files

    Scripts, templates, and references the model can read while it works. Files are read-only and never executed.

  • Open source

    Published by nightquill on GitHub. Read the source before you install it.

Installation

Install the Rpgmaker Core AI skill in TypingMind to use it with any LLM, or drop it into another agent that reads SKILL.md.

1

Install in TypingMind

TypingMind installs a skill straight from its GitHub folder — it reads SKILL.md, bundles the resource files, and stores the result locally.

  1. Open the app and go to Plugins → Skills.
  2. Choose "Install from GitHub".
  3. Paste the skill folder URL below and confirm.
    https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core
  4. Enable the skill in any chat where you want it available.
Plugins → Skills → Add skill → From GitHub URL, then paste the folder URL and press Continue.
2

Install in another agent

Any agent that reads the Agent Skills format can use this skill — copy the folder into that agent's skills directory.

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
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rpgmaker Core in any TypingMind chat and the model takes it from there. Its name and description sit in the system prompt, and the moment a request matches, the model loads the full instructions itself — you never invoke it by hand, and it costs no tokens until it is actually used.

The model loads Rpgmaker Core on its own as soon as a request matches it.

Works with any AI model

AI skills are plain Markdown instructions rather than provider-specific code, so Rpgmaker Core is not tied to the model it was written for. Install it once in TypingMind and use it with GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama, or a local model you run yourself — all on your own API keys.

  • Loaded only when it is needed

    The system prompt carries just the name and description. The instructions are fetched on the first matching request, so an idle skill costs nothing.

  • Switch models mid-chat

    Because the skill is instructions rather than code, changing model does not break it — the next model reads the same SKILL.md.

Skill instructions

This is the SKILL.md content the model loads. Read it before installing — a skill is instructions your model will follow.

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.

Bundled files

The model reads these on demand while the skill is loaded. They are exposed as readable files and are never executed.

Frequently asked questions

What does the Rpgmaker Core AI skill do?

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

Why use Rpgmaker Core on TypingMind?

Because you install it once and use it with any model. Rpgmaker Core is plain Markdown rather than provider-specific code, so the same skill runs on GPT-5, Claude, Gemini, Grok, or a local model — and you can switch model mid-chat without it breaking. TypingMind runs on your own API keys, so you pay providers directly instead of a per-seat subscription, and your skills and chats stay in your own storage.

How do I install Rpgmaker Core in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core. TypingMind reads its SKILL.md and bundles its files and installs it as a skill you can enable per chat.

Which AI models can use Rpgmaker Core?

Any model you connect in TypingMind. AI skills are plain Markdown instructions rather than provider-specific code, so GPT, Claude, Gemini, Grok, and local models can all load this skill when a request matches it.

How many AI models can I use with Rpgmaker Core?

As many as you like. As long as a model supports skills, you can use Rpgmaker Core with it — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama and more — all on TypingMind with your own API keys.

Is the Rpgmaker Core AI skill free?

Yes. It is published on GitHub by nightquill under the MIT license. You only pay your own AI provider for the tokens you use.

What are AI skills?

An AI skill is a reusable instruction bundle that teaches an AI model how to do one specific task. It follows the open Agent Skills format: a SKILL.md file with a name and description, plus any scripts, templates or reference files the model may need. The model reads the instructions only when your request matches the skill, so an installed skill costs nothing until it is used.

How are AI skills different from plugins or MCP servers?

A plugin or MCP server gives a model new tools to call — code that runs somewhere and returns a result. An AI skill gives the model knowledge and process instead: how to approach a task, which steps to follow, what good output looks like. Skills are plain Markdown, so they need no server, no API key and no runtime, and they work with any model.

View all

Set up your own AI workspace now

Get notified about new features and future giveaways by subscribing to our newsletter 👇