ingest

ingest is a skill for Claude Code, Codex from technicalpickles/pickled-claude-plugins. It costs 46 tokens per session (811 once invoked), scanned A, original, MIT.

A note-processing stage that turns a raw session-notes file into an insight ready for cleanup and enrichment. It normally keeps one session as one note and only splits it when the topics clearly diverge.

In plain words
What is it for?
Use it to change a raw session note’s status and type, decide whether splitting is justified, and prepare the note for the next processing stage without changing its body.
Why use it?
It avoids creating many near-duplicate notes from one session while preserving genuinely separate topics when needed.

Skill for Claude CodeCodex

Part of the second-brain plugin — 7 skills, 7 commands shipped together

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.

agentmods
npx agentmods add skills/technicalpickles/pickled-claude-plugins/ingest
Any agent
npx skills add technicalpickles/pickled-claude-plugins --skill ingest
Clone the repo
git clone --depth 1 https://github.com/technicalpickles/pickled-claude-plugins

Made for: Claude Code, Codex.

Or install second-brain, the plugin that ships this one along with the rest of its 7 skills, 7 commands.

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/technicalpickles/pickled-claude-plugins/ingest.svg)](https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/ingest)
Your own site
<a href="https://agentmods.dev/skills/technicalpickles/pickled-claude-plugins/ingest"><img src="https://agentmods.dev/badge/skills/technicalpickles/pickled-claude-plugins/ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 811 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00046 $0.00811
Opus 5 $0.00023 $0.00405
Sonnet 5 $0.00009 $0.00162
Haiku 4.5 $0.00005 $0.00081

Measured 4d ago against content hash adf4ef648884, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ingest 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 4d 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.

plugins/second-brain/skills/ingest/SKILL.md · 82 lines

How it starts

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

Ingest Stage

Turn a raw session notes file (type: session-notes) into an ingested insight, ready for the enrich stage. Defaults to keeping it as one note — see "Exception" below for when to split.

See references/pipeline.md for stage definitions and status flow.

Input

A session notes file in the inbox with status: raw and type: session-notes.

Default: enrich whole

Most session notes — including every devlog-produced one — are already well-organized: one session, one provenance (repo/branch/bean), a handful of related bullets. Splitting them into N separate notes mints near-duplicate notes that mostly route to the same destination anyway — a real run against 32 session notes would have exploded into 120-140 near-duplicates that mostly filed to the same destination.

Default behavior: keep the session note as ONE note. Change its frontmatter in place, using the Edit tool:

  • status: rawstatus: ingested
  • type: session-notestype: insight

Don't create any new files. Don't touch the body — enrich handles prose cleanup next.

Exception: split when bullets genuinely diverge

Check for a real cross-topic signal before splitting — not a bullet count. Read the note's bullets:

  • If every bullet shares the same repo/branch/bean context (the common case, and always true for a single devlog session), keep it whole.

  • If bullets explicitly reference different repos, branches, or beans within the same file (only possible in hand-authored or legacy multi-topic session notes — devlog output never does this), split those bullets into separate notes instead:

    There's no structured per-bullet frontmatter for this — repo/branch/bean only ever exist once, at the file level. Infer divergence from what the bullet text itself says (e.g. a bullet's prose names a different repo than the file's own frontmatter, or than another bullet).

    1. For each insight, create a new note via sb note create --source auto --title "{insight title}" with status: ingested, type: insight, source-session: {original session filename}, and that bullet's own repo/branch/bean.
    2. Write the note body (the bullet text, cleaned into a sentence or short paragraph) using the Write tool.
    3. Update the original session file's status to ingested using the Edit tool — it stays in the inbox as a record, not processed further.
    4. Skip empty or trivial bullets when splitting (single words, fragments).

Read the full file on GitHub · 82 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. 4d ago First seen · 82 lines · 46 tokens per session scan A adf4ef648884

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository technicalpickles/pickled-claude-plugins (10 stars, last pushed today), licensed MIT. It adds 46 tokens to every session and 811 once invoked, about $0.0002 per session on Opus 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-31.

Related

Other skills, from other repositories