tree

tree is a skill for Claude Code from skymanbp/cc-tree. It costs 168 tokens per session (4,125 once invoked), scanned A, original, MIT.

A branching exploration engine that starts with a topic or artifact and repeatedly examines it from 12 different viewpoints. It continues expanding important branches until the results stop producing meaningful new conclusions.

In plain words
What is it for?
Use it to explore topics, critique documents, develop designs, or audit code with a selected preset and a root input such as a topic or file.
Why use it?
It gives complex brainstorming, critique, design, or code-review tasks a repeatable structure instead of returning an unexamined list of ideas. Presets define how the branches are judged for each type of task.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Needs its repository: it reads a path above its own folder, which exists only inside the repository. The line is substantive convergence — see [`docs/ENGINE.md §6`](../../docs/ENGINE.md#6-6-convergence)..

Part of the cc-tree plugin — 1 skill, 5 commands shipped together

Good fit Use it to explore topics, critique documents, develop designs, or audit code with a selected preset and a root input such as a topic or file.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/skymanbp/cc-tree
agentmods
npx agentmods add skills/skymanbp/cc-tree/tree

Made for: Claude Code.

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

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 tree

README.md
[![agentmods](https://agentmods.dev/badge/skills/skymanbp/cc-tree/tree/github.svg)](https://agentmods.dev/skills/skymanbp/cc-tree/tree)
Your own site
<a href="https://agentmods.dev/skills/skymanbp/cc-tree/tree"><img src="https://agentmods.dev/badge/skills/skymanbp/cc-tree/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 tree

Your own site · 80×15
<a href="https://agentmods.dev/skills/skymanbp/cc-tree/tree"><img src="https://agentmods.dev/badge/skills/skymanbp/cc-tree/tree.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 168 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,125 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
SkillSpector: 1 finding, up to low

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • low Excessive Agency · line 218
    Skill's behavior or capabilities extend beyond its stated purpose. Scope creep allows an agent to perform actions unrelated to its documented functionality, increasing the attack surface.
    Fix: Limit the skill's scope to its documented purpose. Remove instructions that enable the agent to perform actions outside its stated functionality.
How audits are shown
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.00168 $0.04125
Opus 5.5 $0.00067 $0.01650
Sonnet 5.5 $0.00034 $0.00825
Haiku 4.5 $0.00017 $0.00413

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

Security

Grade A, and why

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.

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/tree/SKILL.md · 274 lines

How it starts

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

tree — universal radial-tree exploration engine

What this skill is. A single engine implementing recursive radial-tree exploration (root → 12-framing expansion → per-node 12-field derivation → score → recurse on high-verdict leaves → terminate on substantive convergence). What varies between use-cases (brainstorm vs critique vs design vs code-audit) is the baseline recipe, node schema, scoring dimensions, and verdict vocabulary — all parameterized via a preset file.

What this skill is NOT. Not a one-shot LLM call that returns a bulleted list. Not a chat interface — once the §2.0 glossary grill has settled terminology and the root is written, the engine runs to convergence without further prompts (§F6). Not bundled with a model — pure prompt-engineering on top of Claude Code's existing model setting.

The full engine specification lives in docs/ENGINE.md. This SKILL.md is a 7-step navigation guide; Read docs/ENGINE.md before producing the first node (the engine spec is what defines "valid" for everything you'll write).


1. Invocation

/cc-tree:tree <root> --preset <name|path> [flags]

<root> is preset-typed:

  • brainstorm preset → topic string, e.g. "ways to detect dark-matter substructure"
  • attack preset → file path (.md / .tex / etc.) or quoted argument-text
  • design preset → design-prompt string or .md file path
  • code-audit preset → file path or directory path

--preset is required:

  • Built-in: brainstorm, attack, design, code-audit (resolve to presets/<name>.md in this plugin)
  • Path: ./my-custom.md (any .md file with the right frontmatter)

Common flags (apply across presets)

Flag Default Meaning
--lang <tag|auto> en Output language for all localized prose (node statements, derivations, report narrative, warnings). Machine tokens — flag/command names, frontmatter & JSON keys, root_kind values, verdict labels, status tokens, filenames — always stay English. <tag> is a BCP-47-like code (en, zh, zh-Hans, zh-Hant, fr-CA); zh = Simplified Chinese, zh-Hant = Traditional. auto detects the dominant language of <root> and falls back to en for mixed / path-only / code-only input. Resolved once before preset load, recorded in run metadata (language_request / output_language / language_source), and never prompted mid-run. Full precedence, resume, and chain semantics: docs/ENGINE.md §1.0.
--width N ∞ Cap on final leaf count (the outer arc of the tree). ∞ / inf / unspecified all mean unlimited.
--depth N ∞ Cap on tree depth from root.
--rounds N conv Cap on expansion rounds. conv = no cap; terminate by §6 substantive convergence.
--max-branches N ∞ Cap on new branches per node per round. Floor is 12 because §3 requires all 12 framings to fire; this flag only raises the ceiling.
--out <dir> tree-out/<UTCdate>__<slug>/ Output directory. Per-preset commands override (e.g. brainstorm-out/).
--glossary <path> (preset-determined) Path to a glossary / FACTS.md / glossary section in a dossier; used by §2.0 grill prelude.
--field <name|path> (none) Field profile for domain-aware reviewer weighting. <name> → field-profiles/<name>.md in this plugin; <path> → a literal file. Feeds §3.C / §3.D / §3.I / §3.J + the §3.X / §4 evidence bar. Missing profile → warn + continue (non-blocking). See docs/ENGINE.md §2.2.
--seed-from <primary.md> (none) Seed the tree from a prior run's primary deliverable (shortlist.md / options.md / confirmed.md): each listed item enters as a depth-1 seed node and is re-expanded. The substrate for cross-preset chaining (docs/chaining.md). Alias: --from-prior.
--no-grill off Skip §2.0 glossary grill prelude. Marks root-node terms as unverified; §6 convergence adds a warning.
--no-online off Disable WebSearch / WebFetch. Local + already-Read references only.
--min-frameworks N 12 Minimum framing passes per node. Floor is 12 (full §3.A–§3.L); flag exists for documentation, not relaxation.
--min-novelty-ratio R 0.15 §6.1 condition 2 requires "last 2 rounds' high-verdict / total < R".

Read the full file on GitHub · 274 lines

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 Changed 21d946eb7dbd
  2. 1mo ago Changed · +1 lines · -79 tokens per session 6dc24895b318
  3. 2mo ago First seen · 273 lines · 247 tokens per session scan A 04e9a0360649

Subscribe to this mod's changes

tree is a skill published in the GitHub repository skymanbp/cc-tree (84 stars, last pushed 2d ago), licensed MIT. It adds 168 tokens to every session and 4,125 once invoked, about $0.0007 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-30.

Related

tree compared with skills from other repositories

tree next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
treeskymanbp/cc-treeSkill842d agoMITA168Claude Code
writing-qualityshawnclybor/clybor-claude-toolingSkill6yesterdayMITA169Claude Code
yellow-sheet-corpusshawnclybor/clybor-claude-toolingSkill6yesterdayMITA173Claude Code, Codex
excel-connector-governanceshawnclybor/clybor-claude-toolingSkill6yesterdayMITA182Claude Code
build-executeshawnclybor/clybor-claude-toolingSkill6yesterdayMITA194Claude Code
five-whysshawnclybor/clybor-claude-toolingSkill6yesterdayMITA148Claude Code
why-diagnosticshawnclybor/clybor-claude-toolingSkill6yesterdayMITA100Claude Code