Skip to content
Skill

Graph

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

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

Run the full OpenTrace knowledge-graph pipeline over a folder or repo — index, clustering, highlight surfacing, and the markdown / graphml / Obsidian exporters. Use this skill when the user wants more than the bare structural index: when they ask for clusters, highlights, or a navigable artifact to hand to another tool. Triggers on: - "build the knowledge graph", "make a graph of this folder", "graph this" - "what is this codebase about", "give me a map of this project", "what's connected to what" - "find the clusters", "cluster the graph", "what are the architectural hubs?" - any time a user mentions clustering, god nodes, or bridges - when `.opentrace/index.db` is already present in the working directory, an indexed graph exists — prefer answering from it over re-deriving answers from raw files

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/graph:

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

For one project only, put the folder in .claude/skills/graph inside it instead.

Claude Code docs on skills

Copy the skill folder to ~/.agents/skills/graph 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/graph &&
cp -R "$tmp/plugins/claude-code/skills/graph" ~/.agents/skills/graph &&
rm -rf "$tmp"

For one repository only, put the folder in .agents/skills/graph inside it instead.

Codex docs on skills

Copy the skill folder to ~/.cursor/skills/graph 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/graph &&
cp -R "$tmp/plugins/claude-code/skills/graph" ~/.cursor/skills/graph &&
rm -rf "$tmp"

For one project only, put the folder in .cursor/skills/graph 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/graph

Or copy the folder to ~/.gemini/skills/graph yourself.

Gemini CLI docs on skills

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

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

For one project only, put the folder in .github/skills/graph 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/graph into your agent's skills folder as graph. Agents that support SKILL.md read one folder per skill.

The SKILL.md format

Graph FAQ

How do I install Graph in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/graph to use it in all your projects, or to .claude/skills/graph 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 Graph 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 Graph?

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.

What are the best alternatives to Graph?

The closest alternatives to Graph are XLSX, DOCX, PDF, Claude API and Incident postmortem.

More from opentrace/opentrace

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

    • Open source
    • 111 GitHub stars

Alternatives to Graph

  1. XLSX

    Skill

    Use this skill any time a spreadsheet file is the primary input or output

    • 196K GitHub stars
    • Files and documents
  2. DOCX

    Skill

    Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files)

    • 196K GitHub stars
    • Files and documents
  3. PDF

    Skill

    Use this skill whenever the user wants to do anything with PDF files

    • 196K GitHub stars
    • Files and documents
  4. Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model

    • 196K GitHub stars
    • AI models and LLM tooling
  5. Use when an outage, production incident, or significant service degradation has occurred and the team needs a blameless post-mortem / RCA do

    • Open source
    • 41.3K GitHub stars
    • Files and documents
  6. Guides Qdrant scaling decisions

    • Open source
    • 41.3K GitHub stars
    • Knowledge and memory