redraft-init

redraft-init is a skill for Claude Code from KaelinGraf/redraft. It costs 55 tokens per session (626 once invoked), scanned A, original, Apache-2.0.

A setup workflow for adding Redraft, a design-tracking graph, to a coding project. A design-tracking graph records relationships between project decisions or design elements.

In plain words
What is it for?
It is for creating and registering a Redraft graph for project tracking.
Why use it?
It checks whether tracking is already configured, initializes it when needed, and connects it to Claude Code while avoiding silent overwrites.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PROJECT_DIR} variable. Also seen: mentions Claude Code.

Good fit It is for creating and registering a Redraft graph for project tracking.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/kaelingraf/redraft/redraft-init
Install

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.

Any agent
npx skills add KaelinGraf/redraft --skill redraft-init
Clone the repo
git clone --depth 1 https://github.com/KaelinGraf/redraft

Made for: Claude Code.

Wrote 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.

agentmods badge for redraft-init

README.md
[![agentmods](https://agentmods.dev/badge/skills/kaelingraf/redraft/redraft-init.svg)](https://agentmods.dev/skills/kaelingraf/redraft/redraft-init)
Your own site
<a href="https://agentmods.dev/skills/kaelingraf/redraft/redraft-init"><img src="https://agentmods.dev/badge/skills/kaelingraf/redraft/redraft-init.svg" alt="Measured on agentmods" height="20"></a>
Per session 55 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00055 $0.00626
Opus 5 $0.00028 $0.00313
Sonnet 5 $0.00011 $0.00125
Haiku 4.5 $0.00006 $0.00063

Measured 8d ago against content hash 70df3ecab66e, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

redraft-init 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.

skills/redraft-init/SKILL.md · 53 lines

What it actually says

Follow these steps in order. Do not skip ahead or combine steps.

  1. Already a graph repo? Check whether graph/nodes/ exists at the project root. If it does, this project already has a redraft graph -- verify .mcp.json points at it and stop here; do not re-initialize or touch anything.

  2. Is the engine installed? Run command -v redraft. If it's missing, print the install steps verbatim for the user to run themselves and stop -- do not install it yourself:

    git clone https://github.com/KaelinGraf/redraft.git redraft
    cd redraft
    uv tool install --from . redraft
    
  3. Birth the graph. Run redraft init <project root>/redraft-graph. If that directory already exists and is non-empty, ask the user first before doing anything -- never overwrite silently.

  4. Register it at project scope:

    claude mcp add --scope project -e REDRAFT_DIR=<abs path to redraft-graph> -e PYTHONPATH= --transport stdio redraft -- redraft serve
    

    Do not use ${CLAUDE_PROJECT_DIR} here: this .mcp.json is registered from the code project, so CLAUDE_PROJECT_DIR would expand to the code project's root, not the graph directory -- REDRAFT_DIR must be spelled out as an absolute path.

  5. Gitignore it. Append redraft-graph/ to the project's own .gitignore -- the graph is a separate repo with its own git history (see the engine's README, "Engine and graph are separate repos"); it must never be swept into the code project's commits.

  6. Tell the user to restart the session. The MCP tools do not appear until Claude Code restarts. Never claim the tools are live before that happens.

  7. Report back compactly: where the graph was birthed, that it's registered at project scope, and that a restart is needed.

What NOT to do

  • Never use --scope user -- this graph belongs to this project, not to every project the user opens.
  • Never point REDRAFT_DIR at the code project's own root -- it must be the dedicated graph directory from step 3, never the root that holds the project's source.
  • Never seed or write any nodes during setup. Setup only births an empty graph and registers it; populating it is a separate, later activity driven by the organizing protocol.
Changes

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.

  1. 8d ago First seen · 53 lines · 55 tokens per session scan A 70df3ecab66e

Subscribe to this mod's changes

redraft-init is a skill published in the GitHub repository KaelinGraf/redraft (3 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 55 tokens to every session and 626 once invoked, about $0.0003 per session on Opus 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-08-31.

Related

Other skills, from other repositories

huashu-keynote-black

OpenDesign's all-hands: the year in review, the three priorities, and what every team owns next quarter. Built as a decision-grade corporate strategy deck for whole company.

nexu-io/open-design · 43 tokens

understand-figma

Analyze a Figma file via the Figma REST API and generate an interactive design knowledge graph (pages, screens, components, component sets, instances, design tokens) with a kind:"design" dashboard.

Egonex-AI/Understand-Anything · 47 tokens

kanban-board

A Kanban board is a visual task list with columns for stages such as To do, In progress, In review, and Done. It can show filters, labels, due dates, assignees, comments, and swimlanes that group cards.

nexu-io/html-anything · 26 tokens

acid-blue-business

A visual presentation style for modern business topics, using electric blue with black, white, and grey, directional layouts, and clear spacing. It is intended for business content rather than traditional data dashboards.

arcsin1/oh-my-ppt · 0 tokens

product-roadmap

Track milestone progress across four layers of truth — decision state (PDR status), execution state (live issue tracker via MCP), evidence state (code-vs-PDR verification), and gate state (milestone gates). Shows honest completion, done-means warnings, and updates status only when all layers are green. Use for weekly…

tikalk/adlc-team-skills · 75 tokens

workspace

Multi-repo workspace coordinator for shared team context. Initialize .adlc/ structure, configure .gitignore, discover child repos, link them as Git submodules, and audit workspace health. Use --init for first-time setup, default mode for ongoing auditing.

tikalk/adlc-team-skills · 54 tokens