/trove:trovefrom trove
Read Claude Code skills from a Trove catalog without installing them — list what exists, find one for a task, read its instructions at a pinned commit, and check what it costs in context first. Use when asked what skills are available, which skill fits a job, what a skill does, or whether a skill is worth installing.
Ships in trove. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
A Trove catalog indexes skills across many repos, prices each one in tokens, and pins every source to a commit. Reading from it costs one skill's context instead of sixty.
Three levels, each dearer than the last. Never skip down a level, and never fetch ahead.
catalog.json holds every skill's name, description, and
price. Read this to choose. When the question is which skill fits, the
answer is here and you are done.SKILL.md, fetched at the pinned sha, after choosing.
Fetch one. Stop unless the body names a file.references/, scripts/, assets/, one path at a time, only
when the body sends you to that path.Binding at every level:
tokensOnInvoke is the price of level 2 and it sits beside the description.
Read the price before paying it.CATALOG=${TROVE_CATALOG:-out/catalog.json}
catalog() { case "$CATALOG" in http*) curl -sf "$CATALOG";; *) cat "$CATALOG";; esac; }
get() { # get <skill> [file within the skill]
local base local_ rel
{ read -r base; read -r local_; read -r rel; } < <(
catalog | jq -r --arg n "$1" --arg f "${2:-SKILL.md}" '
. as $c | $c.skills[] | select(.name == $n) | $c.sources[.source] as $src
| ($src.body // ""), ($src.local // ""), "\(.path)/\($f)"')
case "$base" in
https://*) curl -sf "$base$rel" ;;
body/*)
case "$CATALOG" in
http*) curl -sf "${CATALOG%/*}/$base$rel" ;;
*) cat "$local_/$rel" ;;
esac ;;
*) echo "no body for $1: the source is neither pinned nor on disk" >&2; return 1 ;;
esac
}
sources[].body is where a source's files resolve from. A pinned GitHub source
gives a raw URL at that commit, which needs no server. Anything else gives
body/<source>/, which trove serve answers from the checkout on disk.
Search names and descriptions, cheapest first:
catalog | jq -r --arg q 'refactor' '
.skills[]
| select((.name + " " + .description) | test($q; "i"))
| "\(.name)\t\(.tokensOnInvoke) tok\t\(.description)"' | sort -t$'\t' -k2 -n
What the registry holds, by plugin:
catalog | jq -r '.plugins[] | "\(.name)\t\(.skills) skills\t\(.description)"'
catalog | jq -r '.totals | "\(.skills) skills, \(.alwaysOn) tok always-on"'
The tokensAlwaysOn field is what a skill charges every session whether or not
it fires. tokensOnInvoke is what its body charges when it does. Claude Code
caps skill metadata at skillListingBudgetFraction of the context window, 1% by
default.
get zoom-out
Read the body and follow it as instructions for the task.
Only when the body referenced it, and only that path:
get research references/patterns.md
bundledFiles counts what a skill ships beside SKILL.md and
tokensBundledMax prices them all at once. Treat it as a ceiling: it is what
the skill would cost if it read every file, and a skill that branches over its
references reads one.
A source with no pin, or one behind a host that serves no raw URL, resolves to
body/<source>/. Point the catalog at a running server and get follows it:
trove serve # in the registry checkout
CATALOG=http://127.0.0.1:8787/catalog.json get trove
With a catalog read from a file instead, get falls back to sources[].local
and reads the checkout directly.
When a skill earns a place in every session, install its plugin rather than reading it each time. The catalog names the owning plugin and the price the install adds to the always-on budget:
catalog | jq -r --arg n 'zoom-out' '.skills[] | select(.name==$n)
| "\(.plugins | join(", "))\t+\(.tokensAlwaysOn) tok always-on"'
What SKILL.md sets; muted values are Claude Code's defaults
Other plugins' skills for the same job
Generated from the plugin's indexed repository (tslateman/trove) — no native marketplace selected
npx claudepluginhub p/tslateman-trove