ingest

ingest is a skill for Claude Code, Codex from timurgaleev/memex. It costs 17 tokens per session (2,933 once invoked), scanned A, original, MIT.

An intake router for adding meetings, articles, media, documents, and conversations to a personal knowledge base. It identifies the type of material and sends it to the appropriate importer.

In plain words
What is it for?
Use it to ingest varied content, preserve its provenance, detect notable entities, create or update their pages, and maintain references between related pages.
Why use it?
It gives incoming material a consistent filing process with source citations, preserved raw data, updated current-state sections, and links back to mentioned people or companies.

Skill for Claude CodeCodex

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/timurgaleev/memex/ingest
Any agent
npx skills add timurgaleev/memex --skill ingest
Clone the repo
git clone --depth 1 https://github.com/timurgaleev/memex

Made for: Claude Code, Codex.

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/timurgaleev/memex/ingest.svg)](https://agentmods.dev/skills/timurgaleev/memex/ingest)
Your own site
<a href="https://agentmods.dev/skills/timurgaleev/memex/ingest"><img src="https://agentmods.dev/badge/skills/timurgaleev/memex/ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,933 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.00017 $0.02933
Opus 5 $0.00009 $0.01466
Sonnet 5 $0.00003 $0.00587
Haiku 4.5 $0.00002 $0.00293

Measured 5d ago against content hash ecab0663c93d, 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 5d 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.

deploy/skills/ingest/SKILL.md · 298 lines

How it starts

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

Ingest Skill

Ingest meetings, articles, media, documents, and conversations into the brain.

Filing rule: Read skills/_brain-filing-rules.md (via get_skill _brain-filing-rules) before creating any new page.

Contract

  • Every fact written to a brain page carries an inline [Source: ...] citation with date and provenance.
  • Every entity mention creates a back-link from the entity's page to the page mentioning them (Iron Law).
  • Raw sources are preserved for provenance via the put_raw_data tool.
  • State sections are rewritten with current best understanding, never appended to.
  • Entity detection fires on every inbound message; notable entities get pages or updates.

Convention: See conventions/quality.md (via get_skill conventions/quality) for Iron Law back-linking.

Every mention of a person or company with a brain page MUST create a back-link FROM that entity's page TO the page mentioning them. An unlinked mention is a broken brain. See skills/_brain-filing-rules.md for format.

Citation Requirements (MANDATORY)

Every fact written to a brain page must carry an inline [Source: ...] citation.

  • User's statements: [Source: User, {context}, YYYY-MM-DD]
  • Meeting data: [Source: Meeting "{title}", YYYY-MM-DD]
  • Email/message: [Source: email from {name} re: {subject}, YYYY-MM-DD]
  • Web content: [Source: {publication}, {URL}, YYYY-MM-DD]
  • Social media: [Source: X/@handle, YYYY-MM-DD](URL) (include link)
  • Synthesis: [Source: compiled from {sources}]

Phases

Router note: This skill is a router. For specialized ingestion, see: idea-ingest, media-ingest, meeting-ingestion.

  1. Parse the source. Extract people, companies, dates, and events from the input.
  2. For each entity mentioned:
    • Read the entity's page with page_get to check if it exists
    • If exists: update compiled_truth (rewrite State section with new info, don't append)
    • If new: check notability gate, then store the page with page_put with the appropriate type and slug
  3. Append to timeline. Add a timeline entry with add_timeline_event for each event, with date, summary, and source citation.
  4. Create cross-reference links. Use link for every entity pair mentioned together, with the appropriate relationship type.
  5. Back-link all entities. Update EVERY mentioned entity's page with a back-link to this page (Iron Law).
  6. Timeline merge. The same event appears on ALL mentioned entities' timelines. If Alice met Bob at Acme Corp, the event goes on Alice's page, Bob's page, and Acme Corp's page.

Read the full file on GitHub · 298 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. 5d ago First seen · 298 lines · 17 tokens per session scan A ecab0663c93d

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository timurgaleev/memex (8 stars, last pushed 3d ago), licensed MIT. It adds 17 tokens to every session and 2,933 once invoked, about $0.0001 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

kb

Set up, evolve, or operate a hraness/kb local-first Markdown knowledge base for coding-agent memory. Use when a user asks to design KB conventions or a recurring KB ritual; search or query a KB or Obsidian vault; load or recover repository context, plans, decisions, concepts, backlinks, semantic search, or Git…

hraness/kb · 155 tokens

grounded-knowledge-workflow

Use Grounded Knowledge Engine to select an isolated workspace, answer from local evidence, resume an explicitly identified project, create an explicit project checkpoint, and retain durable knowledge. Trigger when a user asks about their documents, workspace or client context, previous research, project state…

dimosgit/grounded-knowledge-engine · 91 tokens

weasley-deepmind

AI 에이전트가 weasley-deepmind 기억 서버를 최대 효율로 활용하기 위한 기술 레퍼런스.

potatohoney-p/weasley-deepmind · 0 tokens

knowledge-capture-policy

Decide when high-value work should become a Joplin pending capture draft through joplin-llm-wiki MCP tools, without bypassing user confirmation.

gcake119/joplin-llm-wiki · 38 tokens

gbrain-ingest

Ingest meetings, articles, docs, and conversations into the brain. Updates existing pages with new info, creates pages for new entities, maintains cross-references.

imphillip/gbrain-openclaw · 37 tokens

gbrain-maintain

Periodic brain maintenance. Finds contradictions, stale info, orphan pages, and missing cross-references to keep the knowledge graph healthy.

imphillip/gbrain-openclaw · 30 tokens