init

init is a skill for Claude Code from rekal-dev/rekal-cli. It costs 81 tokens per session (639 once invoked), scanned A, original, Apache-2.0.

A setup command for Rekal, a repository memory system that stores project knowledge and captures sessions through Git hooks. Git hooks are automatic actions that run during Git operations such as commits or pushes.

In plain words
What is it for?
Use it once when setting up Rekal in a repository. It creates the local memory store, Git hooks, an exchange branch, and agent instructions.
Why use it?
It prepares the repository so Rekal can save and recall project context across work sessions. It also adds the instructions and Git integration needed for that memory workflow.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

Part of the rekal plugin — 2 skills shipped together

Good fit Use it once when setting up Rekal in a repository. It creates the local memory store, Git hooks, an exchange branch, and agent instructions.

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

Made for: Claude Code.

Or install rekal, the plugin that ships this one along with the rest of its 2 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 init

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/rekal-dev/rekal-cli/init"><img src="https://agentmods.dev/badge/skills/rekal-dev/rekal-cli/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 81 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 639 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.00081 $0.00639
Opus 5.5 $0.00032 $0.00256
Sonnet 5.5 $0.00016 $0.00128
Haiku 4.5 $0.00008 $0.00064

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

Security

Grade A, and why

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 20d 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.

plugin/skills/init/SKILL.md · 67 lines

How it starts

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

Initialize Rekal in this repository

Run in each repository; rerun to refresh managed skills, hooks and instruction lines. The binary must already be installed — if rekal is not on PATH, use the install skill first.

Do not volunteer this

This skill is loaded in every repository the user opens. Almost none of them should be initialized. Act when the user asks, or when a rekal command has actually reported the repo is not initialized. A repository simply lacking .rekal/ is not a reason to suggest anything.

Explain the setup

When the user requests setup, run it within that authorization. Otherwise confirm before initializing a repository. Explain what rekal init writes:

  • .rekal/ — the store (two files: an append-only data.db, a local index.db)
  • post-commit / pre-push hooks for capture on commit and sharing on push
  • an orphan branch rekal/<their-email> used to transport memory over git
  • the full recall skill under .claude/skills/rekal/
  • one marker-tagged line in CLAUDE.md, plus the equivalent line in any other agent rules file it detects (AGENTS.md, GEMINI.md, .github/copilot-instructions.md, .kiro/steering/rekal.md)

Existing user instructions are preserved; the managed marker line is added or refreshed. Existing custom hooks are preserved; read any integration notices. rekal clean removes local repository setup, not copies already shared remotely.

If the user declines, stop and say so plainly.

Run it

From the repository root:

rekal init

After

Explain what is ready:

  • Existing context can be available immediately. Init captures discoverable sessions and supported memory notes and builds the local index. If there is no history yet, work and commit normally; an empty result is expected.
  • Native notes are observed, not rewritten. Claude project notes are discovered by default; other sources are configurable. Explicitly local notes stay local. Eligible repository records can travel through Git.
  • If the team already shares a ledger, rekal sync pulls it now and recall has something to find immediately.

Read the full file on GitHub · 67 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. 20d ago Changed · +6 lines · +6 tokens per session ff8fc921d9fe
  2. 3mo ago First seen · 61 lines · 75 tokens per session scan A a0f6700ecef9

Subscribe to this mod's changes

init is a skill published in the GitHub repository rekal-dev/rekal-cli (205 stars, last pushed 19d ago), licensed Apache-2.0. It adds 81 tokens to every session and 639 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-08-30.

Related

init compared with skills from other repositories

init next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
initrekal-dev/rekal-cliSkill20519d agoApache-2.0A81Claude Code
memex-synciamtouchskyer/memexSkill144yesterdayMITA15Claude Code
unforgit-memoryMiguelMedeiros/unforgitSkill13yesterdayMITA27Claude Code
repo-hygieneQwenLM/qwen-codeSkill31ktodayApache-2.0A48Claude Code, Codex
create-issueQwenLM/qwen-codeSkill31ktodayApache-2.0A26Claude Code
docs-update-from-diffQwenLM/qwen-codeSkill31ktodayApache-2.0A75Claude Code, Codex
prepare-prQwenLM/qwen-codeSkill31ktodayApache-2.0A42Claude Code