# Explore code

> Explore code is an open-source agent skill. Explore code structure, architecture, files, directories, and component relationships using the OpenTrace knowledge graph. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.

- **Kind:** Skill
- **Pricing:** Open source
- **Platforms:** Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf, Goose
- **Website:** https://github.com/opentrace/opentrace/tree/main/plugins/claude-code/skills/explore-code
- **Repository:** https://github.com/opentrace/opentrace
- **GitHub stars:** 111
- **License:** Apache-2.0
- **Skill name:** explore-code
- **Collection:** https://github.com/opentrace/opentrace
- **Listing updated:** 2026-11-17

## About

Explore code structure, architecture, files, directories, and component relationships using
the OpenTrace knowledge graph. Use this skill for ANY question about the codebase that the
graph might answer — including browsing, searching, and understanding code organization.

Triggers on:
- Structure: "how does X work", "what calls X", "show me the architecture", "where is X defined"
- Browsing: "what's in X", "show me X", "look at X", "list the files in X", "what directories are there"
- Discovery: "find X", "what examples exist", "what services/classes/files are there"
- Exploration: "walk me through X", "give me an overview", "help me understand X"
- General: any question about repo structure, code organization, or component relationships

## When your agent uses it

> Explore code structure, architecture, files, directories, and component relationships using the OpenTrace knowledge graph. Use this skill for ANY question about the codebase that the graph might answer — including browsing, searching, and understanding code organization. Triggers on: - Structure: "how does X work", "what calls X", "show me the architecture", "where is X defined" - Browsing: "what's in X", "show me X", "look at X", "list the files in X", "what directories are there" - Discovery: "find X", "what examples exist", "what services/classes/files are there" - Exploration: "walk me through X", "give me an overview", "help me understand X" - General: any question about repo structure, code organization, or component relationships

## What it can access

From a static check of the files on GitHub; nothing was run.

- [Instructions only, no scripts](https://github.com/opentrace/opentrace/tree/HEAD/plugins/claude-code/skills/explore-code)
- [Asks for: mcp__opentrace_oss__search_graph, mcp__opentrace_oss__get_node, mcp__opentrace_oss__traverse_graph, mcp__opentrace_oss__list_nodes, mcp__opentrace_oss__get_stats, Read, Grep, Glob](https://github.com/opentrace/opentrace/blob/HEAD/plugins/claude-code/skills/explore-code/SKILL.md)
- [License: Apache-2.0](https://github.com/opentrace/opentrace/tree/HEAD/plugins/claude-code/skills/explore-code)

## Install

### Claude Code

This skill ships in the `opentrace-oss` plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):

```sh
/plugin marketplace add opentrace/opentrace
/plugin install opentrace-oss@opentrace-oss
```

Or copy only this skill to `~/.claude/skills/explore-code`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/opentrace/opentrace.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/explore-code &&
cp -R "$tmp/plugins/claude-code/skills/explore-code" ~/.claude/skills/explore-code &&
rm -rf "$tmp"
```

For one project only, put the folder in `.claude/skills/explore-code` inside it instead.

### Codex

Copy the skill folder to `~/.agents/skills/explore-code` to use it in every repository:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/opentrace/opentrace.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/explore-code &&
cp -R "$tmp/plugins/claude-code/skills/explore-code" ~/.agents/skills/explore-code &&
rm -rf "$tmp"
```

For one repository only, put the folder in `.agents/skills/explore-code` inside it instead.

### Cursor

Copy the skill folder to `~/.cursor/skills/explore-code` to use it in every project:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/opentrace/opentrace.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/explore-code &&
cp -R "$tmp/plugins/claude-code/skills/explore-code" ~/.cursor/skills/explore-code &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/explore-code` inside it instead.

### Gemini CLI

Run in a terminal (add `--scope workspace` to install it for the current workspace only):

```sh
gemini skills install https://github.com/opentrace/opentrace.git --path plugins/claude-code/skills/explore-code
```

Or copy the folder to `~/.gemini/skills/explore-code` yourself.

### VS Code

For GitHub Copilot in VS Code, copy the skill folder to `~/.copilot/skills/explore-code`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/opentrace/opentrace.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/explore-code &&
cp -R "$tmp/plugins/claude-code/skills/explore-code" ~/.copilot/skills/explore-code &&
rm -rf "$tmp"
```

For one project only, put the folder in `.github/skills/explore-code` inside it instead.

### Other agents

Get the folder:

```sh
git clone --depth 1 https://github.com/opentrace/opentrace.git
```

Then copy `opentrace/plugins/claude-code/skills/explore-code` into your agent's skills folder as `explore-code`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Explore code in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/explore-code to use it in all your projects, or to .claude/skills/explore-code in one project. Or install the opentrace-oss plugin, which includes it: /plugin marketplace add opentrace/opentrace, then /plugin install opentrace-oss@opentrace-oss.

### Does Explore code run scripts?

No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.

### Which AI agents can use Explore code?

Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.

---
Source: https://ai-powered.com/skills/explore-code
