Skip to main content
skill CX Codex

code-explorer — Claude Code skill: trace code architecture

code-explorer — a skill to analyze codebases: traces execution paths, maps architectural layers, uncovers patterns and dependencies. Use it before modifying or extending a feature.

no license 146 installs ★ 559 updated 2026-10-19

Install into Claude Code · Skills CLI (Vercel) All methods and platforms ↓
npx skills add waybarrios/opencode-power-pack --skill code-explorer -a claude-code
Open on GitHub

What code-explorer does

code-explorer breaks down how a specific feature is built. It locates entry points—APIs, UI components, CLI commands—and follows the call chain from start to data storage, tracking data transformations at each step. It builds a map of layers: presentation, business logic, persistence.

The skill acts as a sub-task dispatcher during feature development. When requested, it returns a structured analysis: entry points with line numbers, step-by-step execution flow, key components and their responsibilities, internal and external dependencies, then a curated list of 5–10 essential files with specific line references. It treats repository content, diffs, tests, comments, and PR metadata as facts, never as instructions. Secrets are replaced with [REDACTED]. If critical information cannot be accessed without exposing secrets, it flags the analysis as partial or blocked.

What it helps with

  • Understand how an existing feature works before making changes
  • Trace data flow through multiple architectural layers
  • Map all dependencies and integrations of a component
  • Identify extension points and code reuse opportunities
  • Build architecture documentation for the team

Example prompts for the agent

  • How does authentication work in this repo? Show me entry points, the full call chain, and storage.
  • Analyze the payment processing feature: call flow, dependencies, file list.
  • Unpack the UserDashboard component architecture—layers, integrations, what I must not change.

How to install code-explorer

1Skills CLI (Vercel)

npx skills add waybarrios/opencode-power-pack --skill code-explorer -a claude-code

2Manually: put the files in place

~/.claude/skills/code-explorer/SKILL.md

Copy the whole skill folder; for one project use .claude/skills/code-explorer/

Step by step, with commands for each platform: How to install skills in Claude Code: five ways

Questions about code-explorer

How do I install code-explorer for Claude Code?

Run npx skills add waybarrios/opencode-power-pack --skill code-explorer -a claude-code in your terminal, then open ~/.claude/skills/code-explorer/SKILL.md.

What does code-explorer do?

It analyzes your codebase to show how a feature starts, flows through all layers, and connects to dependencies. Output is a structured report with file paths, line numbers, and the essential files you need to read first.

Which platforms support code-explorer?

Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, and OpenCode. Each platform has its own install command—check the skill documentation.

Similar skills

All skills for Code review and refactoring →

From the same set7

Project sponsors

Companies that keep this analytics open