hub-tree

hub-tree is a command for coding agents from fiale-plus/fiale-claude-plugins. It costs 10 tokens per session (685 once invoked), scanned A, original, MIT.

A command that displays tracked work items as a numbered tree, including foreground tasks, background services, status-line settings, and usage information.

In plain words
What is it for?
Use it to review tracked pull requests and services, see context or quota status, and find numbered references for follow-up commands.
Why use it?
It gives developers one structured view of work being monitored instead of requiring them to inspect separate status entries.

Command

Part of the claude-status-hub plugin — 16 commands shipped together

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.

agentmods
npx agentmods add commands/fiale-plus/fiale-claude-plugins/hub-tree
Clone the repo
git clone --depth 1 https://github.com/fiale-plus/fiale-claude-plugins

Or install claude-status-hub, the plugin that ships this one along with the rest of its 16 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 hub-tree

README.md
[![agentmods](https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/hub-tree.svg)](https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/hub-tree)
Your own site
<a href="https://agentmods.dev/commands/fiale-plus/fiale-claude-plugins/hub-tree"><img src="https://agentmods.dev/badge/commands/fiale-plus/fiale-claude-plugins/hub-tree.svg" alt="Measured on agentmods" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 685 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00010 $0.00685
Opus 5 $0.00005 $0.00342
Sonnet 5 $0.00002 $0.00137
Haiku 4.5 $0.00001 $0.00068

Measured 4d ago against content hash 8e1d7ac0f46b, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

hub-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 4d 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.

plugins/claude-status-hub/commands/hub-tree.md · 82 lines

How it starts

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

Hub List - Tree View

Display all tracked items in a tree format with numbered references.

Process

  1. Read ~/.claude/status-config.json
  2. If file doesn't exist or empty, say "No items being tracked. Use /hub <service> or /hub <pr-url> to start."
  3. Build tree output:
Status Hub
│
├─ STATUSLINE
│  ├─ Context: bar [████░░░░░░ 42%] threshold 80%
│  └─ Quota: bar [██░░░░░░░░ 18%] threshold 80% (Max 5hrs)
│
├─ FOREGROUND
│  ├─ #1  PR #17163  [icon] [state]  [detail]  [NEW]
│  ├─ #2  PR #17042  [icon] [state]  [detail]
│  └─ #3  PR #16998  [icon] [state]  [detail]
│
└─ BACKGROUND
   └─ #4  [icon] [service]: [title] - [detail]

Tip: /hub ack #1  |  /hub-manage

Statusline Settings

Read from config and display current settings:

  • contextDisplay: "bar" | "percent" | "threshold" | (not set = off)
  • contextAlertThreshold: number (default 80)
  • quota.displayFormat: "bar" | "number" | "compact" | "off" | (not set = off)
  • quota.alertThreshold: number (default 80)
  • quota.plan: "pro" | "max5" | "max20" | "custom"

Show current usage from /tmp/status-hub-quota.json if available.

Display format:

  • If context enabled: Context: <format> [<visual>] threshold <N>%
  • If context off: Context: off
  • If quota enabled: Quota: <format> [<visual>] threshold <N>% (<plan>)
  • If quota off: Quota: off (tracking silently)

Foreground Items

For each PR in config.foreground:

  1. Refresh status via gh pr view
  2. Compare to lastSeen state
  3. Mark as [NEW] if:
    • Comments increased
    • State changed
    • Review decision changed
    • Checks status changed
  4. Display: #N PR #<number> <icon> <state> <detail>

Background Item

If config.background exists:

  1. Get current status from browser tab (if available)
  2. Display: #N <icon> <service>: <title> - <detail>

Icons

Icon Meaning
> Playing
|| Paused
M Mail/Gmail
PR Approved
? PR Review needed
! Changes requested
X Checks failing
~ Checks pending
D Draft

Read the full file on GitHub · 82 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. 4d ago First seen · 82 lines · 10 tokens per session scan A 8e1d7ac0f46b

Subscribe to this mod's changes

hub-tree is a command published in the GitHub repository fiale-plus/fiale-claude-plugins (4 stars, last pushed 4mo ago), licensed MIT. It adds 10 tokens to every session and 685 once invoked, about $0.0001 per session on Opus 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.