discover

discover is a skill for Claude Code from martineserios/thebrana. It costs 25 tokens per session (546 once invoked), scanned A, original, MIT.

A runtime catalogue that lists the installed skills, available agents, and active hooks in the environment. Hooks are automated actions that run in response to events.

In plain words
What is it for?
Use it to inspect the current skill set, agent definitions, and event hooks, including their names, groups, models, and descriptions.
Why use it?
It shows what tools and automation are currently available, so you do not have to inspect the installation manually.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: model in frontmatter.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the brana plugin — 56 skills, 4 commands, 14 agents, 13 hooks shipped together

Good fit Use it to inspect the current skill set, agent definitions, and event hooks, including their names, groups, models, and descriptions.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add martineserios/thebrana
Claude Code
/plugin install brana

Made for: Claude Code.

Or install brana, the plugin that ships this one along with the rest of its 56 skills, 4 commands, 14 agents, 13 hooks.

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 discover

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/martineserios/thebrana/discover"><img src="https://agentmods.dev/badge/skills/martineserios/thebrana/discover.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 25 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 546 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.00025 $0.00546
Opus 5 $0.00013 $0.00273
Sonnet 5 $0.00005 $0.00109
Haiku 4.5 $0.00003 $0.00055

Measured 5d ago against content hash c761c7af2ed3, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-09, from the pricing page.

Security

Grade A, and why

discover 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 5d 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.

system/skills/discover/SKILL.md · 87 lines

What it actually says

Discover — Runtime Catalog

Show all installed brana components at runtime. Fast listing, no heavy I/O.

Step 1 — Skills

Run:

brana skills list --json

Parse the JSON array. Each item has name, group, description fields. Sort by group then name. Truncate description to 60 chars.

Render:

## Skills (N)
| Name | Group | Description |
|------|-------|-------------|
| ...  | ...   | ...         |

Step 2 — Agents

Run:

grep -h "^name:\|^description:\|^model:" ${CLAUDE_PLUGIN_ROOT}/system/agents/*.md | paste - - -

Each triplet is one agent. Extract name:, description:, model: values (strip the key prefix). Truncate description to 60 chars.

Render:

## Agents (N)
| Agent | Model | Description |
|-------|-------|-------------|
| ...   | ...   | ...         |

Step 3 — Hooks

Run:

python3 - <<'EOF'
import json, sys
with open("${CLAUDE_PLUGIN_ROOT}/system/hooks/hooks.json") as f:
    d = json.load(f)
rows = []
for event, entries in d.get("hooks", {}).items():
    for entry in entries:
        matcher = entry.get("matcher", "*")
        for h in entry.get("hooks", []):
            script = h.get("args", ["", ""])[-1].replace("${CLAUDE_PLUGIN_ROOT}/", "")
            rows.append((event, script, matcher))
for r in sorted(rows):
    print("\t".join(r))
EOF

Render:

## Hooks (N)
| Event | Script | Matcher |
|-------|--------|---------|
| ...   | ...    | ...     |

Output

Print all three sections in order: Skills → Agents → Hooks. Include counts in each header (e.g. ## Skills (12)). Keep all descriptions truncated to 60 chars with ... suffix if cut.

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. 5d ago First seen · 87 lines · 25 tokens per session scan A c761c7af2ed3

Subscribe to this mod's changes

discover is a skill published in the GitHub repository martineserios/thebrana (3 stars, last pushed today), licensed MIT. It adds 25 tokens to every session and 546 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-09-03.

Related

Other skills, from other repositories

json-render-catalog

Skill "json-render-catalog" from yonatangross/orchestkit, covering json-render component catalogs, storybook → catalog import (#1529, 2026-04), new in 2026-04 → 2026-08 (json-render 0.14 → 0.20), directives — @json-render/directives (0.19) and registration.

yonatangross/orchestkit · 99 tokens

analytics

Queries local analytics across OrchestKit projects for agent usage, skill frequency, hook timing, team activity, session replay, cost estimation, and model delegation trends. Privacy-safe with hashed project IDs. Supports time-range filtering and comparative analysis. Use when reviewing performance, estimating costs…

yonatangross/orchestkit · 62 tokens

setup

A project-initialization workflow for creating a new Workframe project or connecting an existing project to Workframe.

ryanzhao1011/workframe · 88 tokens

material-intake

A planning tool for sorting existing project files into a suitable structure and suggesting a basic and submodule tree. It inventories files, recommends where each group should go, and produces a plan without moving anything.

ryanzhao1011/workframe · 99 tokens

code-review

A code-review skill that examines changes for requirement fit, correctness, security, maintainability, and performance. It reports findings with risk levels.

ryanzhao1011/workframe · 40 tokens

product-metrics-design

A method for designing a product measurement system using frameworks such as AARRR, HEART, North Star, and OKR. It organizes measurements into a main outcome, supporting drivers, and guardrails that prevent harmful trade-offs.

ryanzhao1011/workframe · 37 tokens