Skip to content
Skill

Explore code

Explore code structure, architecture, files, directories, and component relationships using the OpenTrace knowledge graph

Install
Scripts
None
Platforms
Claude Code, Codex, Cursor
GitHub stars
111
Last commit
20 days ago
License
Apache-2.0
Listing updated
today

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

From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.

What it can access

Install

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

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

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

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.

Claude Code docs on skills

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

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.

Codex docs on skills

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

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.

Cursor docs on skills

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

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.

Gemini CLI docs on skills

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

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.

VS Code docs on skills

Get the folder:

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.

The SKILL.md format

Explore code 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.

More from opentrace/opentrace

  1. Run the full OpenTrace knowledge-graph pipeline over a folder or repo — index, clustering, highlight surfacing, and the markdown / graphml /

    • Open source
    • 111 GitHub stars
    • Files and documents