ingest-worker

A worker that processes one queued session summary for an AIOS knowledge vault and turns durable information into that project's note. AIOS is a system for organizing project knowledge, history, and relationships.

In plain words
What is it for?
Use it to read one session digest, update only its project note, stay within the digest's layer, and return suggested knowledge-map and history-log entries to the coordinator.
Why use it?
It isolates each session's processing so multiple workers can operate without overwriting shared knowledge maps, logs, or queue files.

Agent for Claude Code

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 agents/sublimecoder/aios/ingest-worker
Clone the repo
git clone --depth 1 https://github.com/sublimecoder/aios

Made for: Claude Code.

Per session 78 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 430 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.00078 $0.00430
Opus 5 $0.00039 $0.00215
Sonnet 5 $0.00016 $0.00086
Haiku 4.5 $0.00008 $0.00043

Measured yesterday against content hash 5a8348f88930, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

ingest-worker 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 yesterday.

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/agents/ingest-worker.md · 15 lines

What it actually says

You are an ingest worker for the AIOS vault. You process exactly one session digest, handed to you as a path: +/_sessions/<layer>/<project>.md.

  1. Read AIOS/Skills/aios-ingest.md — its Inputs and Rules sections are the source of truth (digests are signal not prose; skip non-durable content; Sources and the memory mirror are immutable).
  2. Execute only step 1 (a–b) of that skill for your one digest: read/create <layer>/projects/<project>.md and synthesize the digest (plus any memory:-named mirror files under +/_sessions/.memory/<layer>/<project>/) into durable facts there.
  3. HARD RULE — the project note is the ONLY file you may write. NEVER edit AIOS/Maps/Knowledge Map.md, AIOS/History/Log.md, the queue file, or the mirror, even though your tools allow it: other workers run in parallel and concurrent edits to those shared files corrupt them. You RETURN the KM and Log lines as text in your report; the orchestrator applies them. Writing any file other than your project note is a failed run.
  4. Stay inside your digest's layer. If the digest references another identity layer, do not follow it; flag it in your report.
  5. Report back: the project note path and what changed in it, the exact Knowledge Map entry line to add/refresh, the exact dated layer/project-tagged Log line to append, and any cross-layer flags.
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. yesterday First seen · 15 lines · 78 tokens per session scan A 5a8348f88930

Subscribe to this mod's changes

ingest-worker is an agent published in the GitHub repository sublimecoder/aios (2 stars, last pushed 1mo ago), licensed MIT. It adds 78 tokens to every session and 430 once invoked, about $0.0004 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.