mcpbeat Sign in

Godot Quest System Agent Skill

Expert blueprint for quest tracking systems (objectives, progress, rewards, branching chains) using Resource-based quests, signal-driven updates, and AutoLoad managers. Use when implementing RPG quests or mission systems. Keywords quest, objectives, Quest Resource, QuestObjective, signal-driven, branching, rewards, AutoLoad.

2.5k tokens
context cost
SKILL.md, read when the skill is used
17
files
ships runnable scripts
0
copies elsewhere
how many repositories repackaged it
854
stars on the repo
on the repository, not the skill itself

Install

one command, takes just this skill from the repository
npx skills add https://github.com/thedivergentai/GD-Agentic-Skills --skill godot-quest-system

What comes with it

29 183 bytes besides the instruction
references/migration-notes.md
references/quest-patterns-deep.md
scripts/branching_quest_data.gd
scripts/hidden_objective_logic.gd
scripts/kill_objective_trigger.gd
scripts/localized_quest_description.gd
scripts/quest_conflict_resolver.gd
scripts/quest_giver_dialogue_hook.gd
scripts/quest_graph_manager.gd
scripts/quest_manager.gd
scripts/quest_manager_singleton.gd
scripts/quest_persistence_loader.gd
scripts/quest_resource.gd
scripts/quest_ui_tracker.gd
scripts/quest_waypoint_helper.gd
scripts/timed_quest_challenge.gd

The instruction itself

13 sections, as written by the author

MANDATORY loads

  • quest_resource.gd — StringName ids, status, objectives/rewards
  • quest_manager_singleton.gd — accept / progress / complete / chain

Supporting: kill_objective_trigger.gd, quest_ui_tracker.gd, branching_quest_data.gd, quest_giver_dialogue_hook.gd, quest_persistence_loader.gd, timed_quest_challenge.gd, hidden_objective_logic.gd, localized_quest_description.gd, quest_graph_manager.gd, quest_waypoint_helper.gd, quest_conflict_resolver.gd, quest_manager.gd (alt helper — prefer singleton).

Golden path

accept → event trigger → progress → complete → persist

| Checkpoint | Action |

|---|---|

| Accept | QuestManager.accept_quest(quest) — duplicate Resource if runtime mutation; connect quest_completed once |

| Event trigger | Kill/collect/talk via trigger nodes / bus — not hardcoded in enemy scripts (kill_objective_trigger.gd) |

| Progress | update_objective(quest_id: StringName, …) — interned ids only |

| Complete | Manager erases active, emits quest_completed, grants via inventory/economy signals |

| Disconnect | Disconnect completion Callables when quest leaves active set — prevent double rewards |

| Persist | Save active/completed id maps + counts (quest_persistence_loader.gd) — not live Resource graphs |

NEVER Do in Quest Systems

  • NEVER store active quests only on the Player node — Autoload / persistent data.
  • NEVER use unverified plain string ids — StringName / registry (&"kill_slimes").
  • NEVER forget to disconnect completion signals — double rewards.
  • NEVER poll objectives in _process — signal-driven.
  • NEVER skip save/load for quest state.
  • NEVER hardcode quest logic inside enemy/item scripts — triggers/bus.
  • NEVER award loot inside the Quest Resource — emit; inventory/economy grant.
  • NEVER allow duplicate active instances of the same quest id.

Field alignment (StringName)

Across body + scripts use:

  • quest.id: StringName
  • objective_id: StringName
  • Manager dictionaries keyed by StringName
  • Dialogue/quest-giver hooks compare StringName, not free strings

Expert WHY (critical)

> CAUTION: objectives.all(...) on arrays with null entries crashes — null-check in is_complete() (see quest_resource.gd).

  • NavMesh waypoints — update NavigationAgent3D.target_position on objective change only (quest_waypoint_helper.gd).
  • Concurrent progress — Mutex + deferred signals for network/parallel combat (quest_conflict_resolver.gd).
  • Prerequisites — Resource-linked quest chains in Inspector (branching_quest_data.gd).

Deep dive (load on demand)

Quest/Objective/Manager/UI walkthroughs and elite patterns — references/quest-patterns-deep.md.

Reference

> Progressive disclosure: open Official Documentation links only when researching a specific API; load Related Skills when routing to a peer domain — do not preload the whole lattice.

Official Documentation

  • Resources — Why quest definitions, objectives, and reward tables belong in reusable Resource assets instead of scene-local scripts.
  • Resource — @export, nested Resources, and duplication rules for Inspector-authored quest data and branching chains.
  • Singletons (Autoload) — How to register a typed QuestManager that survives scene changes without living on the Player node.
  • Autoloads versus regular nodes — When global quest state is justified vs keeping progress on a scene-owned data Resource.
  • Using signals — Emit/connect model for quest_accepted / objective_updated without polling in _process().
  • Instancing with signals — Wire kill/collect/talk triggers from spawned actors into the manager without hardcoded node paths.
  • Saving games — Persist quest IDs and progress counts as dictionaries — never serialize live Quest Resource instances.
  • Internationalizing games — Store tr() keys on quest Resources so titles/descriptions localize without forked .tres files.
  • Timer — Time-limited challenge fail paths via Timer / SceneTree.create_timer timeout signals.
  • Using Containers — Reactive VBoxContainer quest trackers that rebuild Labels from manager signals only.
  • StringName — Prefer interned IDs for objectives/quests to avoid silent typo failures from plain strings.
  • Scene organization — Signal-up / call-down ownership so NPCs and enemies never own quest completion math.
