code-browser

A method for tracing how code flows from an entry point, such as a page, command, or request handler, through imported modules to an outside operation. An outside operation might be a network request, database query, or file read.

In plain words
What is it for?
Use it to navigate frontend or backend code, follow imports, and locate the part that communicates with a service, database, or file.
Why use it?
It helps answer where a visible feature or piece of data comes from without relying on misleading text searches.

Skill for Claude CodeCodex

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 skills/friedbotstudio/baseline/code-browser
Any agent
npx skills add friedbotstudio/baseline --skill code-browser
Clone the repo
git clone --depth 1 https://github.com/friedbotstudio/baseline

Made for: Claude Code, Codex.

Per session 201 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,249 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.00201 $0.04249
Opus 5 $0.00101 $0.02124
Sonnet 5 $0.00040 $0.00850
Haiku 4.5 $0.00020 $0.00425

Measured yesterday against content hash 393fd14cf355, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

code-browser 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 yesterday.

The scan reads SKILL.md. This mod also ships 2 executable files (discover.mjs, walk.mjs), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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/code-browser/SKILL.md · 194 lines

How it starts

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

Code Browser

A natural code-traversal skill. Answers "where does this come from?" by walking from the entry point downward, not by string-searching for the name.

It is the primary path for code-navigation questions in any language (CLAUDE.md Article X.5): the universal walk is the first attempt; reach for the Explore agent or grep only when the repo has no resolvable structure or the walk dead-ends. Pure full-text search and direct type/util definition lookups stay with grep — they are not navigation.

When this skill exists

The user-visible label of a thing (a third-party integration's icon, a "Refresh" button, a panel header) is rarely the right keyword to grep for. The same word often appears in unrelated flows — e.g., grepping a vendor's product name can land on an unrelated documents API while the icon itself is rendered by a generic integrations registry that fetches a different endpoint. The reliable path is always top-down: start at the page, follow imports, stop at the network boundary. This skill encodes that walk and supplies a fast helper so it costs essentially nothing.

The universal walk

This works on any codebase, regardless of framework:

  1. Locate the entry point for the user-visible thing. For web: the page/route file. For a single-page app, the screen component. The user's question almost always names the page directly or implicitly (e.g. "the loan-application page").
  2. Read the entry point and follow imports downward. Note components rendered (JSX, route children), data hooks called (useFoo()), and service/API helpers invoked.
  3. Stop at a network/IO boundary: a fetch/axios/SDK call, a SQL query, a file read. The URL or query you find there is the answer.
  4. Verify: open the leaf file once with Read and confirm the URL/symbol is still what the cache claims.

If at any point you find yourself globally grepping for the user-visible label, stop — you've left the walk.

Optional accelerator (JS/TS only): walk.mjs

Read the full file on GitHub · 194 lines

Files

What ships with it

2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. yesterday First seen · 194 lines · 201 tokens per session scan A 393fd14cf355

Subscribe to this mod's changes

code-browser is a skill published in the GitHub repository friedbotstudio/baseline (11 stars, last pushed 5d ago), licensed Apache-2.0. It adds 201 tokens to every session and 4,249 once invoked, about $0.0010 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-30.