npcs
Schema and rules for creating NPCs
от nikolaj-lat★ 17 звёзд на GitHub
Установить npcs в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
NPCs
Edit tabs/npcs.json.
Required Fields
| Field | Requirement |
|---|---|
name |
Must match object key exactly |
type |
Use existing npcType when it fits, otherwise "" for unique NPCs |
currentLocation |
Use a fitting existing location, or invent one. Matching ignores casing and whitespace. "" keeps the NPC off-stage until a trigger places them |
currentArea |
"" means somewhere in this location: the NPC can appear in any area there. Set an area only when the NPC should be pinned to it; in a location with areas, treat a blank currentArea as an explicit choice |
gender |
Always set - aim for distribution: 40% male, 40% female, 20% non-binary |
basicInfo |
Three-sentence structure (see format below) |
personality |
Four traits using personality psychology (see format below) |
hiddenInfo |
Full paragraph - mix of narrative secrets and gameplay-useful information |
abilities |
At least five abilities + fighting style summary (see format below) |
tier |
Pick by role: trivial or weak for fodder, average for most named NPCs, strong or elite for champions and lieutenants, boss for arc villains, mythic only for legends. Tier scales HP and damage and gives elite and above a death countdown; the multipliers are in the reference |
level |
Always set to 1 or higher - each level adds +2 to an NPC's base damage (see guidelines below). Omitting it or setting 0 means the NPC scales from the party's level when first seen |
hpMax |
Always set - see HP guidelines below. Used exactly as written |
known |
Always set to true |
voiceTag |
Voice tag for speech synthesis (see voice-previews) |
Conditional Fields
| Field | When to Include |
|---|---|
faction |
Only for major plot-relevant faction membership |
relationship |
Set -100 to 100 to fix the starting attitude toward the player (0 is genuinely Neutral). Omit to let the AI infer it from the rest of the record on the NPC's first scene |
properName |
Set when an NPC starts under a placeholder name (e.g. "Hooded Stranger") but has a true identity revealed later. name is the current display name; properName is the true name. The identity counts as revealed once the two match — a reveal flips name to properName. Omit when the NPC is known from the start |
worldVoiceId |
Key from the world's worldVoices catalog. Overrides the generic voiceTag pick for this NPC. Include when the world defines a curated voice for the character |
vulnerabilities, resistances, immunities |
Damage types from combatSettings.damageTypes. Include only when the NPC should take modified damage from specific types; they union with the npcType's lists |
successBonus |
Only for NPCs that should roll better or worse than normal: 25 points shifts every roll one success tier; a negative value lets an NPC fumble |
damageModifier |
Percent change to outgoing damage (100 doubles it, -100 removes it). Only for NPCs whose hits should land harder or softer than level and tier imply |
damageReductionModifier |
Percent reduction to incoming damage (100 is true immunity). Only for unusually tough or untouchable NPCs |
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 |
Never Include
Omit these fields (auto-set or unused):
visualDescription,visualTagsdetailType,hpCurrent,activeBuffscurrentCoordinates,embeddingId,embedding,portraitUrlstatus,lastSeenTicklastSeenLocation,lastSeenArea,playerNotesneedsDetailGeneration,deathXPAwardedhealthMultiplieraliases(engine-maintained from renames and observed names; an authored list is stripped on save, so put titles and nicknames inhiddenInfoor the displayname)
status is reset to "" by the engine. Near death, dying, and dead are a runtime incapacitation counter (1 = near death, 2 = dying, 3 = dead) that creators never set. To spawn an NPC already down, use hpMax: 0 with hpCurrent: 0 instead.
Naming
Avoid naming an NPC (key, name, or properName) allSceneNPCs, anySceneNPC, allPartyNPCs, or anyPartyNPC: these are reserved trigger selector tokens. Keys and display names match interchangeably (case-insensitively) and display names are not unique, so keep names unique when triggers or effects need precise targeting.
basicInfo Format
Three sentences covering role, appearance, and dress:
- One sentence about what they are
- One elaborate sentence about their appearance and species features in detail
- One short sentence about their clothes/equipment
Format: "A [gender] [species] [role]. [Build] with [hair], [eyes], [species features in detail]. Wears [X]."
Keep the
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/npcs-reference.md
- references/voice-previews/female-calm-controlled.mp3
- references/voice-previews/female-calm-relaxing.mp3
- references/voice-previews/female-child-gentle.mp3
- references/voice-previews/female-cynical-monotone.mp3
- references/voice-previews/female-deep-controlled.mp3
- references/voice-previews/female-ethereal-light.mp3
- references/voice-previews/female-gentle-grounded.mp3
- references/voice-previews/female-harsh-commanding.mp3
- references/voice-previews/female-melodic-bright.mp3
- references/voice-previews/female-playful-youthful.mp3
- references/voice-previews/female-posh-british.mp3
- references/voice-previews/female-scottish-old.mp3
- references/voice-previews/female-sly-smooth.mp3
- references/voice-previews/female-soft-flirtatious.mp3
- references/voice-previews/female-warm-friendly.mp3
- references/voice-previews/female-warm-soft.mp3
- references/voice-previews/female-young-friendly-british.mp3
- references/voice-previews/male-ancient-powerful.mp3
- references/voice-previews/male-australian-young-casual.mp3
- references/voice-previews/male-baritone-warm.mp3
- references/voice-previews/male-british-refined.mp3
- references/voice-previews/male-brute-commanding.mp3
- references/voice-previews/male-calm-steady.mp3
- references/voice-previews/male-child-calm.mp3
- references/voice-previews/male-child-expressive.mp3
- references/voice-previews/male-commanding-blunt.mp3
- references/voice-previews/male-commanding-gruff-narrator.mp3
- references/voice-previews/male-commanding-intense.mp3
- references/voice-previews/male-commanding-resonant-british.mp3
- references/voice-previews/male-confident-casual.mp3
- references/voice-previews/male-confident-energetic.mp3
- references/voice-previews/male-confident-warm.mp3
- references/voice-previews/male-deep-accent.mp3
- references/voice-previews/male-deep-calculating.mp3
- references/voice-previews/male-deep-controlled.mp3
- references/voice-previews/male-deep-drywitted.mp3
- references/voice-previews/male-deep-gravelly-british.mp3
- references/voice-previews/male-deep-raspy.mp3
- references/voice-previews/male-elderly-british.mp3
FAQ
Что делает скилл npcs?
Schema and rules for creating NPCs
Как установить скилл npcs?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл npcs запускает скрипты?
Нет, скилл состоит только из инструкций (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…