init

init is a skill for Claude Code from rafael-adcp/kraken. It costs 66 tokens per session (1,847 once invoked), scanned A, original, MIT.

A setup skill for a private GitHub coordination repository used by Kraken to receive tasks. It creates the repository setup, installs a task template, removes older server-side files, and creates workflow labels.

In plain words
What is it for?
Use it to initialize a Kraken coordination repository, optionally add a project label, and make the repository ready to receive tasks.
Why use it?
It prepares the task queue in one controlled step and avoids leaving obsolete execution files in the coordination repository.

Skill for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: reads .claude/ paths.

Part of the kraken plugin — 3 skills, 3 hooks shipped together

Good fit Use it to initialize a Kraken coordination repository, optionally add a project label, and make the repository ready to receive tasks.

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

Made for: Claude Code.

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

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/rafael-adcp/kraken/init/github.svg)](https://agentmods.dev/skills/rafael-adcp/kraken/init)
Your own site
<a href="https://agentmods.dev/skills/rafael-adcp/kraken/init"><img src="https://agentmods.dev/badge/skills/rafael-adcp/kraken/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/rafael-adcp/kraken/init"><img src="https://agentmods.dev/badge/skills/rafael-adcp/kraken/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 66 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,847 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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.00066 $0.01847
Opus 5.5 $0.00026 $0.00739
Sonnet 5.5 $0.00013 $0.00369
Haiku 4.5 $0.00007 $0.00185

Measured 2d ago against content hash 3fac3c7f2afd, 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 1 finding 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 2d 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.

Makes network callslowCapability

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

copies match the installed plugin version and work offline. Never `curl` from
skills/init/SKILL.md · 139 lines

How it starts

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

Kraken — raise the head

You are the setup step for kraken: given a coordination-repo slug, you make that repo ready to receive tasks — the private repo exists, the task template is committed, everything an earlier release installed to be executed there is deleted, and the state-machine labels are created. Under kraken-protocol/9 the coordination repo runs nothing of its own, so it needs no GitHub Actions and carries no copy of the transition program. This is the symmetric partner to status (the read-only console): init builds the queue, status reads it. You touch no issues — none read, none written.

Invocation

/kraken:init OWNER/tasks [--project <name>]

The prefix is the harness's spelling (Pi: /skill:init); the arguments are the same everywhere.

The OWNER/tasks argument is REQUIRED — the coordination repo to stand up. Missing? Do not guess. Ask for it and stop.

A slug that is still the doc placeholder (OWNER/..., or anything wearing </>) is refused by the program itself, before any read or write: substitute your real owner/repo and re-run.

When the repo does not exist yet, init creates it under the account the token authenticates as — so if that account is not the slug's owner, it refuses (exit 2) and names both, instead of creating a repo nobody asked for. Relay that message: the operator switches account (gh auth switch) or creates the repo under the owner first, then re-runs.

--project <name> is optional. When passed, also create the project:<name> label so the first project is ready to queue against.

There is no repair flag, and no version handshake between the plugin and the coordination repo: under kraken-protocol/9 the repo holds no copy of the transition program, so there is no second copy to fall out of date.

Design decisions

  • The mechanics live in kraken.py init, not in this prose. Standing a repo up — verify-or-create it private, install the bundled assets, upsert the canonical labels — is deterministic, zero-judgment work, so it is executed by the bundled kraken.py (the same program unleash and status use), once, identically, token-free, and testable against the conformance stub. This skill only invokes it, renders its report, and prints the settings reminder. Same rule that produced claim-next and status.
  • Assets ship in the plugin, never fetched from the network. task-template.yml lives in this plugin's skills/unleash/ folder — kraken.py init reads it from there and commits it via the GitHub contents API. The bundled copies match the installed plugin version and work offline. Never curl from raw.githubusercontent.com.
  • Idempotent and non-destructive by construction. kraken.py init creates the repo only if absent, creates each asset only if absent, and upserts the labels with their canonical color/description. An existing file is reported present and left exactly as it is. Re-running is safe.
  • Nothing installed is executed, so nothing has to stay in sync. The one asset is an issue form — it shapes a task on the way in and runs no code. A template the operator tuned is their business, not drift to police, which is why there is no --upgrade, no byte comparison and no refusal path.
  • Re-running init is the migration. A coordination repo stood up by an older release still carries the workflows and the vendored program that release installed; a cron left running against retired semantics keeps mutating labels behind every worker's back. So init DELETES them — gated on kraken's own file header, so something the operator wrote at one of those paths is never destroyed by a bootstrap command.

Read the full file on GitHub · 139 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. 2d ago Changed · +4 lines 3fac3c7f2afd
  2. 1mo ago Changed · +8 lines 25cbd26eb373
  3. 1mo ago First seen · 127 lines · 66 tokens per session scan A 08433076e82a

Subscribe to this mod's changes

init is a skill published in the GitHub repository rafael-adcp/kraken (4 stars, last pushed 2d ago), licensed MIT. It adds 66 tokens to every session and 1,847 once invoked, about $0.0003 per session on Opus 5.5. A static security scan graded it A with 1 finding (makes network calls). 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

pr-watch

Local PR watcher. Monitors CI status, automatically fixes failing checks by reading failure logs and applying targeted fixes, then optionally merges when all checks pass. Local CLI analog to Claude Code's cloud auto-fix feature.

SethGammon/Citadel · 46 tokens

deploy-steward

Mainline deploy steward. Consumes ready PRs, owns a lease on mainline landing, refreshes PR state, updates stale branches, waits for CI and deploy gates, merges or queues one candidate at a time, and opens repair tasks for failures.

SethGammon/Citadel · 56 tokens

merge-review

Reviews pending fleet worktree merges before they're accepted. Reads the merge-check queue, detects file-level conflicts between branches, proposes a safe merge order, and surfaces reconciliation plans for overlapping changes.

SethGammon/Citadel · 40 tokens

pr-feedback

Work a reviewer's comments on a pull request to the end - all three comment surfaces enumerated before any is triaged, every comment fixed, declined with a reason, or ticketed, push before you reply. Use when a PR comes back with review feedback or a red check.

jjanczur/tyran · 57 tokens

gitlab-ops

Use this skill when performing VCS operations on GitLab or GitHub repositories — creating, updating, or closing issues and MRs, applying label taxonomy, running glab/gh CLI commands, or resolving project paths dynamically. Acts as the single source of truth for CLI command syntax and label conventions; consuming…

Kanevry/session-orchestrator · 174 tokens

gitlab-portfolio

Use when you need a single-pane cross-repo health view across all vault-registered GitLab and GitHub projects. Discovers repos from overview.md frontmatter in /01-projects//, aggregates open issues, MRs, critical labels, and stale signals via parallel glab/gh calls, then writes an idempotent PORTFOLIO.md dashboard.…

Kanevry/session-orchestrator · 197 tokens