abilities
Skill17 starsChanged 5 months agoMITView on GitHub
Schema and rules for creating abilities
In this repository33 other files it gives its agents.
- .claude/CLAUDE.mdCLAUDE.md
- 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
- 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, 1 is distinctive, and 1 is very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
1
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 52
Default to 0 - abilities should be freely usable.
- Distinctive: line 65
No scaling duplicates: Never create a weaker version of a later ability (e.g., "minor ward" at Lv 3 and "greater ward" at Lv 8).
≈ “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
Abilities
Edit tabs/abilities.json.
Required Fields
| Field | Requirement |
name | Must match object key exactly |
description | 2-3 sentences covering what the ability does and adding character flavor |
requirements | At least one requirement to unlock the ability |
bonus | Equal to the skill level required to unlock it |
cooldown | Always 0 unless ability would be game-breaking without a limit |
Conditional Fields
| Field | When to Include |
Multiple requirements | When ability needs multiple prerequisites (skill + level, attribute + trait) |
Non-zero cooldown | Only for abilities that would break the game if spammed |
Never Include
Omit these fields (auto-set at runtime):
lastUsedTick
requirements Format
Array of prerequisite checks. All must be met to unlock the ability.
{ type: 'skill', variable: 'skill name', amount: 3 } // Skill level >= 3
{ type: 'attribute', variable: 'strength', amount: 14 } // Attribute value >= 14
{ type: 'characterLevel', amount: 5 } // Character level >= 5 (no variable)
{ type: 'resource', variable: 'mana', amount: 50 } // Resource max >= 50
{ type: 'trait', variable: 'fire affinity', amount: 1 } // Has trait (amount ignored)bonus Guidelines
Set bonus equal to the skill level requirement. If the ability requires skill level 5, set bonus: 5.
cooldown Guidelines
Default to 0 - abilities should be freely usable. Only add cooldown for abilities that would trivialize gameplay if spammed repeatedly.
Rare exceptions that might warrant cooldown:
- Instant full health restore
- Guaranteed escape/teleport
- Auto-win combat effects
Most abilities should have cooldown: 0.
Ability Design Rules
Each ability must be a unique tool — a distinct capability that no other ability replicates.
- No scaling duplicates. Never create a weaker version of a later ability (e.g., "minor ward" at Lv 3 and "greater ward" at Lv 8). Each ability must do something no other ability in the tree does.
- Permanent utility. A Lv 0 ability must remain useful at max level. If a higher-level ability makes a lower one obsolete, one of them is badly designed.
- Scoped, not vague. Each ability should have a specific, concrete function — not a broad category. Multiple use cases within that function are fine, but the function itself must be unique.
- No quantity escalation. "Summon one servant" → "summon seven servants" → "summon an army" is three abilities doing the same thing at different scales. Each should enable a fundamentally different action.
Schema
interface AbilityDefinition {
name: string
description: string
requirements: AbilityRequirement[]
bonus: number
cooldown: number
}
type AbilityRequirement =
| { type: 'resource' | 'attribute' | 'skill' | 'trait'; variable: string; amount: number }
| { type: 'characterLevel'; amount: number }Reference
For detailed documentation, see abilities-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.

