dialog-tree

dialog-tree is a skill for Claude Code from ikotelkin/claude-skills. It costs 126 tokens per session (1,977 once invoked), scanned A, original, MIT.

A visual record of a long conversation, shown as an interactive tree of questions, clarifications, answers, and alternative paths. It stores the tree in a data file and displays it in a self-contained HTML viewer.

In plain words
What is it for?
Use it to track decisions, mark branches resolved, remove dead ends, and see which parts of a discussion have been covered.
Why use it?
It makes unresolved branches and discarded directions visible instead of leaving them buried in the conversation. The saved files also restore the discussion map after a new session or lost context.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions Claude Code.

Part of the dialog-tree plugin — 1 skill shipped together

Good fit Use it to track decisions, mark branches resolved, remove dead ends, and see which parts of a discussion have been covered.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/ikotelkin/claude-skills/dialog-tree
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add ikotelkin/claude-skills --skill dialog-tree
Clone the repo
git clone --depth 1 https://github.com/ikotelkin/claude-skills

Made for: Claude Code.

Or install dialog-tree, the plugin that ships this one along with the rest of its 1 skill.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for dialog-tree

README.md
[![agentmods](https://agentmods.dev/badge/skills/ikotelkin/claude-skills/dialog-tree/github.svg)](https://agentmods.dev/skills/ikotelkin/claude-skills/dialog-tree)
Your own site
<a href="https://agentmods.dev/skills/ikotelkin/claude-skills/dialog-tree"><img src="https://agentmods.dev/badge/skills/ikotelkin/claude-skills/dialog-tree/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dialog-tree

Your own site · 80×15
<a href="https://agentmods.dev/skills/ikotelkin/claude-skills/dialog-tree"><img src="https://agentmods.dev/badge/skills/ikotelkin/claude-skills/dialog-tree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 126 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,977 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00126 $0.01977
Opus 5.5 $0.00050 $0.00791
Sonnet 5.5 $0.00025 $0.00395
Haiku 4.5 $0.00013 $0.00198

Measured 1mo ago against content hash f7df2f12b665, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dialog-tree scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 1mo ago.

The scan reads SKILL.md. This mod also ships 1 executable file (assets/dialog-tree-data-template.js), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/dialog-tree/SKILL.md · 100 lines

How it starts

The opening of the file, as written. The whole thing — 100 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Dialog Tree

Why

A "question → clarification → clarification" conversation is a depth-first search: the user dives into one branch while the unexplored sibling branches silently pile up in their head. When the tree gets deep, backtracking becomes painful. This skill offloads that bookkeeping into files: an HTML page in the project repo that shows every branch of the discussion as a tree, lets the user mark branches resolved, and delete dead ones.

The tree is built by the assistant, not by the app: the viewer only renders the data file. "Update the tree" means appending nodes to it. The tree doubles as a session conspectus — after context loss (compaction, new session) reading the data file restores the map of what was discussed, how it branched, and what is still open.

Data / view split, file naming

Two files side by side in the project, named after the treeId — a generic name like dialog-tree.html collides as soon as one machine, one static server, or several sessions host more than one tree:

  • <treeId>-tree.html — the view, a generic dependency-free renderer. Never edited per-project; upgrading the skill = replacing this file wholesale (any file name keeps working).
  • <treeId>-tree-data.js — the data: META, NODES, optional STRINGS (UI localization). The only file the assistant edits. Loaded via a script tag, which works both over http://localhost and from disk (file:// blocks fetch of JSON, but not script tags — that's why the data is a .js file, not .json).

The view derives the data file name from its own: <name>.html → <name>-data.js. So the two names must stay paired — when renaming, rename both, and never rename after the tree is in use without telling the user (bookmarked URLs break; localStorage marks are keyed by origin + treeId, so a file rename itself does not lose marks).

Set up a tree in a project

  1. Copy assets/dialog-tree.html and assets/dialog-tree-data-template.js (next to this SKILL.md) into the project repo as <treeId>-tree.html and <treeId>-tree-data.js (e.g. my-api-tree.html + my-api-tree-data.js). If there is no repo, ask the user where to put them.
  2. In META (data file) set:
    • treeId — a unique project identifier (kebab-case, e.g. the repo name). It keys the localStorage of the user's marks: two trees sharing a treeId, opened from disk, will corrupt each other's marks.
    • builtUpTo — a human-readable marker of how far into the conversation the tree is built (date + a short quote of the last message that was decomposed).
  3. Decompose the conversation so far into NODES (rules below).
  4. Show the tree. JS does not execute in chat file viewers, nor in the Claude Code Browser pane for file:// paths outside the project folder — the page looks empty there:
    • Browser pane (preferred in Claude Code): start a static server over the directory via preview_start {name:"<name>"}, open http://localhost:<port>/<treeId>-tree.html, and give the user that URL — the user never opens files by hand. Start the server at the beginning of every session that works with the tree. Config in .claude/launch.json of the working directory (create it if missing; pick the port once and never change it — the user's marks are bound to the localhost:<port> origin):

Read the full file on GitHub · 100 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 1mo ago First seen · 100 lines · 126 tokens per session scan A f7df2f12b665

Subscribe to this mod's changes

dialog-tree is a skill published in the GitHub repository ikotelkin/claude-skills (3 stars, last pushed 1mo ago), licensed MIT. It adds 126 tokens to every session and 1,977 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

exploratory-data-analysis

Performs bounded, local exploratory analysis of explicitly supported scientific files. Supports redacted CSV/TSV/JSON profiles; optional NumPy, HDF5, FASTA/FASTQ, and basic image metadata inspection; missingness/leakage audits; outlier and transformation sensitivity; and rigorous EDA report scaffolds. Other domain…

K-Dense-AI/scientific-agent-skills · 83 tokens

webhook-management

Configure and validate CCAM webhook targets across supported chat, incident, automation, and generic providers. Use when listing provider requirements, creating or updating a target, scoping it to alert rules, sending a test notification, reviewing delivery history, or deleting a target.

hoangsonww/Claude-Code-Agent-Monitor · 56 tokens

design-review

Review a web app or page for visual design quality — layout, typography, spacing, colour, hierarchy, consistency, interaction patterns, and responsive behaviour. Not a UX audit (that checks usability) — this checks whether it looks professional and polished. Produces a design findings report with screenshots.…

jezweb/claude-skills · 108 tokens

react-patterns

React 19 performance patterns and composition architecture for Vite + Cloudflare projects. 50+ rules ranked by impact — eliminating waterfalls, bundle optimisation, re-render prevention, composition over boolean props, server/client boundaries, and React 19 APIs. Use when writing, reviewing, or refactoring React…

jezweb/claude-skills · 110 tokens

render-3d-product-showcase

Assemble a premium 3D product-showcase ad from a config — four beat clips (an orbiting hero rotation, a macro push-in, a physics reveal, a typographic close) normalized to the chosen backdrop colour, hard-concatenated in order, closed on a deterministic Playwright brand end card, and mixed under one instrumental bed…

gooseworks-ai/goose-skills · 159 tokens

render-airdrop-carousel

Assemble a viral iOS "AirDrop" notification-carousel video ad (≈6–8s, 9:16) from a brand line plus 6–16 real product photos — a native AirDrop share-sheet card ("Brand would like to share a · Decline / Accept") springs up and its preview window CYCLES through the products, landing on a range/lineup payoff with an…

gooseworks-ai/goose-skills · 207 tokens