kenjaku: Skill for Claude Code

.claude/skills/import/SKILL.md

import is a skill for Claude Code from tpierrain/kenjaku. It costs 131 tokens per session (1,907 once invoked), scanned A, original, Apache-2.0.

A safe import workflow for moving notes and attachments from an older second brain or another external notes folder into the current one.

In plain words
What is it for?
Use it to choose a source, review the planned transfer, copy the content, and reindex the imported notes.
Why use it?
It helps recover useful notes without bringing along the previous system's engine or unrelated files.

Skill for Claude Code

Written for Claude Code: installed under .claude/. Also seen: mentions CLAUDE.md.

This is tpierrain/kenjaku's own configuration. It tells Claude Code how to work on kenjaku itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything kenjaku configures →

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/pick-folder.mjs "Choose the folder of your previous brain".

Reuse

Borrowing it

Nothing to install: this file belongs to tpierrain/kenjaku. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/tpierrain/kenjaku/main/.claude/skills/import/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/tpierrain/kenjaku

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 import

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/tpierrain/kenjaku/import"><img src="https://agentmods.dev/badge/skills/tpierrain/kenjaku/import.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 131 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,907 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. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
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.00131 $0.01907
Opus 5.5 $0.00052 $0.00763
Sonnet 5.5 $0.00026 $0.00381
Haiku 4.5 $0.00013 $0.00191

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

Security

Grade A, and why

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

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.

.claude/skills/import/SKILL.md · 136 lines

How it starts

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

/import — Re-home a previous brain's notes into this one (opt-in, non-destructive)

Brain-side skill. It brings the notes (and attachments) of a previous second brain — or any external Obsidian-style vault — into this brain's vault/, safely. It copies only your content, never the old engine, .git or .claude.

⚠️ This is a thin conversational driver. All the real, testable work lives in the deterministic core scripts/import-brain.mjs + scripts/lib/import-vault.mjs (ADR 0009/0019). This skill only asks for the source, shows the plan, confirms, runs the core, reindexes, and reports — it holds no logic of its own.

When to use it

Load this whenever the user wants to bring in notes from elsewhere, in plain language and in any language — no special vocabulary required:

  • "importe / migre / rapatrie / récupère mes anciennes notes depuis <chemin>"
  • "import / migrate / transport / recover my old (or previous) second brain"
  • "I had a brain before v3 — bring its notes over"

🧬 Flavour, not a trigger (you never need to say it): we nickname this the Kenjaku move — transplanting a mind into a new vessel. It is pure lore for the README/prose. A user who has never heard of it must trigger the import with ordinary words — and they do.

Golden rule — OPT-IN, confirm before any write

The core's plan phase performs zero writes. Show the plan, then get an explicit yes before the apply phase copies anything. Importing other people's old notes into a brain is a conscious, accepted action.

What it touches vs NEVER touches

Imported (your content) NEVER touched
the source vault's notes (.md) the old engine (rag/, launchers, scripts)
attachments (images/PDFs) travelling with them the source's .git, .claude, .obsidian, dotfiles
subfolder structure + accented names (preserved) your existing notes — a name collision is skipped, never overwritten
demo / example notes (tags: [exemple]) — left behind
this brain's .env, CLAUDE.md, settings, skills

Read the full file on GitHub · 136 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 First seen · 136 lines · 131 tokens per session scan A b8f444348968

Subscribe to this mod's changes

import is a skill published in the GitHub repository tpierrain/kenjaku (96 stars, last pushed 1mo ago), licensed Apache-2.0. It adds 131 tokens to every session and 1,907 once invoked, about $0.0005 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-08-30.

Related

import compared with skills from other repositories

import next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
importtpierrain/kenjakuSkill961mo agoApache-2.0A131Claude Code
refresh-contextjohnfkoo951/cmds-llm-wikiSkill10216d agononeA51Claude Code, Codex
brain-queryHAR5HA-7663/graphify-starterSkill21mo agononeA99Claude Code, Codex
wiki-queryHAR5HA-7663/graphify-starterSkill21mo agononeA61Claude Code, Codex
obsidian-basesAgriciDaniel/claude-obsidianSkill16k12d agoMITA75Claude Code
wiki-foldAgriciDaniel/claude-obsidianSkill16k12d agoMITA76Claude Code
yopediayologdev/yoyo-evolveSkill1.9kyesterdayMITA25Claude Code, Codex