treetopia

treetopia is a skill for Claude Code from fmflurry/settings-opencode. It costs 51 tokens per session (927 once invoked), scanned A, original, MIT.

A tool for creating a separate Git worktree: another working folder connected to the same repository, usually on its own branch. It is meant for isolated or parallel work.

In plain words
What is it for?
Use it when parallel agents need separate branches and folders, or when you want to avoid branch collisions.
Why use it?
It keeps two agents or features from changing the same files and branch at the same time.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions OpenCode.

Good fit Use it when parallel agents need separate branches and folders, or when you want to avoid branch collisions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/fmflurry/settings-opencode/treetopia
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 fmflurry/settings-opencode --skill treetopia
Clone the repo
git clone --depth 1 https://github.com/fmflurry/settings-opencode

Made for: Claude Code.

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 treetopia

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/fmflurry/settings-opencode/treetopia"><img src="https://agentmods.dev/badge/skills/fmflurry/settings-opencode/treetopia.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 51 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 927 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 warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

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 →

  • medium Excessive Agency · line 105
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
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.00051 $0.00927
Opus 5.5 $0.00020 $0.00371
Sonnet 5.5 $0.00010 $0.00185
Haiku 4.5 $0.00005 $0.00093

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

Security

Grade A, and why

treetopia 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.

.claude/skills/treetopia/SKILL.md · 111 lines

How it starts

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

Treetopia

Create an isolated OpenCode worktree whenever the user explicitly wants branch isolation, parallel feature work, or protection from branch collisions.

Trigger Rules

Use this skill only when the user explicitly says one of these intents:

  • Create a worktree.
  • Use a worktree.
  • Use an isolated worktree.
  • Create a parallel feature branch.
  • Avoid branch collision.
  • Keep two agents or two features from sharing one branch.

Do not use this skill merely because the user asks for normal implementation, refactor, testing, or feature work. Ordinary feature work stays in the current checkout unless the user explicitly requests isolation.

Purpose

Prevent two primary agents or two active features from sharing the same branch and overwriting or colliding with each other's changes.

Start Workflow

When triggered:

  1. Derive a concise branch name from the user's task.
    • Use lowercase words separated by hyphens.
    • Prefer a short prefix such as feature/, fix/, or chore/ when obvious.
    • Keep the name specific enough to identify the task.
  2. Determine the base branch.
    • If the user names a base branch, use that branch.
    • Otherwise, default to the current branch.
  3. Immediately call worktree_create.
    • Pass the derived branch name.
    • Pass the base branch only when the user named one or the tool requires it.
  4. Continue development inside the new worktree/session created by the tool.

Example tool intent:

worktree_create(branch: "feature/customer-import", baseBranch: "main")

If no base branch was named:

worktree_create(branch: "fix/login-timeout")

Development Guidance Inside Worktree

  • Treat the worktree as the isolated task workspace.
  • Follow normal project instructions, architecture rules, and verification gates.
  • Do not assume the original checkout has your worktree changes.
  • Avoid cross-worktree edits unless the user explicitly asks.
  • Preserve the verification gate before proposing teardown, merge, or cleanup.

Read the full file on GitHub · 111 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 First seen · 111 lines · 51 tokens per session scan A 957de7ba9e0c

Subscribe to this mod's changes

treetopia is a skill published in the GitHub repository fmflurry/settings-opencode (171 stars, last pushed 2d ago), licensed MIT. It adds 51 tokens to every session and 927 once invoked, about $0.0002 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

Other skills, from other repositories