# Graph

> Graph is an open-source agent skill for files and documents. Run the full OpenTrace knowledge-graph pipeline over a folder or repo — index, clustering, highlight surfacing, and the markdown / graphml /. 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/graph
- **Repository:** https://github.com/opentrace/opentrace
- **GitHub stars:** 111
- **License:** Apache-2.0
- **Skill name:** graph
- **Collection:** https://github.com/opentrace/opentrace
- **Categories:** files and documents, knowledge and memory
- **Listing updated:** 2026-11-17

## About

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

## 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

## 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/graph)
- [Asks for: Bash, Read, Write, Agent, mcp__opentrace_oss__search_graph, mcp__opentrace_oss__get_node, mcp__opentrace_oss__traverse_graph, mcp__opentrace_oss__list_nodes…](https://github.com/opentrace/opentrace/blob/HEAD/plugins/claude-code/skills/graph/SKILL.md)
- [License: Apache-2.0](https://github.com/opentrace/opentrace/tree/HEAD/plugins/claude-code/skills/graph)

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

```sh
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.

### Codex

Copy the skill folder to `~/.agents/skills/graph` 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/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.

### Cursor

Copy the skill folder to `~/.cursor/skills/graph` 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/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.

### 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/graph
```

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

### VS Code

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

```sh
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.

### Other agents

Get the folder:

```sh
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.

## 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.

## Alternatives

- [XLSX](https://ai-powered.com/skills/xlsx): XLSX is an agent skill for files and documents.
- [DOCX](https://ai-powered.com/skills/docx-anthropics): DOCX is an agent skill for files and documents.
- [PDF](https://ai-powered.com/skills/pdf-anthropics): PDF is an agent skill for files and documents.
- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Incident postmortem](https://ai-powered.com/skills/incident-postmortem): Incident postmortem is an open-source agent skill for files and documents.
- [Qdrant scaling](https://ai-powered.com/skills/qdrant-scaling): Qdrant scaling is an open-source agent skill for knowledge and memory.
- [Update markdown file index](https://ai-powered.com/skills/update-markdown-file-index): Update markdown file index is an open-source agent skill for files and documents.
- [Qdrant search quality](https://ai-powered.com/skills/qdrant-search-quality): Qdrant search quality is an open-source agent skill for knowledge and memory.

---
Source: https://ai-powered.com/skills/graph
