premade-characters
Skill17 starsChanged 5 months agoMITView on GitHub
Schema and rules for creating premade characters
In this repository33 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- abilitiesSkill
- ai-instructionsSkill
- archetypesSkill
- build-skillSkill
- canon-npcsSkill
- chartsSkill
- countSkill
- creator-apiSkill
- factionsSkill
- image-genSkill
- itemsSkill
- japanese-romanizationSkill
- locationsSkill
- mapsSkill
- name-filter-settingsSkill
- narrative-eventsSkill
- npcsSkill
- npc-type-reviewSkill
- npc-typesSkill
- orchestratorSkill
- questsSkill
- realmsSkill
- reflectSkill
- regionsSkill
- review-npcsSkill
- settingsSkill
- skillsSkill
- story-startsSkill
- traitsSkill
- triggersSkill
- world-backgroundSkill
- world-loreSkill
The file
We split this skill into the rules it gives an agent
5 rules. About 0 are common, 0 are distinctive, and 5 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈0
Distinctive · estimate
This author's own choices. Worth a look.
5
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 16
When the world disables character customization (characterCreationSettings.customizationEnabled: false), at least one premade character is …
- Very specific: line 45
Use replacesNpc when a premade character *is* one of the world's existing NPCs — so selecting "Lyra the Ranger" removes the Lyra NPC from …
- Very specific: line 49
If the NPC doesn't exist in the config, replacesNpc is silently ignored.
- Very specific: line 51
Only set replacesNpc for premades that are *canonically the same character* as the NPC.
- Very specific: line 59
Turn-1 lore retrieval: always uses description.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Premade Characters
Edit tabs/premade-characters.json.
Premade characters are ready-to-play character options shown during character creation. They give players a curated on-ramp into the world — attributes, traits, and backstory pre-filled — versus rolling their own from scratch.
Unlike every other tab, premadeCharacters is a JSON array (not a keyed object), because display order matters in character creation.
When the world disables character customization (characterCreationSettings.customizationEnabled: false), at least one premade character is required, and every premade must have a unique name.
Required Fields
| Field | Requirement |
name | Character name — also serves as the identifier |
gender | Character gender (normalized to "male", "female", or "non-binary") |
description | The character's full background. Shown in the selection UI and sent verbatim to the story AI as the character's Background: every turn |
traits | Trait names from tabs/traits.json. Traits are how you shape the character's stats — attribute modifiers, skills, resource maxes, abilities, and starting items all come through traits |
portraitUrl | Image URL for the character portrait. Always provide — avoids the cost and latency of a portrait generation on first play |
Conditional Fields
| Field | When to Include |
replacesNpc | Name of an NPC in tabs/npcs.json — when this premade is selected, that NPC is removed from the world |
worldVoiceId | Key from the world's worldVoices catalog. Include when the world defines a curated voice for this character; it overrides the generic voiceTag pick |
voiceTag | Voice tag for speech synthesis when no worldVoiceId applies (see the NPC voice previews) |
portraitFocusX, portraitFocusY, portraitZoom | Optional crop/focus adjustments for an authored portraitUrl. Focus x/y run 0..100 (defaults x 50, y 0: top-centered), zoom 100..300 (100 = no zoom). Generated portraits ignore these |
generatedBackground, generatedAppearance | AI-written background and portrait-only appearance text, as produced by the character generator. Include only when carrying over a previously generated profile; otherwise author description yourself |
Never Include
backstory— redundant withdescription. Everything goes indescription. See "Why onlydescription" below.attributes— shape the character throughtraitsinstead. Traitattributesmodifiers stack on top of the world's default baseline, so a well-designed trait set gives the same result without hard-coding numbers that can drift from world settings.
replacesNpc Guidance
Use replacesNpc when a premade character is one of the world's existing NPCs — so selecting "Lyra the Ranger" removes the Lyra NPC from the world rather than leaving two copies of her running around.
- The value is the NPC's identifier in
tabs/npcs.json(the object key, which by convention matches the NPC'sname). - The NPC is removed at game start (filtered during initialization) and at mid-game join (removed from live state, party, and scene).
- If the NPC doesn't exist in the config,
replacesNpcis silently ignored.
Only set replacesNpc for premades that are canonically the same character as the NPC. Don't use it to hide thematically similar NPCs.
Why only description
backstory exists in the schema but adds nothing description can't already do:
- Selection UI: shows
descriptionto the player. - Story AI
Background:: usesdescriptionwhenbackstoryis absent. - Turn-1 lore retrieval: always uses
description.
If you set both, backstory overrides description in the Background: slot — but since description is required anyway, the only reason to split is if you want the UI blurb and the AI background text to be literally different strings. Don't. Put everything in description and skip backstory.
description Format
Write in third person. Any length. This is both the selection-UI text AND the character's ongoing Background: in story generation, so it needs to give the story AI enough grounding for how the character speaks, thinks, and fits the world. Lead with a hook (the first sentence or two is what sells the character in the selection list), then expand into history, motivation, and voice.
Schema
interface PremadeCharacter {
name: string
gender: string
description: string
attributes?: Record<string, number>
traits?: string[]
backstory?: string
portraitUrl?: string
portraitFocusX?: number
portraitFocusY?: number
portraitZoom?: number
generatedBackground?: string
generatedAppearance?: string
voiceTag?: string
worldVoiceId?: string
replacesNpc?: string
}Reference
For detailed documentation, see premade-characters-reference.md.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

