Skip to content
Back to skills

Code Atlas

ASecurity

Route a question about an unfamiliar codebase to the right code-atlas MCP tool — search, read, callers, references, impact, architecture, onboarding. Use when the code-atlas server is connected and you are deciding which of its tools answers the question in front of you.

  • 4 stars
  • 0 votes
  • 0 copies
  • 3 views
  • Added October 18, 2026
developmentgoshellgit

Works with

  • cli
  • mcp

Security analysis

A100/100

Scanned December 5, 2026

npx -y skills add cuongdinhngo/code-atlas --skill skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Code Atlas?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Code Atlas
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/cuongdinhngo-code-atlas/badge)](https://www.skillsdirectory.com/skills/cuongdinhngo-code-atlas)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
name: code-atlas
description: >-
  Route a question about an unfamiliar codebase to the right code-atlas MCP tool —
  search, read, callers, references, impact, architecture, onboarding. Use when the
  code-atlas server is connected and you are deciding which of its tools answers the
  question in front of you.
---

# code-atlas — which tool answers which question

Generated by `scripts/gen_skill.py` from the 26 tools the server
registers and from the `which_tool` recognition map. Do not edit by hand: a drift guard
compares this file to its source, so a hand edit is a red test, not a quiet
disagreement.

## Recognition map

- Is the index built/fresh/healthy, what next? -> get_index_status (call first).
- Build or refresh the index -> build_or_update_index.
- Find a symbol by partial name/text -> search_symbol.
- What does a file define, and where -> file_outline.
- Read one symbol's source -> read_symbol.
- Who calls this function/method -> find_callers.
- Where is this symbol used -> find_references.
- Which types extend/implement this -> find_implementations.
- What variables a handler passes to its template -> find_view_data.
- What a file includes / what includes it -> include_graph.
- What breaks if I change this -> impact.
- Which modules does that change reach, and where to start -> impact_modules.
- Can this directory subtree be deleted — what crosses into/out of it -> subtree_dependencies.
- What is reachable from entry points / what is dead -> reachable_from.
- Which symbols look unused -> find_orphans.
- How many / which have none / what share, over the whole graph -> compute.
- Which paths or symbols named in CLAUDE.md / docs are stale -> verify_refs.
- How does one symbol reach another -> explain_path.
- What are this codebase's layers, and how do they depend on each other -> architecture_overview.
- What should I read first, in dependency order -> guided_tour.
- How does this codebase route an incoming request to the code that produces the response -> trace_capability.
- What happens when a user does X — one request from entry to the data -> trace_capability.
- A URL or route a user or test reports — which handler serves it -> trace_capability (route=…).
- Write committable onboarding docs (overview, tour, per-module, manifest) -> generate_onboarding.
- Do the declared architecture rules hold — no forbidden edge, every required call made -> check_architecture_rules.
- What did the agent change about the architecture between two revisions -> diff_architecture.
- Render a class diagram for one type (plus ancestry) or one file -> class_diagram.
- Which writers of this table omit a column that has a DEFAULT -> check_column_defaults.

Call `get_index_status` first whenever you are unsure the index is current.
A tool named here that is not in your tool list is hidden by `CA_TOOLS`: say so in the answer instead of silently falling back to grep.

## The served surface

1. `get_index_status`
2. `build_or_update_index`
3. `search_symbol`
4. `file_outline`
5. `read_symbol`
6. `find_callers`
7. `find_references`
8. `find_implementations`
9. `find_view_data`
10. `include_graph`
11. `impact`
12. `impact_modules`
13. `subtree_dependencies`
14. `reachable_from`
15. `find_orphans`
16. `compute`
17. `verify_refs`
18. `explain_path`
19. `architecture_overview`
20. `guided_tour`
21. `trace_capability`
22. `generate_onboarding`
23. `check_architecture_rules`
24. `check_column_defaults`
25. `diff_architecture`
26. `class_diagram`

## From a worktree

- **Working in a git worktree of the indexed repo?** Pass `caller_root` = your `git rev-parse --show-toplevel` to `read_symbol`, `file_outline`, `search_symbol`, `find_callers` and `find_references`: they then answer from your worktree's files (`overlay: worktree`), not the main checkout's. Other tools answer about the built index.

## From a shell

- **Many answers, no agent turn each:** `code-atlas query <tool> --args '<json>'` prints the payload the MCP tool returns; `--batch <file.jsonl>` answers one `{"tool": …, "args": {…}}` per line over one opened index. Use it for a script, a CI check or a lint; `code-atlas --help` lists every shell command, `code-atlas query --help` the exit codes.
- **A pasted signed claim (`code-atlas/2 … call=…`) is a check, not prose:** `--verify-claim '<line>'` / `--verify-claims <file>` re-run it at the current index and answer `holds`, `changed` or `unverifiable`.
- **"Has this method changed since revision X?"** `--snapshot-symbols <out>` at X, then `--changed-since <snapshot> --qname Q --path P` answers per symbol (`unchanged`, `body_changed`, `signature_changed`, `moved`, `removed`, …) — finer than a file diff.
- **"Is what `CLAUDE.md` and the docs say still true?"** `--verify-refs [globs]` states each path and symbol they name `ok`, `moved` (with its successor), `gone`, `never_existed`, `ambiguous` or `unknown`; by default only the actionable ones (moved or gone, strong); `--class instruction`, `--state moved`, `--strength weak`, `--format md`, `--limit N`, and `--fail-on actionable` to fail a pre-commit hook. `--format patch | git apply` corrects each one-successor move in place; `--format jsonl` exports every row (`--history-budget S`) and `--refs-diff OLD NEW` counts what two exports fixed; `--fail-on planned_but_exists` fails on a planned marker whose target now exists.
- **"Which shared helpers does no doc name?"** `--undocumented <path globs>` `--docs <doc globs>` lists the top-level exports there that no doc names (`!glob` leaves files out; an allowlist file in `refs_undocumented_allow`); `--fail-on any` makes it a CI gate. The `verify_refs` tool's `undocumented` answers the same.

## Acting on a `verify_refs` row

- **Fix only what is `actionable`** — `moved` or `gone`, `strong`. A `moved` row with one `successor` is `patch_ready`: take `format: patch`'s `edits`, never retype the name. Pass `doc_class: ["instruction"]` first — CLAUDE.md and skills steer every session.
- **`unknown`, `ambiguous` and `never_existed` are `unchecked`, never `ok` and never proof of absence.** The `reason` says why the graph could not decide — `untyped_container`, `several_container_types`, `not_declared_on_container`, or `container_is_callable` (the dotted word names an event or key, not a member). Read the code before you edit the doc.
- **`weak` rows are prose, not references** — e.g. a lowercase word matched only by a member's name (`matched_by: member_name`). They are never actionable; leave them.
- `ok` with `via_declared_type`, `inherited` or `table_column` resolved through a field's type, an ancestor or a schema column. A name ending in a file suffix (`atoms.json`) is checked as a path, not as a member.
- **Memory links** resolve in the memory folder first: `missing_from_memory` is a broken link in a memory file — edit that file; it is outside git, so no patch reaches it.
- **A doc naming code not written yet:** put a `refs_planned_markers` string (set in `.code-atlas.toml`, e.g. `⏳`) on that line instead of deleting the name — it reads `planned`, not `gone`. Once the code lands it reads `planned_but_exists` and is counted in `markers_to_drop`: remove the marker.
- **`undocumented` rows:** `documented_by_file` counts exports a doc covers only by naming their file; `coverage.visibility_not_emitted` means that language's privates were read as public. Leave test files out with a `!`-prefixed glob and list deliberate internals in the `refs_undocumented_allow` file — do not write docs for them.

## What this skill is not

It carries the map, never a second set of tool descriptions — the descriptions the
client shows you are the ones that route, and a copy here could disagree with them.
It holds no live state either: index freshness, symbol counts and open work are what
the tools are for, and a number frozen into this file would be a wrong answer rather
than a stale one.

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in development →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.