Prerequisites
  • godot-resource-data-patterns — Custom Resources, duplication, and Inspector authoring patterns that quest definitions and objective graphs depend on.
  • godot-signal-architecture — Typed emit/connect, disconnect hygiene, and EventBus routing for kill/collect triggers without ghost listeners.
  • godot-autoload-architecture — Boot order and ownership rules for a singleton QuestManager that outlives scene swaps.
Complements
  • godot-dialogue-system — Quest-giver offer/reminder/thanks branches should query quest status and emit accept/complete through dialogue choices.
  • godot-inventory-system — Collect objectives and reward grants should delegate item mutations to inventory, not embed stacks in quest scripts.
  • godot-save-load-systems — Slot/versioned save pipelines that serialize active/completed quest dictionaries beside player state.
  • godot-ui-containers — Layout and rebuild patterns for objective trackers and journal panels driven only by manager signals.
  • godot-economy-system — Currency/XP reward sinks after quest completion; keep grant logic out of the Quest Resource itself.
  • godot-monte-carlo-balancer — Simulate reward curves, timed-fail rates, and objective difficulty before locking quest economy numbers.
Downstream / consumers
  • godot-rpg-stats — Level gates, XP rewards, and stat prerequisites that unlock or complete quest acceptance checks.
  • godot-combat-system — Death/defeat events feed kill objectives through a bus instead of enemy scripts calling QuestManager directly.
  • godot-genre-action-rpg — Genre composition that consumes quest tracking, dialogue hooks, and reward distribution as one RPG loop.
  • godot-navigation-pathfinding — Objective waypoints and compass helpers update NavigationAgent targets when objectives change.
Master
  • godot-master — Library router and mirrored module entry; open when discovering which Domain Skill owns quests vs dialogue, inventory, or save.

Other skills for the same job

different authors, same section of the catalogue
Internal Comms
by anthropics
vendor ×16

A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill whenever asked to write some sort of internal communications (status reports, leadership updates, 3P updates, company newsletters, FAQs, incident reports, project updates, etc.).

377 tokens
Competitive Ads Extractor
by frostant
×10

Extracts and analyzes competitors' ads from ad libraries (Facebook, LinkedIn, etc.) to understand what messaging, problems, and creative approaches are working. Helps inspire and improve your own ad campaigns.

2k tokens
Lead Research Assistant
by frostant
×8

Identifies high-quality leads for your product or service by analyzing your business, searching for target companies, and providing actionable contact strategies. Perfect for sales, business development, and marketing professionals.

1.6k tokens
Developer Growth Analysis
by frostant
×6

Analyzes your recent Claude Code chat history to identify coding patterns, development gaps, and areas for improvement, curates relevant learning resources from HackerNews, and automatically sends a personalized growth report to your Slack DMs.

3.9k tokens
Google Official SEO Guide
by ZhanlinCui
×4

Official Google SEO guide covering search optimization, best practices, Search Console, crawling, indexing, and improving website search visibility based on official Google documentation

4.2k tokens
Web Performance SEO
by ZhanlinCui
×4

Fix PageSpeed Insights/Lighthouse accessibility "!" errors caused by contrast audit failures (CSS filters, OKLCH/OKLAB, low opacity, gradient text, image backgrounds). Use for accessibility-driven SEO/performance debugging and remediation.

670 tokens
App Store Optimization
by alirezarezvani
×3

Complete App Store Optimization (ASO) toolkit for researching, optimizing, and tracking mobile app performance on Apple App Store and Google Play Store

4.1k tokens scripts
Imagegen Frontend Web
by mxyhi
×3

Elite frontend image-direction skill for generating premium, conversion-aware website design references. CRITICAL OUTPUT RULE — generate ONE separate horizontal image FOR EVERY section. A landing page with 8 sections produces 8 images. Never compress multiple sections into one image. Enforces composition variety (not always left-text / right-image), background-image freedom, varied CTAs, varied hero scales (giant / mid / mini minimalist), narrative concept spine, second-read moments, and a single consistent palette across all images. Optimized for landing pages, marketing sites, and product comps that developers or coding models can accurately recreate.

9.2k tokens

How to use it

Copy the folder

Take thedivergentai/godot-quest-system from the repository into ~/.claude/skills for personal use, or into .claude/skills inside a project.

Check the name does not clash

The agent identifies a skill by the name field in its header. Two skills with the same name cannot sit side by side — one of them will be ignored.