agentsclimarketplace

Repo graph init

Skill James-Chahwan/repo-graph/skills/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.From its SKILL.md

Install
npx -y skills add James-Chahwan/repo-graph --skill repo-graph-init

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

SKILL.md

1.1 KB, as published. Nobody here has run it

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.

Keep looking

Skills are one crate of 618,202. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.