Skip to content
Agentmart
Submit a tool

repo-graph-init

Set up or rebuild the structural graph for a repo — on first use, after a big refactor, or to wire repo-graph into a project permanently.

Skill by James-Chahwan

IndexedMIT★ 87
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/james-chahwan-repo-graph-init

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

Set up or rebuild the structural graph for a repo — on first use, after a big refactor, or to wire repo-graph into a project permanently.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/repo-graph-init

What's inside

Skill name
repo-graph-init
Description
Set up or rebuild the structural graph for a repo — on first use, after a big refactor, or to wire repo-graph into a project permanently.
License
MIT
Instructions
20 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# repo-graph init

Build the graph so the other skills have something to read.

## When to use

- First time using repo-graph in a repo (no graph yet).
- After a large refactor or branch switch — the graph is stale.

## Steps

1. First use: call `refresh` (optionally `repo_path=<local path or git URL>`). It scans with tree-sitter, runs the cross-stack resolvers, and caches the result. (The server also builds the graph automatically on first connect, so this is only needed to force it.)
2. After code changes: call `refresh` again — incremental, so only changed files re-parse. Add `full=true` to force a clean reparse. Routine edits are picked up automatically by the file watcher.
3. To add repo-graph to a project for good, drop an `.mcp.json` at the repo root:

       {"mcpServers":{"repo-graph":{"command":"uvx","args":["mcp-repo-graph","--repo","."]}}}

4. Call `orient` to confirm it loaded.

From James-Chahwan/repo-graph, MIT.

Signals

Stars
87
Forks
1
Open issues
1
Contributors
1
Last commit (this folder)
Jul 8, 2026 (3 months ago)
Last release
Oct 2, 2026 (26 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from James-Chahwan

Cite this page

repo-graph-init skill. Agent Mart. https://agentmart.dev/skills/james-chahwan-repo-graph-init (last updated 2026-10-24)