Rpgmaker Consistency logo

Rpgmaker Consistency

Community
nightquill
rpgmaker-consistency

Use this skill when validating cross-file references, checking for orphaned database entries, or detecting switch collisions in an RPG Maker MV or MZ project. Triggers: running project-wide validation, checking if item/actor/skill references resolve, finding switch ID conflicts across maps, or when the user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context. Provides: cross-file reference rules, orphaned reference detection, switch collision detection, and a master validate_project.py runner.

Overview

Publishernightquill
Repositoryrpgmaker-agent-skills
Skill namerpgmaker-consistency
Stars
30
Forks
3
Bundled files
2
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.

  • 2 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 Consistency 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-consistency
  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-consistency .claude/skills/rpgmaker-consistency
Restart Claude Code after copying so it picks up the new skill.

Use it in TypingMind

Enable Rpgmaker Consistency 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 Consistency 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 Consistency 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 MV/MZ Consistency Skill

This skill covers cross-file reference validation and consistency checking in RPG Maker MV and MZ projects. It teaches agents how database IDs are referenced across JSON data files, which reference types are checked, and how to detect orphaned references and switch collisions that would cause silent bugs or runtime crashes.

All consistency checks generated by this skill are drafts for developer review -- never authoritative final content.


When to Use This Skill

Load this skill when:

  • Validating a project's overall data integrity before shipping
  • Checking whether item, actor, skill, weapon, armor, enemy, or troop IDs referenced in events or database entries actually exist in the target file
  • Finding orphaned items, skills, or database entries that no longer have referencing events
  • Detecting switch IDs that are SET in multiple maps (possible copy-paste collision bugs)
  • Running validation after any bulk edit operation that touched IDs or restructured database files
  • The user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context

Critical Safety Rules

These rules prevent misuse of the validation scripts and ensure findings are interpreted correctly.

  1. Never auto-fix orphaned references. Removing or reassigning a reference may break a quest chain, conditional branch, or plugin behavior the validator cannot see. Flag the orphan and let the developer decide.

  2. Switch collisions are warnings, not errors. The developer may intentionally reuse a global switch across maps (e.g., a day/night toggle set by both an outdoor map and an overworld map). Always confirm intent before treating a collision as a bug.

  3. validate_project.py is read-only. It never modifies project files. No backup is needed before running it, but it is good practice anyway.

  4. Always re-validate after any bulk edit operation. Adding enemies, moving shop items, or renumbering actors can introduce new orphaned references that were not present in the last validation pass.


Cross-File Reference Rules

Every database ID stored in a JSON field is a cross-file reference. If the target entry does not exist at that array index, RPG Maker silently uses fallback values or crashes.

Reference TypeSource LocationTarget FileCheck Method
Item pickup (code 126)Event params[0]Items.jsonID in range and not null
Weapon change (code 127)Event params[0]Weapons.jsonID in range and not null
Armor change (code 128)Event params[0]Armors.jsonID in range and not null
Party member (code 129)Event params[0]Actors.jsonID in range and not null
Shop goods (code 302)goods[n][1]Items/Weapons/Armors.jsonID in range by type
Battle processing (code 301)Event params[0]Troops.jsonID in range and not null
Control switches (code 121)Event params[0]-params[1]System.json switchesID within array length
Control variables (code 122)Event params[0]-params[1]System.json variablesID within array length
Actor name text code\N[id] in dialogActors.jsonID in range and not null
Icon text code\I[id] in dialogItems.jsonID in range and not null
Enemy skill (database)Enemies.json actions[n].skillIdSkills.jsonID in range and not null
Troop member (database)Troops.json members[n].enemyIdEnemies.jsonID in range and not null
Class skill learn (database)Classes.json learnings[n].skillIdSkills.jsonID in range and not null
Actor class (database)Actors.json classIdClasses.jsonID in range and not null

For the complete reference map with field paths and parameter layouts, see references/cross-file-refs.md.


Validation Severity Levels

SeverityMeaningExit CodeExamples
ERROROrphaned reference that would cause a runtime crash or silent data lossexit 1Event references item ID 99 but Items.json only has IDs 1-3; enemy action references skill ID 50 which does not exist
WARNINGPotential issue that may be intentional; developer should reviewexit 0Switch ID 5 (unnamed) is SET in both Map001 and Map003 -- possible copy-paste collision

For full severity rules by checker, see references/validation-rules.md.


Helper Scripts

These scripts live in scripts/. Run from the repository root with PYTHONPATH=..

ScriptUsagePurpose
validate_project.py--project <path>Run all consistency checks; exit 0 = clean, exit 1 = errors
check_orphaned_refs.py--project <path>Check cross-file references; exit 0 = clean, exit 1 = errors
check_switch_collisions.py--project <path>Check for switch collision candidates; always exits 0 (warnings only)

All scripts are read-only -- they never modify project files.


Quick Usage

bash
# Run all consistency checks (recommended before shipping)
PYTHONPATH=. python scripts/validate_project.py --project path/to/project

# Check cross-file references only
PYTHONPATH=. python scripts/check_orphaned_refs.py --project path/to/project

# Check for switch collision candidates only
PYTHONPATH=. python scripts/check_switch_collisions.py --project path/to/project

Exit codes follow linting convention: 0 = no errors, 1 = one or more ERRORs. Warnings never cause a non-zero exit.


Navigation

DocumentContents
references/cross-file-refs.mdComplete cross-file reference map: every field that stores a database ID, which file it points to, and the field path
references/validation-rules.mdERROR vs WARNING severity rules for each checker, global-switch heuristic, and umbrella runner behavior
../rpgmaker-core/SKILL.mdProject structure, safety rules, MV/MZ detection
../rpgmaker-events/SKILL.mdEvent command codes, switch/variable usage, event patterns

All validation outputs from this skill are drafts for developer review. The developer makes the final decisions about whether flagged issues need fixing.

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 Consistency AI skill do?

Use this skill when validating cross-file references, checking for orphaned database entries, or detecting switch collisions in an RPG Maker MV or MZ project. Triggers: running project-wide validation, checking if item/actor/skill references resolve, finding switch ID conflicts across maps, or when the user mentions consistency, validation, orphaned references, broken references, switch collisions, or cross-file checks in an RPG Maker context. Provides: cross-file reference rules, orphaned reference detection, switch collision detection, and a master validate_project.py runner.

Why use Rpgmaker Consistency on TypingMind?

Because you install it once and use it with any model. Rpgmaker Consistency 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 Consistency in TypingMind?

Open Plugins → Skills → Install from GitHub in TypingMind and paste https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-consistency. 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 Consistency?

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 Consistency?

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

Is the Rpgmaker Consistency 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 👇