Sponsored byOutsenseAI that finds your next clients
SponsorGROUOutbound, LinkedIn content and leads for B2B teamsSponsorOutsenseAI that finds your next clientsAd+Your tool hereSeen by people installing AI tools@Weekly picksThe best new tools, one email a week

codebase-map

Skill by chromium

Builds an interactive, self-contained HTML map of a Chromium directory, covering the file tree, resolved OWNERS, DIR_METADATA, git activity and reviewers. Aimed at developers onboarding to Chromium code or choosing reviewers for a CL.

  • Score 91
  • 25k stars
  • BSD-3-Clause
  • Updated
Works withClaude CodeClaude apps Antigravity CLI

Install codebase-map

Built from the published package, never by AI.

git clone --depth 1 https://github.com/chromium/chromium /tmp/chromium && mkdir -p ~/.claude/skills && cp -r /tmp/chromium/agents/skills/codebase-map ~/.claude/skills/codebase-map

Run in your terminal. Claude Code loads skills from ~/.claude/skills automatically.

Step-by-step: install codebase-map in Claude Code

Skills can run scripts on your machine. Some need an API key: check the README.

About

The codebase-map skill builds a single HTML file for a Chromium directory, written to out/codebase_map/. The page shows a file tree grouped by role, resolved OWNERS with inheritance and per-file rules, DIR_METADATA, recent git activity, and who actually reviews in that directory. A scripts/codebase_map.py tool extracts the facts, and the agent writes the prose for the summary and descriptions.

It also includes a reviewer planner. Tick files in the map and it suggests a small approver set, with notes on set noparent rules and a ready R= line. The map can be served on localhost, and the skill also offers a --proxy mode for browser access through a proxy. It is aimed at developers onboarding to unfamiliar Chromium code or deciding who should review a change.

Written from the project's SKILL.md and checked against it.

What it can do

  • Directory mapBuilds a self-contained HTML map of a Chromium directory with a role-grouped file tree.
  • OWNERS resolutionResolves OWNERS with inheritance, per-file rules and set noparent.
  • DIR_METADATAShows DIR_METADATA for the directory, inheriting unset fields from the parent.
  • Reviewer plannerSuggests a small approver set for a CL and produces a ready R= line.
  • Activity viewLists top contributors, hot-spot files and recent commits linking to crrev.
  • Local servingServes the maps on localhost, with an optional --proxy mode for proxy access.

What you need

  • A Chromium src/ checkout
  • Python 3
  • git

Try asking

  • Map the layout and owners of chrome/browser/ui/tabs
  • Who should review my CL that touches these files?
  • Give me an overview of chrome/browser/ui/tabs

Good to know

  • Refuses to map the repo root; a directory must be picked.
  • Only git-tracked files are mapped; symlinks are skipped.
  • Dependency edges between subdirectories are not extracted yet.
  • The local server stops after 120 idle minutes by default.

Security check

A

No download-and-run commands, hidden instructions or signs of sending keys out were found.

Checked automatically: agents/skills/codebase-map/SKILL.md, agents/skills/codebase-map/scripts/codebase_map.py, agents/skills/codebase-map/scripts/fake_dom_for_test.js. This looks for known risky patterns and is not a full audit. How grades work

Inside the skill

  • OWNERS20 B
  • README.md5 KB
  • SKILL.md10 KB
  • scripts/codebase_map.py66 KB
  • scripts/codebase_map_test.py84 KB
Show all 7 files
  • scripts/fake_dom_for_test.js14 KB
  • templates/map.html68 KB

Alternatives to codebase-map

All alternatives →
openclaw-github-repo-commandersickn33
94

Runs a 7-stage workflow for auditing, cleaning up and reviewing GitHub repositories, plus competitor analysis. Written for developers who want a repo checked for secrets, junk files and documentation gaps.

AAA Skill 50k
gradiogradio-app
94

Teaches an AI assistant to build, debug and explain Gradio web UIs and ML demos in Python. It covers the core API, components, event listeners, layouts and the MCP server option. Aimed at Python developers who work with Gradio.

AAA Skill 44k
hig-components-menussickn33
94

Recommends menus, buttons, toolbars and disclosure controls for Apple platforms using Human Interface Guidelines conventions. Built for developers and designers making iOS, iPadOS, macOS or visionOS interfaces. Checks existing project design context before asking questions.

AAA Skill 50k
fastapi-templateswshobson
94

Creates production-ready FastAPI project structures with async patterns, dependency injection, and error handling. It is for developers starting new FastAPI applications or backend API projects.

AAA Skill 43k
appfunctionsandroid
94

Analyzes Android apps to find user workflows to expose as AppFunctions, so AI agents and system shortcuts can run them without opening the app UI. Generates Kotlin code and refines KDoc for Android developers.

AAA Skill 11k
agent-qa-authoringsickn33
94

Creates, edits, validates and runs Agent QA tests, suites and hooks through MCP or CLI. It keeps canonical IDs and schema contracts intact, for developers and QA teams using Agent QA.

AAA Skill 50k

Compare with openclaw-github-repo-commander, gradio or hig-components-menus

codebase-map: common questions

Does the codebase map need external dependencies?

No. The map is a single self-contained HTML file with no external dependencies.

Which OWNERS rules does it resolve?

It follows file://, file: and include up to 4 levels deep, and handles per-file rules, set noparent and LAST_RESORT_SUGGESTION.

Can other people read the maps?

By default the server listens only on 127.0.0.1. With --proxy it listens on all interfaces, so anyone who can reach the port can read the maps while it runs.

How do I install codebase-map?

Run the command above to copy the skill into ~/.claude/skills/. Claude Code picks it up automatically.

Is codebase-map free?

The code is published under the BSD-3-Clause licence. The service it connects to may have its own pricing.

Is codebase-map safe to use?

It scores 91 of 100. Grades: maintenance A, licence A, quality A. Security check: grade A, no risky patterns found in the files checked. Review the code before you install. How grades work.

What are alternatives to codebase-map?

Similar skills: openclaw-github-repo-commander, gradio, hig-components-menus, fastapi-templates.

codebase-map Install

Add to stack

Loading.