ingest

ingest is a skill for Claude Code from stevepridemore/graph-memory. It costs 62 tokens per session (1,236 once invoked), scanned A, original, MIT.

A document-ingestion workflow that adds files or web content to a memory graph, a connected store of documents and extracted information. It accepts local files such as PDFs and spreadsheets, plus URLs including web pages, YouTube, Wikipedia, and RSS feeds.

In plain words
What is it for?
Use it to add documents, images, spreadsheets, web pages, videos, feeds, and other supported sources to the knowledge graph, with optional source, author, and topic details.
Why use it?
It turns different kinds of source material into content that the memory system can process, instead of requiring manual conversion first.

Skill for Claude Code

Written for Claude Code: argument-hint in frontmatter.

Good fit Use it to add documents, images, spreadsheets, web pages, videos, feeds, and other supported sources to the knowledge graph, with optional source, author, and topic details.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/stevepridemore/graph-memory/ingest/github.svg)](https://agentmods.dev/skills/stevepridemore/graph-memory/ingest)
Your own site
<a href="https://agentmods.dev/skills/stevepridemore/graph-memory/ingest"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/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/stevepridemore/graph-memory/ingest"><img src="https://agentmods.dev/badge/skills/stevepridemore/graph-memory/ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 62 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,236 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.
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.00062 $0.01236
Opus 5.5 $0.00025 $0.00494
Sonnet 5.5 $0.00012 $0.00247
Haiku 4.5 $0.00006 $0.00124

Measured 1mo ago against content hash 0bda1ef5bfbe, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, 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 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.

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.

skills/ingest/SKILL.md · 99 lines

How it starts

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

The user wants to ingest a document or URL into the graph memory system.

Arguments: $ARGUMENTS

Step 1: Parse arguments

  • First positional argument: file path or URL (required)
  • --now: process immediately inline (Claude extracts entities in this session)
  • --source: document type label, e.g. "article", "meeting notes", "YouTube transcript"
  • --author: creator/author name
  • --topic: topic hints for better extraction (comma-separated string)

If no argument is provided, ask the user for a file path or URL.

Step 2: Detect input type

URL (starts with http:// or https://):

  • YouTube URLs (youtube.com or youtu.be) → MarkItDown fetches transcript + metadata
  • All other URLs (web pages, Wikipedia, RSS, Bing) → MarkItDown converts to markdown
  • Go to Step 3A

Local file:

  • Native text formats (.md, .txt, .srt, .vtt, .json, .html, .csv) → queue directly, skip MarkItDown
  • Binary/rich formats (.pdf, .docx, .doc, .xlsx, .xls, .pptx, .ppt, .epub, .ipynb, .msg, .eml, .zip, images) → convert via MarkItDown first
  • Go to Step 3B

Step 3A: URL ingestion via MarkItDown

  1. Run MarkItDown on the URL:
    markitdown "<url>" -o "~/graph-memory/.tmp/graph-ingest-tmp.md"
    
  2. If it fails, report the error and stop
  3. Read the output file to check it has content (not empty)
  4. Derive a filename from the URL: slugify the domain + path, e.g. youtube-com-watch-dQw4w9WgXcQ.md
  5. Continue to Step 4 using the temp .md file as the file to queue

Step 3B: Local file ingestion

Native text file: use the file path as-is, go to Step 4.

Binary/rich file:

  1. Run MarkItDown on the local file:
    markitdown "<file-path>" -o "~/graph-memory/.tmp/graph-ingest-tmp.md"
    
  2. If it fails, report the error with the MarkItDown output and stop
  3. Read the output to verify it has meaningful content
  4. Derive a filename: take the original basename and replace the extension with .md
    • e.g. report.pdf → report.md
  5. Continue to Step 4 using the temp .md file

Read the full file on GitHub · 99 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 First seen · 99 lines · 62 tokens per session scan A 0bda1ef5bfbe

Subscribe to this mod's changes

ingest is a skill published in the GitHub repository stevepridemore/graph-memory (2 stars, last pushed 7d ago), licensed MIT. It adds 62 tokens to every session and 1,236 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-31.

Related

Other skills, from other repositories

slm-media

Save pictures and PDFs in SuperLocalMemory and find them again by describing them. Covers when to save a picture or document, remembermedia, rememberdocument, getmedia, mediastatus and mediauploadlink, how recall returns pictures and PDF pages, the limits, what stays private, turning the feature on with slm media (16…

qualixar/superlocalmemory · 101 tokens

liteparse

Parse local document files into LLM-ready content on the daemon itself — PDFs → Markdown / structured JSON (with bounding boxes) / page screenshots via the bundled lit CLI. PDF works out of the box, offline, zero external deps (Tesseract + PDFium are bundled): digital PDFs use a near-instant native text path…

Prismer-AI/PrismerCloud · 173 tokens

excel-author

Create and edit Excel (.xlsx) workbooks with openpyxl. Supports formulas, charts, formatting, and data analysis.

fuyuxiang/echo-agent · 28 tokens

ocr-document

Extract text from PDFs, images, and scanned documents. Uses pymupdf (local) or optional cloud OCR APIs.

fuyuxiang/echo-agent · 27 tokens

ori-memory

Persistent agent memory with learning retrieval. Knowledge graph on markdown files — capture insights, decisions, research, and learnings during work, then retrieve them weeks or months later. Use when knowledge is too valuable to lose but too much to inject into every prompt.

aayoawoyemi/Ori-Mnemos · 54 tokens

forgetful-files

File binary content into the knowledge base — screenshots, PDFs, diagrams, fonts, assets. Use when a binary artifact is worth keeping alongside knowledge, or when a stored procedure needs a bundled asset. The description is the entire search surface: say what the file shows and when to reach for it.

ScottRBK/forgetful · 63 tokens