# Mini context graph

> Mini context graph is an open-source agent skill for knowledge and memory. A persistent, compounding knowledge base combining Karpathy's LLM Wiki pattern with a structured 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/github/awesome-copilot/tree/main/skills/mini-context-graph
- **Repository:** https://github.com/github/awesome-copilot
- **GitHub stars:** 41,254
- **License:** MIT
- **Skill name:** mini-context-graph
- **Collection:** https://github.com/github/awesome-copilot
- **Categories:** knowledge and memory
- **Listing updated:** 2026-11-17

## About

A persistent, compounding knowledge base combining Karpathy's LLM Wiki pattern
with a structured knowledge graph. Ingest documents once — the LLM writes wiki
pages, extracts entities/relations into the graph, and stores raw content for
evidence retrieval. Knowledge accumulates and cross-references; it is never
re-derived from scratch.

## When your agent uses it

> A persistent, compounding knowledge base combining Karpathy's LLM Wiki pattern with a structured knowledge graph. Ingest documents once — the LLM writes wiki pages, extracts entities/relations into the graph, and stores raw content for evidence retrieval. Knowledge accumulates and cross-references; it is never re-derived from scratch.

## What it can access

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

- [Runs Python scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/mini-context-graph)
- [No network calls found in its scripts](https://github.com/github/awesome-copilot/tree/HEAD/skills/mini-context-graph)
- [License: MIT](https://github.com/github/awesome-copilot/tree/HEAD/skills/mini-context-graph)

## Install

### Claude Code

Copy the skill folder to `~/.claude/skills/mini-context-graph` to use it in all your projects:

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

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

### Codex

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

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

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

### Cursor

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

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

For one project only, put the folder in `.cursor/skills/mini-context-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/github/awesome-copilot.git --path skills/mini-context-graph
```

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

### VS Code

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

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

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

### Other agents

Get the folder:

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

Then copy `awesome-copilot/skills/mini-context-graph` into your agent's skills folder as `mini-context-graph`. Agents that support SKILL.md read one folder per skill.

## FAQ

### How do I install Mini context graph in Claude Code?

Copy the skill folder from GitHub to ~/.claude/skills/mini-context-graph to use it in all your projects, or to .claude/skills/mini-context-graph in one project.

### Does Mini context graph run scripts?

Yes. It runs Python scripts. No network calls were found in its 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 Mini context 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 Mini context graph?

The closest alternatives to Mini context graph are Claude API, Qdrant horizontal scaling, Pinecone rag, Qdrant memory usage optimization and Qdrant scaling query volume.

## Alternatives

- [Claude API](https://ai-powered.com/skills/claude-api): Claude API is an agent skill for ai models and llm tooling.
- [Qdrant horizontal scaling](https://ai-powered.com/skills/qdrant-horizontal-scaling): Qdrant horizontal scaling is an open-source agent skill for knowledge and memory.
- [Pinecone rag](https://ai-powered.com/skills/pinecone-rag): Pinecone rag is an open-source agent skill for knowledge and memory.
- [Qdrant memory usage optimization](https://ai-powered.com/skills/qdrant-memory-usage-optimization): Qdrant memory usage optimization is an open-source agent skill for knowledge and memory.
- [Qdrant scaling query volume](https://ai-powered.com/skills/qdrant-scaling-query-volume): Qdrant scaling query volume is an open-source agent skill for knowledge and memory.
- [Qdrant search quality diagnosis](https://ai-powered.com/skills/qdrant-search-quality-diagnosis): Qdrant search quality diagnosis is an open-source agent skill for knowledge and memory.
- [Qdrant vertical scaling](https://ai-powered.com/skills/qdrant-vertical-scaling): Qdrant vertical scaling is an open-source agent skill for knowledge and memory.
- [Qdrant monitoring setup](https://ai-powered.com/skills/qdrant-monitoring-setup): Qdrant monitoring setup is an open-source agent skill for knowledge and memory.

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