kin-setup

kin-setup is a skill for Claude Code from firelock-ai/kin. It costs 57 tokens per session (1,215 once invoked), scanned C, original, Apache-2.0.

A setup guide for connecting Kin to a repository so its code relationship map can answer questions.

In plain words
What is it for?
It checks the connection, prepares the repository, and diagnoses missing tools, graph data, or semantic-search coverage.
Why use it?
Kin needs the repository admitted into its graph before graph-based tools can return useful results.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the kin plugin — 3 skills shipped together

Good fit It checks the connection, prepares the repository, and diagnoses missing tools, graph data, or semantic-search coverage.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/firelock-ai/kin/kin-setup
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 firelock-ai/kin --skill kin-setup
Clone the repo
git clone --depth 1 https://github.com/firelock-ai/kin

Made for: Claude Code.

Or install kin, the plugin that ships this one along with the rest of its 3 skills.

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 kin-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/firelock-ai/kin/kin-setup/github.svg)](https://agentmods.dev/skills/firelock-ai/kin/kin-setup)
Your own site
<a href="https://agentmods.dev/skills/firelock-ai/kin/kin-setup"><img src="https://agentmods.dev/badge/skills/firelock-ai/kin/kin-setup/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.

agentmods 80×15 button for kin-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/firelock-ai/kin/kin-setup"><img src="https://agentmods.dev/badge/skills/firelock-ai/kin/kin-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 57 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,215 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 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.00057 $0.01215
Opus 5.5 $0.00023 $0.00486
Sonnet 5.5 $0.00011 $0.00243
Haiku 4.5 $0.00006 $0.00121

Measured 2mo ago against content hash a0948497e0d3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

kin-setup scanned grade C with 2 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 2mo 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.

Downloads and executes remote codehighSupply chain

curl | sh runs whatever the server returns today, which is not necessarily what it returned when this was reviewed.

machine without Node, use `curl -fsSL https://get.kinlab.dev/install | sh` on macOS or

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

machine without Node, use `curl -fsSL https://get.kinlab.dev/install | sh` on macOS or
plugins/kin-claude/skills/kin-setup/SKILL.md · 92 lines

How it starts

The opening of the file, as written. The whole thing — 92 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Getting Kin answering for this repository

The plugin bundles the Kin MCP server and starts it automatically when the plugin is enabled. Nothing needs to be added to a settings file. What the server still needs is a repository that has been admitted into Kin, because it answers from a graph rather than from the files on disk.

Work through the steps in order and stop at the first one that already passes.

1. Check what is already there

Call kin_graph_status. A response with entity and relation counts means the server is connected and this repository is admitted, and there is nothing to set up. Note the embedding coverage it reports, because semantic_locate depends on it.

If kin_startup_status is the only Kin tool listed, the server is on its first run and is still downloading Kin. Call it to see how far the download has come. Kin's tools are listed when it finishes; if they do not appear once it reports that Kin is ready, the client did not refresh its tool list, and reconnecting the server shows them.

If the tools are not available at all, the server did not start. It runs npx -y @kinlab/kin-mcp, so it needs Node 20 or newer on PATH, and on its first run it needs network access to download the matching Kin release. That first run fetches the release archive for this platform, verifies the SHA-256 published beside it, and extracts the kin and kin-daemon binaries into a per-user cache. Later runs use the cache.

2. Admit the repository

If the tools report that no repository is bound, this directory has no .kin/ yet. The server starts there anyway: it answers initialize and tools/list, and each graph tool answers by naming the gap and saying to run kin init .. It never creates a repository on its own unless it is allowed to.

Ask the user which they want, and say what each does:

  • Run kin init . in the repository. In a Git repository this admits the complete reachable history, refs, raw objects, the exact workspace tree, and the derived semantic entity and relation layer. Uncommitted work is not lost: init admits the committed state and reports what it did not admit.
  • Or set KIN_MCP_AUTO_INIT=1 in the server's environment, which lets the wrapper run kin init . itself when .kin/ is missing. Convenient, and worth naming out loud before turning on, because it means an agent session can admit a repository without being asked.

Read the full file on GitHub · 92 lines

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. 2mo ago Changed · +12 lines a0948497e0d3
  2. 2mo ago Changed · +1 lines 016d729ae217
  3. 3mo ago First seen · 79 lines · 57 tokens per session scan C 3df90799b6f3

Subscribe to this mod's changes

kin-setup is a skill published in the GitHub repository firelock-ai/kin (68 stars, last pushed 2mo ago), licensed Apache-2.0. It adds 57 tokens to every session and 1,215 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 2 findings (downloads and executes remote code, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

kin-setup compared with skills from other repositories

kin-setup next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
kin-setupfirelock-ai/kinSkill682mo agoApache-2.0C57Claude Code
huggingface-tokenizersdavila7/claude-code-templatesSkill34ktodayMITA75Claude Code, Codex
v4-best-practicesHmbown/CodeWhaleSkill41kyesterdayMITA51Claude Code, Codex
ax-rust-signatureax-llm/axSkill3.0ktodayApache-2.0A36Claude Code, Codex
open-ontologiesfabio-rovai/open-ontologiesSkill3.1k6d agoMITA109Claude Code
ontology-engineeringfabio-rovai/open-ontologiesSkill3.1k6d agoMITA47Claude Code
ax-rust-llmax-llm/axSkill3.0ktodayApache-2.0A37Claude Code, Codex