aicontext-ingest

aicontext-ingest is a skill for Claude Code, Codex from SophonMe/AIContext. It costs 34 tokens per session (1,169 once invoked), scanned A, original, MIT.

A development workflow for importing one-time data exports into AIContext, a system that stores activity from different data sources in one database. It explores an export directory and implements parsers for supported sources.

In plain words
What is it for?
Finding importable files in a data export, creating DataSource classes to parse them, and registering them as one-time static imports.
Why use it?
It turns static exports such as Google Takeout, Amazon downloads, or ChatGPT exports into usable activity data without treating them as continuously updated sources.

Skill for Claude CodeCodex

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

Good fit Finding importable files in a data export, creating DataSource classes to parse them, and registering them as one-time static imports.

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

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

README.md
[![agentmods](https://agentmods.dev/badge/skills/sophonme/aicontext/aicontext-ingest.svg)](https://agentmods.dev/skills/sophonme/aicontext/aicontext-ingest)
Your own site
<a href="https://agentmods.dev/skills/sophonme/aicontext/aicontext-ingest"><img src="https://agentmods.dev/badge/skills/sophonme/aicontext/aicontext-ingest.svg" alt="Measured on agentmods" height="20"></a>
Per session 34 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,169 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.00034 $0.01169
Opus 5 $0.00017 $0.00584
Sonnet 5 $0.00007 $0.00234
Haiku 4.5 $0.00003 $0.00117

Measured 8d ago against content hash 6f59ef8d147c, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-08, from the pricing page.

Security

Grade A, and why

aicontext-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 8d 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.

aicontext-ingest/SKILL.md · 119 lines

How it starts

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

AIContext Data Ingestion Skill

What This Skill Does

Given a base data path from the user, you explore the directory, identify ingestible data sources, and implement DataSource classes that parse them into AIContext's unified activity database.

This skill handles one-time static ingestion only. All data sources created through this skill are registered as "mode": "static" — they are ingested once and skipped by the hourly sync daemon. This is the correct approach for data exports (Google Takeout, Amazon data downloads, ChatGPT export, etc.) that are snapshots in time.

If a user asks to ingest a dynamic data source (one that updates continuously, e.g., a local app database, browser history), do not implement it through this skill. Instead, explain that dynamic sources must be implemented directly in aicontext/sources/ within the AIContext package and registered in aicontext/sources/__init__.py, then guide the user to do so.

Exploring the AIContext Source Code

You are encouraged to read the actual aicontext source code for deeper understanding beyond what protocol.md covers. To find the installed package location:

python3 -c "import aicontext; import os; print(os.path.dirname(aicontext.__file__))"

Key files worth reading:

  • sources/base.py -- the DataSource ABC you're implementing against
  • records.py -- ActivityRecord and ReferenceFile dataclasses
  • timestamps.py -- timestamp parsing helpers you can import
  • ingester.py -- how ingestion, validation, and dedup work
  • sources/ -- existing built-in sources as reference implementations

Workflow

  1. Read protocol.md to understand the DataSource interface and conventions
  2. Explore the user-provided base path to discover what data is present
  3. Match discoveries against guides in sources/ for known formats
  4. Ask the user to confirm which sources to ingest and the exact paths
  5. Read the relevant guide(s) in sources/<name>.md
  6. Examine the actual data files to understand the exact format
  7. Implement DataSource class(es) in ~/.aicontext/data_sources/<source_key>.py
  8. Add entries to ~/.aicontext/config.json
  9. Tell the user to run aicontext sync to ingest

Read the full file on GitHub · 119 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. 8d ago First seen · 119 lines · 34 tokens per session scan A 6f59ef8d147c

Subscribe to this mod's changes

aicontext-ingest is a skill published in the GitHub repository SophonMe/AIContext (9 stars, last pushed 4mo ago), licensed MIT. It adds 34 tokens to every session and 1,169 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.