ref-ingest

ref-ingest is a skill for Claude Code from Abilityai/cornelius. It costs 128 tokens per session (4,717 once invoked), scanned A, original, MIT.

A reference-data intake workflow for people, organisations, products, engagements, and competitors. It identifies the existing record, compares new information with older facts, and updates the record.

In plain words
What is it for?
Use it to add incoming research or notes to a company knowledge base, match them to the right entity, and update that entity with current facts and change history.
Why use it?
It prevents duplicate records and keeps changing facts consistent. It also preserves or flags conflicts instead of silently mixing incompatible information.

Skill for Claude Code

Written for Claude Code: allowed-tools in frontmatter. Also seen: reads .claude/ paths; names the AskUserQuestion tool.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is ./venv/bin/python - "$SCOPE" <<'PY'.

Good fit Use it to add incoming research or notes to a company knowledge base, match them to the right entity, and update that entity with current facts and change history.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Abilityai/cornelius
agentmods
npx agentmods add skills/abilityai/cornelius/ref-ingest

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 ref-ingest

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/abilityai/cornelius/ref-ingest"><img src="https://agentmods.dev/badge/skills/abilityai/cornelius/ref-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 128 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,717 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: 1 finding, up to medium

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 →

  • medium Agent Snooping · line 26
    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.00128 $0.04717
Opus 5.5 $0.00051 $0.01887
Sonnet 5.5 $0.00026 $0.00943
Haiku 4.5 $0.00013 $0.00472

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

Security

Grade A, and why

ref-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 2d 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/ref-ingest/SKILL.md · 249 lines

How it starts

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

Ref Ingest

ℹ️ First, set expectations: before anything else, print one short line with this skill's version and its most recent change — the top entry of metadata.changelog above — e.g. ref-ingest v1.0 — recent: initial version. Then proceed. (In agent mode, below, the receipt's skill: line carries the version instead.)

Step 0 — Who is asking? (person mode vs agent mode)

Decide this first; it changes Steps 4-6 and the reply.

  • Person mode — a person is in this conversation and can answer a question now. Everything below applies unchanged: CRM writes are gated, ambiguity is asked.
  • Agent mode — anything else: another agent sent the facts (an agent-to-agent call, an MCP or API trigger, a scheduled or headless run, --from-agent <name> passed, or the message says it comes from an agent). Nobody can answer, so this run never asks a question (no AskUserQuestion, no "shall I?", no waiting). Follow Agent mode below in place of the gates.
  • Can't tell? Use agent mode. A question nobody answers is worse than a marked, reversible offer.

Agent mode — offers from another agent

An offer is a set of facts another agent believes are true. They are kept as offers: written with their source and date and marked unconfirmed until a person confirms them. They never overwrite what is already on record.

A1 — Sort each fact: keep or drop

Keep facts about work:

  • who someone is at work and their role, team, employer, or work relationship to us;
  • a decision and its stated reason (who decided, what, why, when);
  • a stated preference of a customer or partner (how they want to work, buy, be contacted at work);
  • the same kinds of facts about an organisation, product or engagement (what it does, a deal stage, a term, a date).

Drop (never written, not even marked):

  • anything personal about an individual — family, home life, relationships, beliefs, private contact details or address;
  • health of an individual — conditions, leave reasons, wellbeing;
  • money of an individual — pay, personal finances, debts, personal spending (company money such as a deal size or a price is a work fact and is kept);
  • a fact with no entity it is about (no entity named) - except a decision, which is kept (see A3a);
  • a fact with no source — neither its own nor --source (no source);
  • a fact whose entity matches two or more existing notes (ambiguous: <A> or <B> - resend naming one). Never guess, never create a new note to dodge the choice.

Read the full file on GitHub · 249 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. 2d ago Changed · +2 lines b82aa6254669
  2. 3d ago Changed · +111 lines 0ee7b813a754
  3. 2mo ago First seen · 136 lines · 128 tokens per session scan A c312b89ee5d3

Subscribe to this mod's changes

ref-ingest is a skill published in the GitHub repository Abilityai/cornelius (123 stars, last pushed 2d ago), licensed MIT. It adds 128 tokens to every session and 4,717 once invoked, about $0.0005 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-09-03.

Related

ref-ingest compared with skills from other repositories

ref-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ref-ingestAbilityai/corneliusSkill1232d agoMITA128Claude 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