items
Skill17 starsChanged 5 months agoMITView on GitHub
Schema and rules for creating items
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
- japanese-romanizationSkill
- locationsSkill
- mapsSkill
- name-filter-settingsSkill
- narrative-eventsSkill
- npcsSkill
- npc-type-reviewSkill
- npc-typesSkill
- orchestratorSkill
- premade-charactersSkill
- 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
2 rules. About 0 are common, 0 are distinctive, and 2 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.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 43
Must match itemSettings.currencyName for stacking
- Very specific: line 48
Add "Readable" to itemSettings.itemCategories in tabs/settings.json.
≈ “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
Items
Edit tabs/items.json.
Required Fields
| Field | Requirement |
name | Must match object key exactly |
category | Must be in itemSettings.itemCategories (armor, consumable, etc.) |
description | Brief flavor text describing the item's appearance and nature |
bonuses | Array of bonuses - use [] if item is not equipable |
Conditional Fields
| Field | When to Include |
slot | Required for equippable items |
mediaContent | Required for readable items - the text content to display |
imageUrl | Optional URL for the item's image |
imageFocusX, imageFocusY, imageZoom | Optional crop/focus adjustments for the item's image |
Never Include
Omit these fields (calculated at runtime):
uuid,quantity,equippedSlot
Item Types
Consumables
category: "Consumable", no slot- Always
bonuses: []
Currency
category: "Currency", no slot- Must match
itemSettings.currencyNamefor stacking - Always
bonuses: []
Readable
category: "Readable", no slot- Add
"Readable"toitemSettings.itemCategoriesintabs/settings.json; like every category, it must be listed there - Include
mediaContentwith the text to display - Always
bonuses: []
bonuses Format
Array of stat modifications applied when item is equipped.
{ type: "stat", variable: "damage", value: 5 } // +50% damage
{ type: "stat", variable: "armor", value: 100 } // 10% incoming damage reduction
{ type: "attribute", variable: "strength", value: 2 } // +2 to attribute
{ type: "skill", variable: "stealth", value: 1 } // +1 to skill
{ type: "resource", variable: "health", value: 10 } // +10 max healthFormat: { type: "stat" | "attribute" | "skill" | "resource", variable: string, value: number }
For type: "stat", only damage and armor are valid variable values. Armor reduces incoming damage by value / 1000 (capped at 90%).
Schema
interface ItemDefinition {
name: string
category: string
description: string
bonuses: ItemBonus[]
slot?: string
mediaContent?: string
imageUrl?: string
imageFocusX?: number
imageFocusY?: number
imageZoom?: number
}
interface ItemBonus {
type: 'resource' | 'stat' | 'attribute' | 'skill'
variable: string
value: number
}Reference
For detailed documentation, see items-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.

