jame581/godotprompter/dialogue-manager
Claude Code and agent skill by jame581/godotprompter
- community
- ext:[{"type":"plugin","description":"Custom plugin integration"}]
Checking that the SKILL.md file is still in the repository.
Use when using the Dialogue Manager addon — .dialogue files with cues, responses, conditions and mutations, runtime balloons, actionable nodes, and C# support
Install
npx vskill@latest install jame581/godotprompter/dialogue-managerSemi-extensibleMentions customization, but needs skill-specific knowledge. Read the extensible skills standard
SKILL.md
The same SKILL.md was published earlier as jame581/godotprompter/dialogue-manager.
Dialogue Manager
Related skills: dialogue-system for hand-rolled dialogue data structures, localization for translating lines, popochiu for full adventure-game workflows.
Addon: Dialogue Manager · versionv4.2.0· Godot 4.6+ (built for 4.7; Godot 4.4–4.5 → v3.10, 4.3 → v3.3, see §7) · MIT · source: https://github.com/nathanhoad/godot_dialogue_manager · GDScript with official C# support.
Godot 4.8: not yet confirmed by the addon. v4.2.0 is released "for Godot 4.7", and no open issue mentions 4.8 (checked 2026-11-12).
1. When to use Dialogue Manager
| Approach | Best for | |
|---|---|---|
dialogue-system skill (hand-rolled Resource data) | Full control over data shape, no addon dependency, small dialogue trees | |
| Dialogue Manager | Script-like .dialogue text format, branching responses, conditions/mutations, translation pipeline, visual editor tab, official C# wrapper | |
| Full adventure-game framework | Point-and-click games needing rooms/inventory/actors bundled with dialogue — Dialogue Manager only owns the dialogue layer |
Choose Dialogue Manager when writers want to author branching dialogue as readable script text (not Inspector-edited Resources) and you want built-in conditions, mutations, random lines, and translation templates for free. If you need dialogue as strongly-typed Resources you fully own, use dialogue-system instead. It is not a quest or adventure framework.
2. Install & setup
- Godot AssetLib → search "Dialogue Manager" → Download. Or copy
addons/dialogue_manager/from the
GitHub repo into res://addons/dialogue_manager/.
- Project → Project Settings → Plugins (Project Settings → Addons → Plugins on 4.8) → enable "Dialogue Manager". This adds a Dialogue main-screen
tab and registers the DialogueManager autoload automatically — no manual autoload step.
addons/dialogue_manager/plugin.cfg:
- C# projects need no NuGet package —
using DialogueManagerRuntime;is enough (§4). - Settings live at Project Settings → General → Dialogue Manager: notably **State Autoload
Shortcuts (autoload names usable without a prefix) and Balloon Path** (the scene show_dialogue_balloon() opens — empty uses the built-in example balloon).
3. .dialogue syntax
Lines are Character: text or bare text (narrator). Godot's RichTextLabel BBCode works, plus [[A|B|C]] (random inline pick), [wait=N] / [wait="ui_accept"], [speed=N], [next=auto].
Cues and jumps — ~ name marks a cue (3.x called it a "title"); => name jumps to it; => END ends the flow; => END! force-ends past pending jump-and-returns; =>< name jumps and returns here once that branch hits END. import "res://other.dialogue" as other then =>< other/cue. Do not indent the line directly after a cue.
Responses (- ) nest by indentation. A response condition is self-closing — [if cond /] — and any jump goes last:
A response whose condition fails is still returned, with is_allowed == false — your UI filters it.
Conditions — if / elif / else, and/or/() (short-circuiting), and match/when/while:
Inline conditions inside a line are not self-closing: Nathan: I have done this [if already_done]once again[/if], with an optional [else]. Null-safe member access uses ?..
Mutations — $> assigns state or calls a method/emits a signal; inline [$> wave()] awaits, [$>> wave()] does not. set / do / [do!] still parse but are deprecated:
Built-ins: $> wait(1.0), $> debug(...). Signals: $> SomeGlobal.some_signal.emit("arg").
State — autoloads first; a DialogueStateContext node (alias + target) exposes a scene node while it is in the tree; extra_game_states (pass instances, never bare classes) is the last resort. $> locals.asked = true is a per-conversation variable implemented by the example balloon, not core.
Randomised lines — % (equal weight) or %N (relative weight); a blank line separates groups. A condition on a random line is self-closing too: % [if cond /] Nathan: Only sometimes.
Variables and tags — {{SomeGlobal.some_property}} interpolates state. [#happy, #mood=calm] attaches tags, read with line.has_tag("happy") / line.get_tag_value("mood").
4. Runtime API — balloons and manual traversal
Either let DialogueManager open a balloon, or pull lines with await DialogueManager.get_next_dialogue_line(resource, cue_or_id). At the end it returns null (and emits dialogue_ended) — test while line: / if not line: in GDScript, line != null in C#.
GDScript
C#
Other methods (the cue parameter; C# names it key): show_dialogue_balloon_scene(balloon_scene, resource, cue), show_example_dialogue_balloon(resource, cue), set_default_balloon(scene) (runtime override of Balloon Path), create_resource_from_text(text). C#: ShowDialogueBalloonScene, ShowExampleDialogueBalloon, SetDefaultBalloon, CreateResourceFromText. get_next_dialogue_line's mutation_behaviour is DMConstants.MutationBehaviour (C# MutationBehaviour): Wait (default), DoNotWait, Skip. Leave it Wait — the example balloon only supports Wait.
5. Actionable nodes ("press to talk")
DialogueActionable2D / DialogueActionable3D (an Area2D / Area3D; the upstream docs shorten them to Actionable2D) hold dialogue_resource + dialogue_cue. action() opens the balloon, passing {actionable = self} and the node's owner as extra game states; dialogue_ended fires when that resource ends. The picker adds the GDScript nodes — attach the C# scripts by hand to get the C# classes.
GDScript
C#
Both languages scan the shared dialogue_actionables group; the GDScript get_nearest_actionable_to() uses a typed loop, so it errors in a mixed project where C# actionables are in that group too.
6. Signals, typed access, saving
DialogueLine: id, next_id, character, text, tags, static_id, responses (untyped Array of DialogueResponse), concurrent_lines. DialogueResponse adds is_allowed and condition_as_text. Treat id/next_id as opaque strings (they can be <uid>@<id>).
GDScript
C#
mutated(mutation) / Mutated fires before a non-assignment mutation runs (calls, emits, wait) — not assignments. Also new: waiting_for_input / waited_for_input.
⚠️ The C# events are bridged to the Godot signals lazily, on the **first access toDialogueManager.Instance**. A project that subscribes from C# but drives dialogue from GDScript nevertouchesInstance, so the handlers never fire — add_ = DialogueManager.Instance;first.
This is the start of the file. Read the full SKILL.md on GitHub.
Security
- Security scanPassed, 100 of 100Pattern checks on the skill's files.
- Model reviewNot runA model review is scheduled for the next rescan.
Quality evaluation
- Task evaluationNot runNo evaluation yet. Run one in Skill Studio.
Source
- SKILL.md in the repositoryCheckingskills/dialogue-manager/SKILL.md
Popularity
- Repository stars
- 964
- Repository forks
- 63
- 7-day trend score
- 31
Stars and forks are for the whole GitHub repository, not this skill alone. Not refreshed yet.
Extension points
pluginCustom plugin integration
Works with
Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.
- Claude Code
- Cursor
- GitHub Copilot
- Windsurf
- Codex
- Gemini CLI
- Cline
- Amp
- Roo Code
- Goose
- Continue
- Kilo Code
- Junie
- Trae
- OpenHands
- Qwen Code
- AI Agent
- Tabnine Chat
- Sourcegraph Cody
- Amazon Q
- Firebase Genkit
- Sweep
- Devin
- Phind
- Mentat
- Claude Desktop
- Aider
- GPT Pilot
- Plandex
- bolt.new
- v0
- Replit Agent
- Anse
- TypingMind
- BetterChatGPT
- LibreChat
- Warp AI
- Pieces
- Fig AI
Embed badge
[](https://verified-skill.com/skills/jame581/godotprompter/dialogue-manager)