ingest

ingest is a skill for Claude Code from robinslange/learning-loop. It costs 119 tokens per session (6,280 once invoked), scanned C, original, Apache-2.0.

A tool for bringing information from Linear, code repositories, files, images, conversations, and other readable content into a personal knowledge store.

In plain words
What is it for?
Use it to import assigned Linear tickets, scan a repository, read source material, or restore notes from another learning-loop setup.
Why use it?
It saves you from collecting and organizing useful context by hand. It first shows the extracted ideas so you can confirm what should be kept.

Skill for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: mentions subagents; names the AskUserQuestion tool.

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 to import assigned Linear tickets, scan a repository, read source material, or restore notes from another learning-loop setup.

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 ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/robinslange/learning-loop/ingest"><img src="https://agentmods.dev/badge/skills/robinslange/learning-loop/ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,280 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 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.00119 $0.06280
Opus 5.5 $0.00048 $0.02512
Sonnet 5.5 $0.00024 $0.01256
Haiku 4.5 $0.00012 $0.00628

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

Security

Grade C, and why

ingest scanned grade C 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

rm -rf "$HOME/Library/Application Support/ygrep/indexes/"* 2>/dev/null || true
plugin/skills/ingest/SKILL.md · 425 lines

How it starts

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

Ingest: External Context Import

Overview

Pulls data from external sources (Linear, repositories, or any content Claude can read), extracts atomic insights, previews them for confirmation, then routes to auto-memory and/or vault notes. The context mode accepts anything: PDFs, images, code files, conversation dumps, documents, or plain text.

When to Use

  • /ingest linear: pull my assigned Linear tickets
  • /ingest linear "Project Name": pull tickets from a specific project
  • /ingest linear --state "In Progress": filter by ticket state
  • /ingest repo ~/path/to/repo: scan a repository
  • /ingest repo: prompt for repo path
  • /ingest context: provide any content (paste text, give a file path, drop an image)
  • /ingest bundle <path>: restore a harvest-bundle-<date>/ carried from another instance you own (verbatim restore, no insight extraction)
  • /ingest: ask which source type
  • --refine: append to any source mode (e.g., /ingest context --refine) to enable Step 5.6 upstream refinement after ingest. Off by default; will move to default-on after a few validation runs.

Process

Step 0: Parameter Resolution

Parse the source type from the first argument.

No argument (/ingest): Use AskUserQuestion:

What would you like to ingest?

  • linear: Pull Linear tickets (my assigned, or a specific project)
  • repo: Scan a repository for architecture and patterns
  • context: Provide any content (text, PDF, image, code, doc) to extract insights from
  • bundle: Restore a harvest bundle carried from another instance you own

Source type provided: Parse remaining args as source-specific parameters.

Step 1: Resolve Source Parameters

Linear:

  • No additional args → scope = "me" (all assigned tickets)
  • Quoted string arg → scope = that project name
  • --state "X" → state filter
  • Announce: "Pulling Linear tickets ({scope})..."

Repo:

  • Path arg → use it
  • No path → AskUserQuestion: "Which repository? (full path)"
  • Verify path exists with ls
  • Announce: "Scanning {path}..."

Read the full file on GitHub · 425 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. 1mo ago Changed · +3 lines 949c867a8879
  2. 1mo ago Changed e8a7464ee1c2
  3. 1mo ago Changed · -6 lines 173cf96d4d21
  4. 1mo ago Changed · +13 lines 27c3c664182a
  5. 2mo ago Changed ca30049b6839
  6. 2mo ago First seen · 415 lines · 119 tokens per session scan C 127dec63e9fd

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository robinslange/learning-loop (13 stars, last pushed 4d ago), licensed Apache-2.0. It adds 119 tokens to every session and 6,280 once invoked, about $0.0005 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

ingest compared with skills from other repositories

ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ingestrobinslange/learning-loopSkill134d agoApache-2.0C119Claude Code
knowledge-ingestopenclaw/openclawSkill394kyesterdayMITA80Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill68k2d agoApache-2.0A217Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill71k2d agoCC0-1.0A74Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20kyesterdayMITA184Claude Code
memoryopensquilla/opensquillaSkill7.1k6d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9kyesterdayMITA115Claude Code, Codex