traits
Schema and rules for creating traits
от nikolaj-lat★ 17 звёзд на GitHub
Установить traits в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Traits
Edit tabs/traits.json.
Trait Categories
Traits must be organized into categories in tabs/traits.json under traitCategories.
| Field | Description |
|---|---|
name |
Display name for the category |
maxSelections |
How many traits player can pick. 0 means none can be picked — don't use it. Applies to the whole category, subcategories included |
traits |
Array of trait keys in this category |
description |
Optional player-facing text explaining what the category represents |
subcategories |
Optional groups within the category: { name, traits, description? }. In character creation, subcategory traits are listed first, then the ungrouped root traits |
Category patterns:
- Single selection (class/background):
maxSelections: 1 - Single selection (species):
maxSelections: 1 - Multiple selection (miscellaneous):
maxSelections: 3
Category selection at character creation ignores requirements (level-up picks only). unlockedBy and excludedBy do constrain creation choices: see Trait Dependencies below.
Required Fields
| Field | Requirement |
|---|---|
name |
Must match object key exactly |
description |
What the trait is — shown to players at character creation (full paragraph) |
traitNarrativeEffects |
The narrator's reference for portraying the trait. Usually the same as description; elaborate further or add hidden aspects the player shouldn't see |
attributes |
Array of attribute modifiers (can be empty []) |
skills |
Array of skill modifiers (can be empty []) |
resources |
Array of resource modifiers (can be empty []) |
startingItems |
Array of items granted (can be empty []) |
abilities |
Array of ability names granted (can be empty []) |
requirements |
Array of requirement objects (can be empty []). Only gates level-up trait picks — ignored at character creation |
unlockedBy |
Prerequisites (OR logic): trait keys or story start ids. Affects level-up picks and character creation (see Trait Dependencies) |
excludedBy |
Conflicts: trait keys or story start ids. Affects level-up picks and character creation (see Trait Dependencies) |
description and traitNarrativeEffects
For non-species traits:
- By default,
descriptionandtraitNarrativeEffectscarry the same content — write both as full paragraphs. descriptionis shown to players at character creation.traitNarrativeEffectsis the narrator's reference during play.- Let them diverge only when: (a) the narrative effects hold hidden aspects the player shouldn't know, or (b) the description is a shorter summary and
traitNarrativeEffectsis the elaborated, fuller version.
Older configs used a field named quirk for this; it is auto-migrated to traitNarrativeEffects verbatim. Always write traitNarrativeEffects in new configs.
For species traits, see the Species Traits section below.
Conditional Fields
| Field | When to Include |
|---|---|
attributes (non-empty) |
Class/background traits that affect core stats |
skills (non-empty) |
Traits that grant expertise or training |
resources (non-empty) |
Traits that affect resource pools |
startingItems (non-empty) |
Class/background traits with signature equipment |
abilities (non-empty) |
Traits that unlock special perks or powers |
requirements (non-empty) |
Traits in the level-up pool that should be gated behind stats, skills, other traits, or character level |
vulnerabilities / resistances / immunities |
Traits that should change how much typed damage the player takes in combat (e.g. a fire-elemental species immune to fire). Values must match combatSettings.damageTypes |
Level-Up Trait Picks
Traits can be offered as level-up rewards via progressionSettings.levelUpTraitPool in tabs/settings.json (default cadence: 1 pick every 10 levels). When a pick is pending, the player chooses from pool traits they don't already have whose unlockedBy/excludedBy conditions pass and whose requirements are met; the chosen trait applies immediately, exactly like a starting trait. An empty pool means no picks are ever granted.
Gotcha: requirements does nothing at character creation, it only filters the level-up pick list. To keep a trait out of starting selection everywhere, leave it out of every trait category.
Trait Dependencies (unlockedBy and excludedBy)
Both fields list trait keys or story start ids: a trait can require, or be blocked by, other traits or specific story starts. At character creation, categories are evaluated in traitCategories order after the story start is chosen. A story start dependency always takes effect; a trait dependency only constrains choices in categories after the referenced trait's own category. A dependency that is neither an earlier-category trait nor a story start leaves the trait unconditionally unlocked. Changing an earlie
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/traits-reference.md
FAQ
Что делает скилл traits?
Schema and rules for creating traits
Как установить скилл traits?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл traits запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…