midmem-ingest

midmem-ingest is a skill for Claude Code, Codex from U4CSolutions/MidMem. It costs 76 tokens per session (1,152 once invoked), scanned A, original, Apache-2.0.

A knowledge-intake tool for saving documents, web pages, research papers, and recurring research reports in MidMem, a knowledge base. It checks whether extracted information is supported by the source before saving it.

In plain words
What is it for?
Ingesting local files, URLs, arXiv papers, articles, and research digests, then checking sources and confirming that saved information can be recalled.
Why use it?
It reduces the risk of adding inaccurate or poorly supported information to a research store, especially when processing reports with citations.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Ingesting local files, URLs, arXiv papers, articles, and research digests, then checking sources and confirming that saved information can be recalled.

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

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/u4csolutions/midmem/midmem-ingest"><img src="https://agentmods.dev/badge/skills/u4csolutions/midmem/midmem-ingest.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,152 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.00076 $0.01152
Opus 5.5 $0.00030 $0.00461
Sonnet 5.5 $0.00015 $0.00230
Haiku 4.5 $0.00008 $0.00115

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

Security

Grade A, and why

midmem-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 3mo 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/midmem-ingest/SKILL.md · 69 lines

How it starts

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

MidMem Ingest — verified knowledge intake

Commit a source into the store the RIGHT way: staged into an allowed root, grounding-checked (deterministic — DELEGATE-52 discipline), recall-verified, recorded. Never blind-ingest; never trust an extractor's own claim of faithfulness — read the grounding numbers.

Inputs this handles

  • A file path already under one of your configured ingest source roots.
  • A URL (arXiv page/PDF, blog post, article) → fetch it FIRST into a staging directory inside an allowed root (one subdir per source, kebab slug). For arXiv prefer the abs page or HTML render; keep the paper id in the filename.
  • A recurring research digest (e.g. a weekly report of new papers on your domain). Ingest the REPORT as one document (--type research), then — only for items the report marks high-relevance or the operator names — fetch and ingest those sources individually.

Citations review (REQUIRED for reports/digests — before ingesting)

Recurring research digests carry citations; review the structure and build a manifest FIRST:

  1. Extract every citation link ([Title](url) markdown). Canonicalize each URL: strip tracking params (?utm_source=… and friends); for arXiv keep the bare abs/<id> URL and record the paper id.
  2. Flag uncited claims: any section making benchmark/experiment claims with NO link gets flagged inline in the staged copy (Citation: NONE PROVIDED…) and marked ingest: BLOCKED in the manifest — never fetch-and-ingest a paper you had to guess the identity of.
  3. Dedup against the store per paper id (search content + provenance) — papers already present are marked skip: in store; hash-dedup only catches identical files, not the same paper cited by two digests.
  4. Write citations.json beside the staged report: section, title, id, canonical URL, digest status (new vs continuing), ingest decision. This is the deterministic provenance for any follow-up per-paper ingest.
  5. Ingest decisions: papers the digest marks new/highest-relevance (or the operator names) → fetch into the same staging dir and ingest individually. Continuing/"tracked" papers → do NOT bulk-ingest; note whether per-paper evidence exists in the store and surface the gap to the operator instead.

Read the full file on GitHub · 69 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. 3mo ago First seen · 69 lines · 76 tokens per session scan A 50f8dd3e47fb

Subscribe to this mod's changes

midmem-ingest is a skill published in the GitHub repository U4CSolutions/MidMem (2 stars, last pushed 4d ago), licensed Apache-2.0. It adds 76 tokens to every session and 1,152 once invoked, about $0.0003 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

midmem-ingest compared with skills from other repositories

midmem-ingest next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
midmem-ingestU4CSolutions/MidMemSkill24d agoApache-2.0A76Claude Code, Codex
memory-informed-longitudinal-workmajor7apps/pensyveSkill1012d agoApache-2.0A52Claude Code
mention-workflowmajor7apps/pensyveSkill1012d agoApache-2.0A45Claude Code, Codex
remnic-memory-workflowjoshuaswarren/remnicSkill245todayMITA55Claude Code
remnic-rememberjoshuaswarren/remnicSkill245todayMITA39Claude Code
remnic-searchjoshuaswarren/remnicSkill245todayMITA36Claude Code
remnic-recalljoshuaswarren/remnicSkill245todayMITA35Claude Code