🧭
AI EngineeringTypeScript

Graft

by NanoNets

Graft is an AI Engineering skill for Claude Code, published by NanoNets in Graft.

3.1K stars271 forkson NanoNets/GraftAdded 2026/08/17+39% in starsRepository updated 2026/08/16
ai-agentsanthropicclaude-codeclicode-graphcodexcontext-engineeringcursordeveloper-toolsgeminiknowledge-graphllmmcpmcp-serveropen-sourceopenaitree-sitter
Install in seconds
Install Graft
Copy Graft into your Claude Code skills folder. Run the command in your terminal, or review the source on GitHub before installing.
terminal
npx degit https://github.com/NanoNets/Graft/tree/main/.claude/skills/graft ~/.claude/skills/graft

Requires Node.js. Downloads this skill only — not the rest of the repository — into your Claude Code skills folder.

Without Node.js

git clone https://github.com/NanoNets/Graft.git

Clones the whole repository, then copy the skill’s own directory into your skills folder yourself.

In this catalog

Source file
.claude/skills/graft/SKILL.md in NanoNets/Graft
Installs to
~/.claude/skills/graft
Collection
The only skill cataloged from this repository
Category
AI Engineering2451 skills

What Graft does

Graft is a CLI that builds and queries a codebase graph, returning file:line references and call edges so AI coding agents can locate, understand, and safely refactor code with minimal token usage.

Graft is cataloged under AI Engineering on DirSkills. Graft comes from a repository tagged ai-agents, anthropic, claude-code, cli and code-graph.

Documentation

README

graft

graft/ holds a graph of this repo: small markdown nodes that each explain one part in prose and name the exact file:line spans they cover, plus a wiring graph of who-calls-what. Querying a node costs a few hundred tokens; rebuilding that understanding by reading source costs thousands, and misses the edges.

Every command below is $0, needs no API key, and returns in under a second. There are six of them. Pick the one that fits the task, run it, act on the answer; don't chain tools hoping for more. Most tasks need one call.

The tools

This is the opening of the README. Read the full README on GitHub.

Frequently asked about Graft

  • How does Graft compare to other AI Engineering skills?

    Graft ranks #654 by stars among the 2451 AI Engineering skills in this catalog. The most-starred ones next to it are Architecture Decision Records, AI-First Engineering and Agentic OS. DirSkills ranks by the star count of the repository each skill ships in, so that order reflects how popular those repositories are rather than any review of Graft against them. Open each page to compare what they document and how they install.