Agent skill

Codebase Map

by Inebrio in Inebrio/Routerly

Where things live in this repository and how to find them fast.

AGPL-3.0Auto-check passed

Install Codebase Map

skills CLI
$ npx skills add Inebrio/Routerly --skill codebase-map -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install Inebrio/Routerly codebase-map --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/Inebrio/Routerly.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.agents/skills/codebase-map .claude/skills/codebase-map && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
codebase-map
GitHub stars
100
Token cost
~518 tokens
SKILL.md length
258 words
Files
1
Skills in repo
17
Repo updated
First seen
Licence
AGPL-3.0

At a glance

Where things live in this repository and how to find them fast.

  • SKILL.md covers Where to look first, How to search and Traps
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md

What it does

Codebase Map is an agent skill from Inebrio/Routerly. Where things live in this repository and how to find them fast. Use before analysing, planning or implementing anything in this project.

Its SKILL.md is about 520 tokens, which your agent loads only when the skill is triggered. It is a single SKILL.md file with no bundled scripts.

The repository describes itself as: Self-hosted LLM gateway that routes requests across AI providers (OpenAI, Anthropic, Gemini, Mistral, Ollama) using intelligent multi-policy scoring — including an LLM-native… The licence is AGPL-3.0.

Example prompts

  • “/codebase-map”

What it can do on your machine

Read from SKILL.md and the folder at commit bcf58f1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Codebase Map loads about 518 tokens when it runs. Until then it costs about 37 tokens; SKILL.md has 258 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~37
When it runs · the whole SKILL.md, loaded when a task matches
~518

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from Inebrio/Routerly at commit bcf58f1, republished under its AGPL-3.0 licence (© Inebrio). 258 words, ~518 tokens.

