tree-card

tree-card is a skill for Claude Code from srmackey/insitu. It costs 71 tokens per session (717 once invoked), scanned A, original, MIT.

A tool that writes a nested Markdown list showing which articles and skills each project in an Insitu vault subscribes to.

In plain words
What is it for?
Use it to create or replace the day's subscription tree card, including projects, inherited subscriptions, roles, and listed classes.
Why use it?
It turns subscription relationships into one dated, readable tree instead of requiring someone to assemble the hierarchy manually.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to create or replace the day's subscription tree card, including projects, inherited subscriptions, roles, and listed classes.

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

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 tree-card

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/srmackey/insitu/tree-card"><img src="https://agentmods.dev/badge/skills/srmackey/insitu/tree-card.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 717 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.00071 $0.00717
Opus 5.5 $0.00028 $0.00287
Sonnet 5.5 $0.00014 $0.00143
Haiku 4.5 $0.00007 $0.00072

Measured 3d ago against content hash 16070f75b61c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tree-card 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 3d 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.

provisions/skills/tree-card/SKILL.md · 75 lines

How it starts

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

Tree card

Write one nested markdown list of this vault's Insitu subscriptions. The project keys are the tree. A person scrolls it in an editor.

Triggers: tree card, or a request for the subscription tree, or for each chair's articles and skills.

Where it goes

desk/YYYY-MM-DD-tree-card.md on this chair's checkout. The desk is that folder. It is not an overlay path. A second run on the same date replaces the file. The reply names the path and the project count. Do not paste the file.

Walk

list_projects is the set. _global is the first item. Every other key is a node. A key's parent is that key with the last segment removed. Parent before its children, in list_projects order. A parent key with no project still gets an item, no subscription, and its children nest under that item.

Membership is the subscription. The nexus registry is not the walk.

Each project

get_project for the map. get_role once per role id, not once per project. operators once.

A project other than _global with include_global gets the line includes: _global. Leave _global's articles in that one item.

When operators lists the project, add classes: with those classes.

Then the subscription, in this order. A role or import that is absent is skipped. An empty articles, on demand, or skills group is left off. A role or import with no members still gets its line. Child chairs come after that chair's own subscription, nested one level deeper. Every chair row is the full project key. Indent is two spaces.

  • Each role: its core article ids, then its on-demand ids as on demand: <id>, then its skill ids as skill: <id>.
  • Each import: pack@version as the map records it, then that import's article ids and skill ids.
  • The map's own core articles.
  • The map's own on_demand ids.
  • The map's own skills.

File

# Tree card
updated: YYYY-MM-DD

- _global
  - import <pack>@<version>
    - <article id>
  - Articles
    - <id>
- <key>
  - classes: sensitive
  - includes: _global
  - role <id>
    - <article id>
    - on demand: <id>
    - skill: <id>
  - import <pack>@<version>
    - <article id>
    - skill: <id>
  - Articles
    - <id>
  - On demand
    - <id>
  - Skills
    - <id>
  - <child key>
    - includes: _global

Read the full file on GitHub · 75 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. 3d ago First seen · 75 lines · 71 tokens per session scan A 16070f75b61c

Subscribe to this mod's changes

tree-card is a skill published in the GitHub repository srmackey/insitu (0 stars, last pushed today), licensed MIT. It adds 71 tokens to every session and 717 once invoked, about $0.0003 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-11-27.

Related

tree-card compared with skills from other repositories

tree-card next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tree-cardsrmackey/insituSkill0todayMITA71Claude Code
opik-diagnosecomet-ml/opik-mcpSkill2274d agoApache-2.0A187Claude Code
quantum-groverxi-zhao/OpenQuantumSkill75yesterdayMITA62Claude Code, Codex
guppy-programsxi-zhao/OpenQuantumSkill75yesterdayMITA48Claude Code, Codex
quantum-algorithmsxi-zhao/OpenQuantumSkill75yesterdayMITA34Claude Code, Codex
alicebob-cat-circuitsxi-zhao/OpenQuantumSkill75yesterdayMITA51Claude Code, Codex
qililab-controlxi-zhao/OpenQuantumSkill75yesterdayMITA48Claude Code, Codex