# Graph the network

> Graph the network is an open-source agent skill for knowledge and memory. Build a source-graded entity graph to expose hidden links in an investigation. 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/UseOSINT/Skills/tree/main/skills/graph-the-network
- **Repository:** https://github.com/useosint/skills
- **GitHub stars:** 76
- **License:** MIT
- **Skill name:** graph-the-network
- **Collection:** https://github.com/UseOSINT/Skills
- **Categories:** [knowledge and memory](https://ai-powered.com/categories/knowledge-and-memory)
- **Listing updated:** 2026-12-03

## About

This skill guides an agent through turning a growing investigation into an entity-relationship graph, with people, companies, domains and other selectors as nodes and typed edges between them. It sets out how to decide a node and edge schema early, how to merge aliases on evidence while recording each merge, and how to attach source, retrieval date, confidence and validity dates to every relationship so weak links are not treated as fact.

The guidance covers how to read the result: looking for shared infrastructure, bridging nodes that connect separate clusters, and differences between high-degree and high-betweenness nodes. It also warns about common errors such as over-connection through shared hosting or registrar services, entity resolution mistakes, and metrics skewed by incomplete collection. Edges are graded as confirmed, probable, unconfirmed or rejected, and the agent is asked to check whether conclusions survive a confirmed-only view.

The skill assumes an analyst working with CSV node and edge files, and it points to Neo4j with Cypher for path queries, Gephi for layout and metrics, and Maltego for automated transforms. It links to related OSINT skills for pivoting from domains, emails, handles, people, companies and wallets, and includes notes on handling personal data in case graphs.

## When your agent uses it

> Build an entity-relationship link-analysis graph of an investigation — nodes, typed edges carrying source and confidence, aliases, and temporal validity — to expose shared infrastructure, bridging nodes and the real principal behind a frontman. Covers Maltego, Neo4j and Cypher, Gephi, centrality and community detection, and entity resolution. Use when an investigation has outgrown a list and needs a graph, or when asked how a set of people, companies and domains connect. Applies to fraud-ring and shell-network detection, AML and sanctions-evasion analysis, and complex corporate-structure work. Reference at useosint.com/skills/graph-the-network.

## What it can access

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

- [Instructions only, no scripts](https://github.com/UseOSINT/Skills/tree/HEAD/skills/graph-the-network)
- [License: MIT](https://github.com/UseOSINT/Skills/tree/HEAD/skills/graph-the-network)

## Features

- **Entity schema design:** Sets node and edge vocabularies, with aliases treated as attributes and merges recorded.
- **Source and confidence grading:** Attaches provenance, timestamps, confidence levels and validity dates to each relationship.
- **Bridge and centrality analysis:** Explains how to spot bridging nodes, degree versus betweenness, and community structure.
- **Over-connection safeguards:** Identifies low-value shared edges like shared hosting or registrar services and how to exclude them.
- **Tool selection guidance:** Compares CSV workflows with Neo4j, Gephi and Maltego, including Cypher path query examples.
- **Linked OSINT pivots:** Maps new selectors such as domains, emails, handles and wallets to related skills.

## Good for

- Map how a set of companies, directors and domains connect in a fraud investigation
- Find the real controlling person behind a network of front companies
- Detect shared infrastructure linking seemingly unrelated fraud domains
- Analyse ownership chains for AML or sanctions-evasion concerns
- Find the shortest relationship path between two people or companies

## Install

### Claude Code

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

```sh
/plugin marketplace add UseOSINT/Skills
/plugin install useosint@useosint
```

Or copy only this skill to `~/.claude/skills/graph-the-network`:

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/graph-the-network &&
cp -R "$tmp/skills/graph-the-network" ~/.claude/skills/graph-the-network &&
rm -rf "$tmp"
```

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

### Codex

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/graph-the-network &&
cp -R "$tmp/skills/graph-the-network" ~/.agents/skills/graph-the-network &&
rm -rf "$tmp"
```

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

### Cursor

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/graph-the-network &&
cp -R "$tmp/skills/graph-the-network" ~/.cursor/skills/graph-the-network &&
rm -rf "$tmp"
```

For one project only, put the folder in `.cursor/skills/graph-the-network` 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/UseOSINT/Skills.git --path skills/graph-the-network
```

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

### VS Code

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

```sh
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/UseOSINT/Skills.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/graph-the-network &&
cp -R "$tmp/skills/graph-the-network" ~/.copilot/skills/graph-the-network &&
rm -rf "$tmp"
```

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

### Other agents

Get the folder:

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

Then copy `Skills/skills/graph-the-network` into your agent's skills folder as `graph-the-network`. Agents that support SKILL.md read one folder per skill.

## FAQ

### When should I use Graph the network instead of a plain list of findings?

It is meant for investigations that have outgrown a list and need a graph, or when you are asked how a set of people, companies and domains connect.

### Which tools does the skill recommend?

For most cases it recommends two CSV files for nodes and edges with a simple renderer. It also covers Neo4j with Cypher for path queries, Gephi for layout and metrics, and Maltego for automated transforms, noting that Maltego and Neo4j are adopted only when there is a reason.

### How does Graph the network handle weak or uncertain links?

Each edge is graded as confirmed, probable, unconfirmed or rejected, and rejected edges are kept in the file with their reason. The skill advises checking whether conclusions still hold on a confirmed-only view.

### Does the skill include scripts?

No scripts are included. It consists of guidance, a schema reference and a tool comparison reference.

### How do I install Graph the network in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/graph-the-network to use it in all your projects, or to .claude/skills/graph-the-network in one project. Or install the useosint plugin, which includes it: /plugin marketplace add UseOSINT/Skills, then /plugin install useosint@useosint.

### Does Graph the network 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 the network?

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 network?

The closest alternatives to Graph the network are Graph, Wiki graph, Knowledge graph relation typing, Codebase memory MCP and Multi source investigation.

## Where this comes from

- Description: from the skill's own SKILL.md.

## Alternatives

- [Graph](https://ai-powered.com/skills/graph): Graph is an open-source agent skill for files and documents.
- [Wiki graph](https://ai-powered.com/skills/wiki-graph): Wiki graph is an open-source agent skill for knowledge and memory.
- [Knowledge graph relation typing](https://ai-powered.com/skills/knowledge-graph-relation-typing): Knowledge graph relation typing is an open-source agent skill for knowledge and memory.
- [Codebase memory MCP](https://ai-powered.com/skills/codebase-memory-mcp): Codebase memory MCP is an open-source agent skill for knowledge and memory.
- [Multi source investigation](https://ai-powered.com/skills/multi-source-investigation): Multi source investigation is an open-source agent skill for knowledge and memory.
- [Mini context graph](https://ai-powered.com/skills/mini-context-graph): Mini context graph is an open-source agent skill for knowledge and memory.
- [Build evidence map](https://ai-powered.com/skills/build-evidence-map): Build evidence map is an open-source agent skill for knowledge and memory.
- [Ljg relationship](https://ai-powered.com/skills/ljg-relationship): Ljg relationship is an open-source agent skill for knowledge and memory.

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