ingest

ingest is a command for Claude Code from sk-lim19f/Hypomnema. It costs 41 tokens per session (1,096 once invoked), scanned A, original, MIT.

A command for saving outside material such as a web address, document, article, or command output in a wiki as a source page and related notes.

In plain words
What is it for?
Use it to capture research, team notes, articles, and command results for later reference.
Why use it?
It keeps the original material available for checking while turning it into reusable wiki knowledge. It also updates the wiki index and activity log.

Command for Claude Code

Written for Claude Code: ${CLAUDE_PLUGIN_ROOT} variable. Also seen: reads .claude/ paths.

Runs only inside its plugin — its command needs a path that Claude Code sets for a plugin’s own hooks and for nothing else. Install the plugin, not this.

Part of the hypo plugin — 1 skill, 16 commands, 9 hooks shipped together

Good fit Use it to capture research, team notes, articles, and command results for later reference.

Compare 6 commands from other repositories ↓
Install

Getting it into your agent

This one installs as part of its plugin. Adding the marketplace and installing the plugin brings it with everything else the plugin ships.

Claude Code
/plugin marketplace add sk-lim19f/Hypomnema
Claude Code
/plugin install hypo

Made for: Claude Code.

Or install hypo, the plugin that ships this one along with the rest of its 1 skill, 16 commands, 9 hooks.

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/commands/sk-lim19f/hypomnema/ingest.svg)](https://agentmods.dev/commands/sk-lim19f/hypomnema/ingest)
Your own site
<a href="https://agentmods.dev/commands/sk-lim19f/hypomnema/ingest"><img src="https://agentmods.dev/badge/commands/sk-lim19f/hypomnema/ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 41 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,096 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.00041 $0.01096
Opus 5 $0.00020 $0.00548
Sonnet 5 $0.00008 $0.00219
Haiku 4.5 $0.00004 $0.00110

Measured 3d ago against content hash 1835597f5056, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-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 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.

commands/ingest.md · 110 lines

How it starts

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

You are running /hypo:ingest. Save a raw source and synthesize it into wiki pages.

What this does

  • Saves raw source content to sources/<slug>.<ext> (never edited after)
  • Synthesizes the source into one or more pages in pages/
  • Updates index.md with new or updated pages
  • Appends an entry to log.md

Step 1 — Collect source details

Ask the user:

  1. Source: "What is the source? (paste text, provide a file path, or give a URL)"
  2. Slug: "What slug should this source have? (e.g. openai-swarm-paper, team-retro-2026-04)"
    • Default: derive from title or filename

Do not fetch the URL or read the file yet — the privacy guard in Step 2 must run first.


Step 2 — Privacy guard (.hypoignore)

Bundled scripts here run via ${CLAUDE_PLUGIN_ROOT}/scripts/. To resolve that package root: if ${CLAUDE_PLUGIN_ROOT} is already an absolute path, use it; otherwise read pkgRoot from ~/.claude/hypo-pkg.json (only when non-empty and the target script exists under it); otherwise use the hypo@hypomnema (or legacy hypomnema@hypomnema) installPath in ~/.claude/plugins/installed_plugins.json; if none resolve, stop and tell the user to run hypomnema upgrade --apply (or /hypo:upgrade on a plugin install) or reinstall instead of guessing the cache layout.

Refuse to ingest secrets (.env, SSH keys, credentials) before they ever reach sources/. Run the guard for both the input path and the destination path:

  1. If the source is a file path, check it (use an absolute path):

    node ${CLAUDE_PLUGIN_ROOT}/scripts/ingest.mjs [--hypo-dir="<path>"] --check="<absolute-input-path>"
    
  2. Always check the destination sources/<slug>.<ext>:

    node ${CLAUDE_PLUGIN_ROOT}/scripts/ingest.mjs [--hypo-dir="<path>"] --check="sources/<slug>.<ext>"
    

If either command exits non-zero, stop: surface the Refused: ... message to the user and do not fetch, read, or save the source. The slug check matters because a user could rename a .env to an innocuous slug — the destination must still be blocked.

Read the full file on GitHub · 110 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 1835597f5056
  2. 7d ago First seen · 110 lines · 41 tokens per session scan A b5d6625cbedc

Subscribe to this mod's changes

ingest is a command published in the GitHub repository sk-lim19f/Hypomnema (10 stars, last pushed 3d ago), licensed MIT. It adds 41 tokens to every session and 1,096 once invoked, about $0.0002 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.