Logo de Rpgmaker Core

Rpgmaker Core

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

Visão geral

Publicado pornightquill
Repositóriorpgmaker-agent-skills
Nome da habilidaderpgmaker-core
Estrelas
30
Forks
3
Arquivos incluídos
4
LicençaMIT
Links
  • Instruções em Markdown

    Um arquivo SKILL.md que o modelo carrega sob demanda, consumindo tokens apenas quando uma solicitação é realmente relevante para a habilidade.

  • Funciona com qualquer LLM

    Habilidades de IA são Markdown simples, não código específico de um provedor, por isso funcionam com GPT, Claude, Gemini, Grok ou um modelo local.

  • 4 arquivos incluídos

    Scripts, modelos de documentos e referências que o modelo pode ler enquanto trabalha. Os arquivos são somente leitura e nunca são executados.

  • Código aberto

    Publicada por nightquill no GitHub. Leia o conteúdo-fonte antes de instalar.

Instalação

Instale a habilidade de IA Rpgmaker Core no TypingMind para usá-la com qualquer LLM ou adicione-a a outro agente que leia SKILL.md.

1

Instalar no TypingMind

O TypingMind instala uma habilidade diretamente da pasta dela no GitHub — lê o arquivo SKILL.md, reúne os arquivos de recursos em um pacote e armazena o resultado localmente.

  1. Abra o app e vá para Plugins → Habilidades.
  2. Escolha "Instalar do GitHub".
  3. Cole a URL da pasta da habilidade exibida abaixo e confirme.
    https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core
  4. Ative a habilidade em cada chat em que quiser disponibilizá-la.
Plugins → Habilidades → Nova habilidade → Via URL GitHub, depois cole a URL da pasta e pressione Continuar.
2

Instalar em outro agente

Qualquer agente que leia o formato Agent Skills pode usar esta habilidade — copie a pasta para o diretório de habilidades desse agente.

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
Reinicie Claude Code após copiar para que a nova habilidade seja reconhecida.

Use no TypingMind

Ative Rpgmaker Core em qualquer chat do TypingMind e o modelo cuida do resto. O nome e a descrição da habilidade ficam no prompt do sistema e, assim que uma solicitação relevante aparece, o modelo carrega as instruções completas automaticamente — sem precisar de acionamento manual e sem consumir tokens até que ela seja realmente usada.

O modelo carrega Rpgmaker Core automaticamente assim que uma solicitação é relevante para essa habilidade.

Funciona com qualquer modelo de IA

Habilidades de IA são instruções em Markdown simples, não código específico de um provedor. Por isso, Rpgmaker Core não fica vinculada ao modelo para o qual foi criada. Instale-a uma vez no TypingMind e use-a com GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama ou um modelo local executado por conta própria — tudo com suas próprias chaves de API.

  • Carregada apenas quando necessário

    O prompt do sistema contém apenas o nome e a descrição. As instruções são buscadas na primeira solicitação relevante, então uma habilidade sem uso não gera custo.

  • Troque de modelo durante a conversa

    Como a habilidade é composta de instruções, não de código, trocar de modelo não afeta seu funcionamento — o próximo modelo lê o mesmo arquivo SKILL.md.

Instruções da habilidade

Este é o conteúdo de SKILL.md que o modelo carrega. Leia antes de instalar — uma habilidade é um conjunto de instruções que seu modelo seguirá.

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.

Arquivos incluídos

O modelo lê esses arquivos sob demanda enquanto a habilidade está carregada. Eles são disponibilizados para leitura e nunca são executados.

Perguntas frequentes

O que a habilidade de IA Rpgmaker Core faz?

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

Por que usar Rpgmaker Core no TypingMind?

Porque basta instalar uma vez para usar com qualquer modelo. Rpgmaker Core é escrito em Markdown simples, e não em código específico de um provedor, então a mesma habilidade funciona com GPT-5, Claude, Gemini, Grok ou um modelo local — e é possível trocar de modelo no meio do chat sem que ela deixe de funcionar. O TypingMind usa suas próprias chaves de API, então o pagamento é feito diretamente aos provedores, em vez de uma assinatura por licença de usuário, e suas habilidades e chats permanecem no seu próprio armazenamento.

Como instalar Rpgmaker Core no TypingMind?

Abra Plugins → Habilidades → Instalar do GitHub no TypingMind e cole https://github.com/nightquill/rpgmaker-agent-skills/tree/main/skills/rpgmaker-core. O TypingMind lê o arquivo SKILL.md, reúne os arquivos da habilidade e a instala para que possa ser ativada em cada chat.

Quais modelos de IA podem usar Rpgmaker Core?

Qualquer modelo conectado no TypingMind. As habilidades de IA são instruções em Markdown simples, e não código específico de um provedor. Assim, GPT, Claude, Gemini, Grok e modelos locais podem carregar esta habilidade quando uma solicitação corresponder a ela.

Quantos modelos de IA posso usar com Rpgmaker Core?

Quantos quiser. Desde que o modelo ofereça suporte a habilidades, é possível usar Rpgmaker Core com ele — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama e outros — tudo no TypingMind com suas próprias chaves de API.

A habilidade de IA Rpgmaker Core é gratuita?

Sim. A habilidade é publicada no GitHub por nightquill sob a licença MIT. O pagamento é feito apenas ao seu provedor de IA pelos tokens usados.

O que são habilidades de IA?

Uma habilidade de IA é um conjunto reutilizável de instruções que ensina um modelo de IA a realizar uma tarefa específica. Ela segue o formato aberto Agent Skills: um arquivo SKILL.md com nome e descrição, além de scripts, modelos de documento ou arquivos de referência de que o modelo possa precisar. O modelo lê as instruções apenas quando sua solicitação corresponde à habilidade, então uma habilidade instalada não gera custos até ser usada.

Qual é a diferença entre habilidades de IA e plugins ou servidores MCP?

Um plugin ou servidor MCP oferece ao modelo novas ferramentas para chamar — código que é executado em algum lugar e retorna um resultado. Já uma habilidade de IA fornece conhecimento e um processo ao modelo: como abordar uma tarefa, quais etapas seguir e como deve ser um bom resultado. As habilidades são escritas em Markdown simples, por isso não precisam de servidor, chave de API nem ambiente de execução, e funcionam com qualquer modelo.

Ver todos

Crie seu próprio espaço de IA agora

Inscreva-se na nossa newsletter para receber novidades sobre recursos e futuros sorteios 👇