quests
Schema and rules for creating quests
от nikolaj-lat★ 17 звёзд на GitHub
Установить quests в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Quests
Edit tabs/quests.json.
Required Fields
| Field | Requirement |
|---|---|
name |
Must match object key exactly |
questSource |
Where the quest originates (NPC name, location, object) |
questStatement |
One-sentence description of the situation |
mainObjective |
What the player must accomplish (shown in quest log) |
questDesignBrief |
2-4 sentence internal design guidance for the AI — drives NPC, location, and trigger generation for this quest |
detailType |
basic for AI-generated locations, detailed for specific locations |
Conditional Fields
| Field | When to Include |
|---|---|
completionCondition |
When the quest should complete off story matching or a narrative event: { "type": "story", "query": "..." } or { "type": "narrative-event-completed", "eventId": "..." }. Omit for trigger-driven quests that complete only through explicit quest-progress / quest-complete effects |
status |
When the quest should start the story as planned, available, or accepted instead of the default hidden |
spatialRelationship |
Required when detailType: 'basic' - defines where quest takes place |
questLocation |
For detailed quests with a specific location - key from locations.json. Omit for a locationless detailed quest that starts directly in objective mode |
objectives |
Only when the quest has an authored objective ladder, revealed/completed via trigger effects |
activeObjectiveId |
Only to point at an objective authored with status active |
nextStep |
Only for initial guidance - normally managed by objective and next-step trigger effects |
onCompleteEffects |
When completing the quest should change game state. Same effect objects as triggers, applied once when the quest completes |
Never Include
Omit these fields (auto-set or runtime-only):
questTypeid,definitionKey,creationTick,detectionTick,acceptedTickexpiryTick,completedTick,abandonedTick,rejectedTickstartingArea,connectingAreaName,questAreasquestStepPhase,hasVisitedLocation,hasVisitedStartingArea,objectiveCompletedofferedAtLocation,questGiverNPC,questGiverNPCKey,arcQuestOrdinal,contentOrigin
questGiverNPC is engine-assigned when the AI generates or details a quest, and an authored value is stripped on save. Name the giver in questSource and introduce them in questDesignBrief instead.
conclusive,arcId,arcEscalationAtCreation
detailType Selection
| Type | Use When | Location Handling |
|---|---|---|
basic |
Quest location should be AI-generated | Uses spatialRelationship to generate dynamically |
detailed |
Quest has a specific predefined location | Uses exact questLocation from locations.json |
Use detailed for hand-crafted narrative quests. Use basic for procedural or emergent quests.
A basic quest whose questLocation is blank counts as "already at the location" and advances straight to objectives instead of waiting for travel. A detailed quest without a questLocation skips travel the same way: it starts directly in objective mode with its mainObjective as the current step, and no location is revealed on accept.
Gating Travel to Quest Locations
Travel to a quest location is treated as simple by default. The narrator only makes it impossible when the destination's text explicitly establishes a lock: a boss guarding it, sealed access, a required access item, or authority clearance. A destination that is merely unestablished or dangerous costs at most a skill check. If a quest is meant to gate an area, write the lock into the location or area text (and the quest's questDesignBrief) rather than relying on the quest alone.
spatialRelationship Values
For basic quests only - defines where the AI generates the quest location:
| Value | Description |
|---|---|
existingLocalArea |
Current location, existing area |
newLocalArea |
Current location, new area created |
nearbyNewLocation |
New location generated nearby |
distantNewLocation |
New location generated far away |
existingLocationNewAreas |
Existing location, new areas added |
mainObjective Format
Write as a player action in imperative form. Shown in the quest log UI.
Format: "[Verb] the [target]" or "[Verb] [what] from/in/at [where]"
completionCondition Format
An optional object with one of two forms:
{ "type": "story", "query": "..." }— the query is a natural-language description of what "done" looks like; the trigger system matches it semantically against the story. If the query is left empty, no auto-trigger is generated. (Legacy plain-string conditions are auto-converted to this form.){ "type": "narrative-event-completed", "eventId": "..." }— the quest completes when the referenced narrative event completes. No auto-trigger is generated. See the narrativ
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- references/quests-reference.md
FAQ
Что делает скилл quests?
Schema and rules for creating quests
Как установить скилл quests?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл quests запускает скрипты?
Нет, скилл состоит только из инструкций (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…