goal
БесплатноБез исполняемых скриптовНе проверенQuest objectives that drive narrative — the WANTS of adventure
Об этом скилле
Goal
"A goal is not always meant to be reached. Often it serves simply as something to aim at." — Bruce Lee
What Is It?
A Goal is a quest objective that drives the adventure forward. It defines what the player is trying to achieve and when they've succeeded (or failed).
Goals create narrative tension — the gap between current state and desired state.
Goal, Task, Action
Three objects, three lifetimes:
| What it is | Lives until | Claimed? | |
|---|---|---|---|
| goal | a state of the world someone wants | done_when holds, or fail_when does |
no |
| task | work someone claims to make a goal true | someone proves done_when |
yes, by one owner |
| action | one step of that work, now | it runs or is interrupted | it sits in one action-queue |
skills/task inherits this skill. A task is a goal plus an owner, CLAIM/RELEASE, and a judge
for prose guards. action keeps its Sims meaning: what an advertisement
offers and what a character queues.
Schema Mechanism Connection
From Gary Drescher's theory:
Context → Action → Result
Goals define the desired Result that motivates Action. The adventure is a laboratory for learning causal chains that achieve goals.
Goal Properties
| Property | Purpose |
|---|---|
id |
Unique identifier |
name |
Short display name |
description |
What you're trying to achieve |
done_when |
Condition: natural language or a shell command |
fail_when |
When goal becomes impossible |
reward |
What you get on completion |
progress |
Partial completion tracking |
history |
Append-only events: given, done, failed, cancelled, reopened |
Status Is Computed
Store what happened; compute what is possible. State is derived at read time:
- failed —
fail_whenholds, or afailedevent - done —
done_whenholds, confirmed by adoneevent - active — every
requiresguard holds - pending — otherwise
A stored status: is accepted on read (pending, active, complete, failed) and turned into
events; it is never written.
Completion Conditions
Natural language conditions that compile to JS/PY:
done_when: "player has the treasure"
done_when_js: "(world) => world.player.inventory.includes('treasure')"
complete_when is the older spelling and is still read as done_when.
Rewards
Goals can grant various rewards:
reward:
buff: "Hero's Glory" # Temporary effect
item: "champion-medal" # Object
unlock: "secret-room" # New access
narrative: "The kingdom celebrates!" # Story beat
Progress Tracking
For multi-step goals:
progress:
collected: 3
needed: 5
Goal Hierarchies
Goals can nest:
parent: defeat-dragon
children:
- find-magic-sword
- learn-dragon-weakness
- reach-dragon-lair
Complete all children to complete the parent.
Failure Conditions
Goals can fail:
fail_when: "time reaches midnight AND prisoner is not freed"
fail_message: "You were too late."
Examples
Simple Quest
id: find-treasure
name: "Find the Treasure"
done_when: "player has the treasure"
Timed Challenge
id: rescue-mission
name: "Save the Prisoner"
done_when: "prisoner is freed"
fail_when: "10 turns pass without rescue"
priority: urgent
Collection Quest
id: gather-keys
name: "Collect All Keys"
done_when: "player has 5 enchanted keys"
progress:
collected: 2
needed: 5
Related Skills
- task — inherits goal; adds an owner and claiming
- action-queue — where a claimed task's steps run
- adventure — Contains active goals
- hero-story — Narrative structure
- needs — Internal motivations
Protocol Symbol
SCHEMA-MECHANISM — Goals drive causal learning
Установить goal в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
read_filewrite_fileВложенные файлы
FAQ
Что делает скилл goal?
Quest objectives that drive narrative — the WANTS of adventure
Как установить скилл goal?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл goal запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
Toolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
от Anthropicaccess
Manage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropicconfigure
Set 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…
от Anthropicaccess
Manage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
от Anthropic