Download SKILL.mdSave it as .claude/skills/codebase-map/SKILL.md (or your agent's skills folder).
name
codebase-map
description
Where things live in this repository and how to find them fast. Use before analysing, planning or implementing anything in this project.

Codebase map

TypeScript ESM monorepo, Node >= 20, npm workspaces.

PackageWhat it isStack
packages/sharedTypes shared by every surface. Single source of truth.TypeScript
packages/serviceThe gateway and the management API.Fastify 5
packages/cliThe command line surface.Commander 14, Inquirer 13
packages/dashboardThe web surface.React 18, Vite 6

Binding rules per package live in .Codex/rules/service.md, .Codex/rules/cli.md and .Codex/rules/dashboard.md. Read the one that covers what you are touching.

Where to look first

  • A type: packages/shared/src/types/. Never redefine one elsewhere.
  • An HTTP route: packages/service/src/routes/ and packages/service/src/modules/*/.
  • A CLI command: packages/cli/src/commands/, registered in index.ts.
  • A page: packages/dashboard/src/pages/, API calls only via api.ts.
  • Runtime state: JSON files under ROUTERLY_HOME (~/.routerly by default), not a database. config/settings.json holds the port.
  • Tests: *.test.ts beside the source they cover. Runner: vitest.

Grep for the concrete string a user would see (an error message, a flag, a label) before grepping for concepts. It lands on the real call site in one hop.

To understand a feature end to end, follow one request: CLI command or dashboard page, then api.ts, then the service route, then the module that does the work, then the shared type it returns. Four files usually cover it.

Traps

  • A feature exists on three surfaces. Finding it in one does not mean the other two are done, and changing one without the others is a bug.
  • dist/ directories are build output. Never read them for truth and never edit them.
  • The default branch is stale. Work branches from the current integration branch, never from the default one.

© Inebrio, AGPL-3.0. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

Just SKILL.md in .agents/skills/codebase-map of Inebrio/Routerly.

Open the folder on GitHubat commit bcf58f1

Compare with similar skills

Codebase Map next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Codebase Map compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Codebase Map this skillInebrio/Routerly100—~518Automated safety check: PassAGPL-3.0
Token Mapnexu-io/open-design100k—~1.4kAutomated safety check: PassApache-2.0
Maps Geographyasgeirtj/system_prompts_leaks69k—~717Automated safety check: PassCC0-1.0
Feature Maponyx-dot-app/onyx32k—~459Automated safety check: PassCustom licence
Source Mapsthedaviddias/Front-End-Checklist74k—~445Automated safety check: PassMIT
Customer Journey Mapphuryn/pm-skills27k—~816Automated safety check: PassMIT

Similar skills

  • Token Map

    nexu-io/open-design

    Map an extracted Figma / source-code token bag onto the active OD design system, producing a deterministic mapping the generate stage can consume.

    100k GitHub stars~1.4k tokensUpdated today
    Frontend & DesignAuto-check passed
  • Maps Geography

    asgeirtj/system_prompts_leaks

    Accurate maps from real geo data — use for any map, or whenever geography would make a good graphic for a deliverable

    69k GitHub stars~717 tokensUpdated yesterday
    Auto-check passed
  • Feature Map

    onyx-dot-app/onyx

    Use the Onyx feature map (.agents/feature-map/) to learn what a product surface does, the code behind it, and what a change can break.

    32k GitHub stars~459 tokensUpdated today
    Auto-check passed
  • Source Maps

    thedaviddias/Front-End-Checklist

    A skill your agent uses when auditing slow page loads, heavy assets, or rendering delays related to Provide source maps for production debugging.

    74k GitHub stars~445 tokensUpdated yesterday
    DevelopmentAuto-check passed
  • Customer Journey Map

    phuryn/pm-skills

    Create an end-to-end customer journey map with stages, touchpoints, emotions, pain points, and opportunities.

    27k GitHub stars~816 tokensUpdated 22 days ago
    Product & Project ManagementAuto-check passed
  • Context Map

    github/awesome-copilot

    Official

    Generate a map of all files relevant to a task before making changes

    40k GitHub starsUsed in 1 repo~287 tokens
    Auto-check passed

More from Inebrio/Routerly

All 17 skills in this repo
  • Docs Conventions

    Inebrio/Routerly

    Where documentation lives in this repository, how a page is structured, and what a change owes the docs.

    100 GitHub stars~624 tokensUpdated yesterday
    Auto-check passed
  • Feature Lifecycle

    Inebrio/Routerly

    Run a Tier 1 or Tier 2 feature end to end — feature level, story level, parallelism, integration, and retrospective.

    100 GitHub stars~3k tokensUpdated yesterday
    Auto-check passed
  • Story Lifecycle

    Inebrio/Routerly

    Run one user story end to end in its own worktree, from claim to merge.

    100 GitHub stars~905 tokensUpdated yesterday
    Auto-check passed
  • Test Conventions

    Inebrio/Routerly

    Where tests live in this repository, how to run them, and what a story owes in coverage.

    100 GitHub stars~467 tokensUpdated yesterday
    Auto-check passed
  • Validation Protocol

    Inebrio/Routerly

    How to validate a story against its criteria and write the report, including what counts as evidence and what counts as blocking.

    100 GitHub stars~628 tokensUpdated yesterday
    Auto-check passed
  • Analysis Format

    Inebrio/Routerly

    Shape of a feature analysis document (00-analysis.md). An agent skill from Inebrio/Routerly.

    100 GitHub stars~472 tokensUpdated yesterday
    Auto-check passed

Questions about Codebase Map

What does Codebase Map do?

Where things live in this repository and how to find them fast. Codebase Map is an agent skill from Inebrio/Routerly. Where things live in this repository and how to find them fast.

How do I install Codebase Map in Claude Code?

Run `npx skills add Inebrio/Routerly --skill codebase-map -a claude-code`. Or copy the skill folder (.agents/skills/codebase-map in Inebrio/Routerly) into .claude/skills/codebase-map in your project. Claude Code loads it when a task matches its description.

How do I install Codebase Map in Codex?

Run `npx skills add Inebrio/Routerly --skill codebase-map -a codex`. Or copy the skill folder (.agents/skills/codebase-map in Inebrio/Routerly) into .agents/skills/codebase-map in your project. Codex loads it when a task matches its description.

Can I use Codebase Map in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add Inebrio/Routerly --skill codebase-map -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/codebase-map, .gemini/skills/codebase-map, .github/skills/codebase-map and .opencode/skills/codebase-map in your project.

What does Codebase Map need to run?

SKILL.md names no scripts, command-line tools or credentials: Codebase Map is instructions for the agent only.

Does Codebase Map access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Codebase Map safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. Review the folder before installing.

What licence does Codebase Map use?

Codebase Map is published under the AGPL-3.0 licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Codebase Map use?

About 518 tokens (SKILL.md is roughly 2.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Codebase Map?

Skills that share tags, products or a category with Codebase Map: Token Map (nexu-io/open-design, 100k stars), Maps Geography (asgeirtj/system_prompts_leaks, 69k stars), Feature Map (onyx-dot-app/onyx, 32k stars) and Source Maps (thedaviddias/Front-End-Checklist, 74k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Codebase Map?

Inebrio (a GitHub organization) maintains it in Inebrio/Routerly, which has 100 GitHub stars. The repository holds 17 skills in this directory. The repository was last updated on October 6, 2026.

Source: Inebrio/Routerly on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.