Getting it into your agent
One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.
npx skills add Rune-kit/rune --skill graftgit clone --depth 1 https://github.com/Rune-kit/runeWrote this? Show the measurements
A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.
[](https://agentmods.dev/skills/rune-kit/rune/graft)<a href="https://agentmods.dev/skills/rune-kit/rune/graft"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/graft/github.svg" alt="Measured on agentmods" height="20"></a>Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.
<a href="https://agentmods.dev/skills/rune-kit/rune/graft"><img src="https://agentmods.dev/badge/skills/rune-kit/rune/graft.svg" alt="Reviewed on agentmods" width="80" height="20"></a>What it costs to keep this loaded
Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00063 | $0.04405 |
| Opus 5.5 | $0.00025 | $0.01762 |
| Sonnet 5.5 | $0.00013 | $0.00881 |
| Haiku 4.5 | $0.00006 | $0.00441 |
Grade A, and why
graft scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 8d ago.
A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.
Nothing flagged
None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.
How it starts
The opening of the file, as written. The whole thing — 385 lines — stays where its author put it; the contents beside it link to each section on GitHub.
graft
Purpose
External code intelligence — structured workflow for learning from, adapting, and integrating features from any public repository into your project. Graft is NOT a copy-paste tool. It enforces understanding before adoption through a mandatory challenge gate that evaluates license compatibility, stack fit, scope, quality, and maintenance health before any code touches your codebase.
Core Rule: The Tree is a Menu, Not the Meal
When you clone a repo you see hundreds of files. That tree is a menu — options to order from, not a meal to eat. Grafting the whole tree is how context windows die and foreign patterns leak into your codebase.
- Read the README + the 2-5 files that implement the target feature. Skip the rest.
- If you cannot name the specific files you need before reading, you do not know what you want yet — go back to Step 0 and narrow scope.
WebFetchon raw GitHub URLs beatsgit clonewhenever you know the exact files. Use clone only when discovery is genuinely needed.
Reading to understand is not grafting. The discipline above caps the graft scope — the files you actually transplant, port, or improve into your codebase (2-5, hard-cap 10). It does NOT cap how many files you may read to learn a pattern. Studying a 24-skill library to extract one convention legitimately reads dozens of files but grafts almost none. Keep the two counts separate: a wide read with a narrow graft is thorough; a wide graft is the failure mode.
This menu discipline applies to the transplant modes (port, copy, improve). Copy mode is not an excuse to import a directory wholesale — you still select files deliberately. Compare mode and survey scope (--deep) are exempt from the read cap by design: their job is breadth of understanding, not transplant. They still must NOT import code wholesale — wide reading, narrow (or zero) graft.
What ships with it
2 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
What this file has done since we first saw it
Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.
- 8d ago First seen · 385 lines · 63 tokens per session scan A 6059f7467afb
graft is a skill published in the GitHub repository Rune-kit/rune (96 stars, last pushed yesterday), licensed MIT. It adds 63 tokens to every session and 4,405 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-22.
graft compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| graftRune-kit/rune | Skill | 96 | yesterday | MIT | A | 63 | Claude Code |
| criticism-self-criticismHughYau/qiushi-skill | Skill | 4.0k | 2d ago | MIT | A | 197 | Claude Code |
| fix-pr-review-looprichkuo/rk-skills | Skill | 50 | today | MIT | A | 90 | Claude Code |
| validate-issuerichkuo/rk-skills | Skill | 50 | today | MIT | A | 55 | Claude Code |
| fable-validate-looprichkuo/rk-skills | Skill | 50 | today | MIT | A | 102 | Claude Code |
| refactorsmallnest/goal-workflow | Skill | 303 | 2mo ago | MIT | A | 71 | Claude Code |
| walkthroughsmallnest/goal-workflow | Skill | 303 | 2mo ago | MIT | A | 131 | Claude Code |