Skip to content

Turbocharge Claude Code, Cursor, Codex, Gemini & every coding agent: faster, cheaper, with contextual understanding specific to your codebase.

Document the languages indexed and Claude's owned skill file

anirudhkumar-nanonets6053d1d42c62
diff --git a/CHANGELOG.md b/CHANGELOG.md
index 83ed5866..a050e4a4 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -4,6 +4,16 @@
### Fixed
+- **The build banner and repo map now name the language, not its parser.** JavaScript
+ files (`.js`, `.mjs`, `.cjs`) use the TypeScript grammar internally, and `.jsx`
+ uses the TSX grammar, but reporting those parser names made indexed files look
+ absent. Coverage now reports `javascript` and `jsx` alongside the existing
+ `typescript`, `tsx`, `python`, and `go` labels ([#36]).
+
+- **README: `init` does not write a `CLAUDE.md` section.** Claude Code receives the
+ wholly-owned `.claude/skills/graft/SKILL.md`; existing `CLAUDE.md` content is
+ never touched ([#36]).
+
- **Windows: `graft upgrade` no longer reinstalls over an npx run.** The npx-cache check
matched `/_npx/` against a path that arrives with the platform separator, so it was
always false on Windows and `graft upgrade` ran `npm install -g` instead of explaining
@@ -64,6 +74,7 @@
[#33]: https://github.com/NanoNets/Graft/issues/33
[#35]: https://github.com/NanoNets/Graft/issues/35
+[#36]: https://github.com/NanoNets/Graft/issues/36
## 0.8.2
diff --git a/README.md b/README.md
index 7493364b..eaf39522 100644
--- a/README.md
+++ b/README.md
@@ -213,7 +213,7 @@ npx @nanonets/graft init
# Claude Code additionally gets the live statusline + hooks below
```
-On a terminal, `init` shows you every agent it knows about — flagging the ones it detected (via their config directories) and listing the exact files each would write — and wires only the ones you select. Claude Code is pre-selected; nothing else is. Selected agents get a marker-fenced Graft section in their shared instruction file — `AGENTS.md` (Codex, OpenCode and other CLIs that read it), `GEMINI.md`, `.github/copilot-instructions.md` — or a wholly-owned rule/skill file for the agents that use one — `.cursor/rules/graft.mdc`, `.kiro/steering/graft.md`, `.windsurf/rules/graft.md`, `.adal/skills/graft/SKILL.md` for [AdaL](https://adal.sylph.ai) (progressive-disclosure skill, same shape as the Claude Code skill below). Re-running only updates Graft's own section (or replaces the owned file) and never touches the rest of your content.
+On a terminal, `init` shows you every agent it knows about — flagging the ones it detected (via their config directories) and listing the exact files each would write — and wires only the ones you select. Claude Code is pre-selected; nothing else is. Selected agents get a marker-fenced Graft section in their shared instruction file — `AGENTS.md` (Codex, OpenCode and other CLIs that read it), `GEMINI.md`, `.github/copilot-instructions.md` — or a wholly-owned rule/skill file for the agents that use one: `.claude/skills/graft/SKILL.md`, `.cursor/rules/graft.mdc`, `.kiro/steering/graft.md`, `.windsurf/rules/graft.md`, `.adal/skills/graft/SKILL.md` for [AdaL](https://adal.sylph.ai). Claude Code is in the second group: `init` writes its own skill file and never touches your `CLAUDE.md`. Re-running only updates Graft's own section (or replaces the owned file) and never touches the rest of your content.
With no TTY to prompt on — CI, a Dockerfile, a piped shell — `init` writes **nothing** and prints the command to run instead. Pass `--agents <ids>` or `--yes` to make a scripted run explicit.
@@ -264,7 +264,7 @@ Where a CLI agent supports user-level `hooks.json`, `init` also installs Graft's
### Claude Code (deep integration)
-`graft init` always wires up Claude Code, and Claude Code gets more than an instruction file. From then on, any Claude Code session opened in the repo gets:
+`graft init` always wires up Claude Code, and Claude Code gets more than the skill file above. From then on, any Claude Code session opened in the repo gets:
- **a live statusline** — graph size, % enriched, and a `⚠ N stale` warning when the code has moved ahead of the graph
- **auto-sync** — every graft query brings the graph up to date first, so an answer always describes the code as it is right now, uncommitted edits included. A query refreshes only what it reads; the markdown under `graft/` is refreshed by the background rebuild at the end of a turn that touched code. Both are structural and `$0` — auto-sync never calls the LLM on its own