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.
/plugin marketplace add robinslange/learning-loop/plugin install learning-loopWrote 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.
[](https://agentmods.dev/skills/robinslange/learning-loop/init)<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.
<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>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.
| Model | Per session | Once 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 |
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. 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.
- Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/01-detect.md-- detect state, present dashboard. If everything is configured, stop here. - Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/02-vault.md-- vault path, folders, system files. - Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/03-binary.md-- binary, vendor deps, orphan cleanup, index, shims, plugin deps. - Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/04-federation.md-- single yes/no, hands off to/learning-loop:federationfor the full flow. - Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/05-claudemd.md-- instruction-file integration (CLAUDE.md, and AGENTS.md when Codex is present). - Read
${CLAUDE_PLUGIN_ROOT}/skills/init/phases/06-cache-health.md-- optional cache-health statusline. - 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). - 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.
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.
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.
- 1mo ago Changed 689790a62539
- 2mo ago Changed · +2 lines 8f37c8e7c5f1
- 2mo ago First seen · 63 lines · 56 tokens per session scan A 4c2c2a74ad50
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.
init compared with skills from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| initrobinslange/learning-loop | Skill | 13 | 4d ago | Apache-2.0 | A | 56 | Claude Code |
| imagegenopenai/codex | Skill | 133k | yesterday | Apache-2.0 | A | 113 | Codex |
| playwright-climicrosoft/playwright | Skill | 99k | yesterday | Apache-2.0 | A | 19 | Claude Code |
| local-ai-agentsmicrosoft/ai-agents-for-beginners | Skill | 79k | 4d ago | MIT | A | 200 | Claude Code, Codex |
| systematic-debuggingobra/superpowers | Skill | 313k | 3d ago | MIT | A | 21 | Claude Code |
| next-cache-components-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 95 | Claude Code |
| next-partial-prefetching-adoptionvercel/next.js | Skill | 143k | yesterday | MIT | A | 103 | Claude Code |