ingest-source

ingest-source is a skill for Claude Code from Abilityai/cornelius. It costs 58 tokens per session (7,504 once invoked), scanned A, original, MIT.

A workflow that takes one book, paper, article, or transcript and adds its useful information to a searchable knowledge base. It prepares notes, compares them with existing material, creates links, refreshes search, and records changes.

In plain words
What is it for?
Use it to process sources one at a time, extract and classify insights, find related notes, add high-confidence links, and maintain a change log.
Why use it?
It turns a source into connected knowledge while checking for related information already in the collection instead of treating every source in isolation.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; mentions subagents.

Good fit Use it to process sources one at a time, extract and classify insights, find related notes, add high-confidence links, and maintain a change log.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/abilityai/cornelius/ingest-source
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 Abilityai/cornelius --skill ingest-source
Clone the repo
git clone --depth 1 https://github.com/Abilityai/cornelius

Made for: Claude Code.

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-source

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/cornelius/ingest-source"><img src="https://agentmods.dev/badge/skills/abilityai/cornelius/ingest-source.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 58 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 7,504 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 3 findings, up to high

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • high Rogue Agent · line 284
    Skill modifies its own code, configuration, or behavior at runtime. Self-modification enables an agent to escalate privileges, disable safety constraints, or install persistent backdoors.
    Fix: Prevent the skill from modifying its own code, SKILL.md, or configuration files. Treat skill files as read-only at runtime.
  • medium Excessive Agency · line 255
    Skill enables autonomous high-impact decisions without human-in-the-loop verification. Critical operations (destructive commands, financial transactions, data deletion) should require explicit user confirmation.
    Fix: Add human-in-the-loop confirmation for destructive, irreversible, or high-impact operations. Never auto-execute commands that modify files, send data, or alter system state.
  • medium Agent Snooping · line 287
    Skill enumerates or reads other installed skills. Access to other skills' SKILL.md files or the skills directory reveals prompt instructions, capabilities, and secrets that should be invisible to peer skills.
    Fix: Remove all code or instructions that list or read other skills' files or directories. Skills should operate independently; cross-skill access is a privilege escalation.
How audits are shown
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.00058 $0.07504
Opus 5.5 $0.00023 $0.03002
Sonnet 5.5 $0.00012 $0.01501
Haiku 4.5 $0.00006 $0.00750

Measured 3d ago against content hash 9c8c050cb8df, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

ingest-source 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 3d 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.

.claude/skills/ingest-source/SKILL.md · 393 lines

How it starts

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

Ingest Source

Fully autonomous pipeline that takes one source from raw file to integrated, connected knowledge. Each invocation handles a single source; drive a whole corpus by invoking once per source (e.g. via /loop or a shell loop over a file list), then run the corpus-level finalize steps once at the end.

ultrathink

Purpose

The unit of work for building a knowledge base from a book corpus. One source in → deduplicated, epistemically-classified notes out, embedded in the graph and linked to existing knowledge, with every auto-action logged for post-hoc review.

The design principle (established in the architecture discussion): insights are extracted against the current KB, not in a vacuum — retrieval-augmented extraction. The index is the KB's queryable state, so it must be refreshed before connection discovery, and refreshed again on the next source so each source builds on the last.

Configuration (safety rails that replace human gates)

Knob Default Purpose
AUTO_LINK_THRESHOLD 0.45 Only auto-write links at or above this raw cosine similarity. Below → logged as review candidates, not written. Recalibrated 2026-09-02 from 0.75, which had produced 0 auto-links in every run of this skill to date (ledger: 2026-08-08 / 08-12 / 08-15 / 08-26 / 09-02 all recorded "0 auto-links, max sim 0.42-0.63"). The reason is population, not a broken metric — see resources/local-brain-search/SIMILARITY-CALIBRATION.md. New external material queried against core tops out at 0.560 (median 0.474, n=18 measured on one ingestion session), so a 0.75 threshold is unreachable here while remaining reachable for 40% of notes vault-wide. At 0.45 score noise is real, so a conceptual-validity filter is mandatory on top of the number — see Step 5.
LINKS_PER_NOTE 5 Max auto-links written per new note (top-k). Caps combinatorial blowup.
MUTATE_EXISTING_NOTES false If false, only the NEW notes get edited (links written FROM new → existing). Existing/hub notes are never mutated by auto-linking.
REJECT_ON_TIER rejected If the extractor tiers the source rejected (content-farm / regurgitated), abort and notify.

Read the full file on GitHub · 393 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. 3d ago Changed · +20 lines 9c8c050cb8df
  2. 5d ago Changed · +15 lines d9a6f020d437
  3. 1mo ago Changed · +69 lines b9fce9f00244
  4. 3mo ago First seen · 289 lines · 58 tokens per session scan A 895dc749bb2e

Subscribe to this mod's changes

ingest-source is a skill published in the GitHub repository Abilityai/cornelius (123 stars, last pushed 2d ago), licensed MIT. It adds 58 tokens to every session and 7,504 once invoked, about $0.0002 per session on Opus 5.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-30.

Related

ingest-source compared with skills from other repositories

ingest-source next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ingest-sourceAbilityai/corneliusSkill1232d agoMITA58Claude Code
knowledge-ingestopenclaw/openclawSkill395ktodayMITA80Claude Code, Codex
forgetasgeirtj/system_prompts_leaksSkill74k2d agoCC0-1.0A0Claude Code, Codex
mem0-oss-to-platformmem0ai/mem0Skill70k3d agoApache-2.0A217Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill21k12d agoMITA184Claude Code
memoryopensquilla/opensquillaSkill7.2k4d agoApache-2.0A44Claude Code, Codex
ha-data-storesshiwenwen/hope-agentSkill1.9ktodayMITA115Claude Code, Codex