init

init is a skill for Claude Code from robinslange/learning-loop. It costs 56 tokens per session (862 once invoked), scanned A, original, Apache-2.0.

A first-time setup and upgrade workflow for the learning-loop plugin, including its note-vault location, writing persona, project instructions, and installation checks.

In plain words
What is it for?
Use it when installing or upgrading learning-loop, configuring its vault and project integration, checking dependencies, or handing setup over to federation.
Why use it?
It prevents setup steps from being missed and can safely resume by detecting which parts are already configured.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions CLAUDE.md; reads ~/.codex paths; mentions AGENTS.md.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the learning-loop plugin — 24 skills, 20 agents, 7 hooks shipped together

Good fit Use it when installing or upgrading learning-loop, configuring its vault and project integration, checking dependencies, or handing setup over to federation.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add robinslange/learning-loop
Claude Code
/plugin install learning-loop

Made for: Claude Code.

Or install learning-loop, the plugin that ships this one along with the rest of its 24 skills, 20 agents, 7 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/robinslange/learning-loop/init/github.svg)](https://agentmods.dev/skills/robinslange/learning-loop/init)
Your own site
<a href="https://agentmods.dev/skills/robinslange/learning-loop/init"><img src="https://agentmods.dev/badge/skills/robinslange/learning-loop/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/robinslange/learning-loop/init"><img src="https://agentmods.dev/badge/skills/robinslange/learning-loop/init.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 862 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.00056 $0.00862
Opus 5.5 $0.00022 $0.00345
Sonnet 5.5 $0.00011 $0.00172
Haiku 4.5 $0.00006 $0.00086

Measured 1mo ago against content hash 689790a62539, 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 1mo 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.

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

All operations use Node.js APIs (fs, path, child_process). No bash `find`, no shell globbing for detection.
plugin/skills/init/SKILL.md · 65 lines

How it starts

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

Init: Learning Loop Setup

Eight-phase detect-confirm-apply flow. One question at a time. Safe to re-run: detects existing state and skips completed steps.

All operations use Node.js APIs (fs, path, child_process). No bash find, no shell globbing for detection.

Paths

Resolve PLUGIN_DATA, VAULT, and the plugin root per ${CLAUDE_PLUGIN_ROOT}/skills-shared/paths-preamble.md (read it and apply). Use those resolved values for ALL path references in the phase files.

Process

Read each phase file in order and execute its instructions. After Phase 1's dashboard, only enter the phases the dashboard reports as needing work.

  1. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/01-detect.md -- detect state, present dashboard. If everything is configured, stop here.
  2. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/02-vault.md -- vault path, folders, system files.
  3. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/03-binary.md -- binary, vendor deps, orphan cleanup, index, shims, plugin deps.
  4. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/04-federation.md -- single yes/no, hands off to /learning-loop:federation for the full flow.
  5. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/05-claudemd.md -- instruction-file integration (CLAUDE.md, and AGENTS.md when Codex is present).
  6. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/06-cache-health.md -- optional cache-health statusline.
  7. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/07-librarian.md -- optional librarian background agent (incl. 7d: optional GLM Verify-offload provider for /learning-loop:research).
  8. Read ${CLAUDE_PLUGIN_ROOT}/skills/init/phases/08-seed-restore.md -- restore a seed bundle if present and seed the harvest deny-list.

After all phases complete, present the summary below.

Summary

Learning loop configured.

  Vault:        [path] ([N] notes)
  Folders:      [N]/7 present
  Binary:       ll-search vX.Y
  Search:       [N] notes indexed
  Federation:   [configured | deferred to /learning-loop:federation | not requested]
  CLAUDE.md:    [status]
  AGENTS.md:    [status | skipped: codex not installed]
  Codex agents: [N generated in ~/.codex/agents | skipped: codex not installed]
  Cache health: [installed | skipped: oh-my-claude not found]
  Librarian:    [enabled | skipped: ollama/hardware not available]
  Seed restore: [restored from bundle | no bundle present]
  Harvest list: [seeded | empty (personal instance)]
  Shims:        ll-watch + ll-search + ll-paths installed in ~/.local/bin

Start the watcher with: ll-watch
Run /learning-loop:help to see available commands.

Read the full file on GitHub · 65 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 1mo ago Changed 689790a62539
  2. 2mo ago Changed · +2 lines 8f37c8e7c5f1
  3. 2mo ago First seen · 63 lines · 56 tokens per session scan A 4c2c2a74ad50

Subscribe to this mod's changes

init is a skill published in the GitHub repository robinslange/learning-loop (13 stars, last pushed 4d ago), licensed Apache-2.0. It adds 56 tokens to every session and 862 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 1 finding (runs shell commands). 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
initrobinslange/learning-loopSkill134d agoApache-2.0A56Claude Code
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code