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.
npx agentmods add commands/zelixag/ai-memex-cli/ingestgit clone --depth 1 https://github.com/zelixag/ai-memex-cliWhat 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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5 | $0.00000 | $0.00233 |
| Opus 5 | $0.00000 | $0.00117 |
| Sonnet 5 | $0.00000 | $0.00047 |
| Haiku 4.5 | $0.00000 | $0.00023 |
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.
What it actually says
memex ingest
Ingest raw content into wiki pages. Delegates semantic processing to the AI agent.
Usage
/memex:ingest [target]
Examples
/memex:ingest # ingest all raw/ files/memex:ingest raw/personal # ingest personal scene only/memex:ingest "notes about React" # natural language target
Instructions
Use the installed ai-memex skill.
- Workflow: Ingest
- Reference:
references/ingest-workflow.md - User arguments:
$ARGS - Current agent:
claude-code - CLI hint: Use
memex searchto find related pages andmemex lintafter substantial edits.
When the workflow calls a memex CLI command that delegates semantic work to an agent, pass --agent claude-code unless the user already provided an explicit --agent.
Do not treat this slash command as a raw shell shortcut. Let the skill choose the workflow, read the relevant reference, and call memex CLI primitives only when useful.
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.
- 3d ago First seen · 28 lines · 0 tokens per session scan A ba644941ab68
ingest is a command published in the GitHub repository zelixag/ai-memex-cli (9 stars, last pushed 3mo ago), licensed MIT. It costs nothing until one of its globs matches a file; then it loads 233 tokens. 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.
Other commands, from other repositories
wiki-query
Ask questions against the wiki. Synthesizes answers from wiki pages with cross-reference citations.
wiki-init
Initialize a new LLM Wiki in the current directory. Creates the full directory structure, config, and template files.
wiki-digest
Generate a daily or weekly digest of wiki changes — new sources, pages, insights, and gaps.
wiki-export
Export wiki to merged files for Claude.ai Project Knowledge.
contribute
Add a thought, source, or paste. Use --project/-p to target another project without switching current. Usage: /mb:contribute [-p ] [--mode daily|concept|daily+concept].
build
Rebuild context.md for a project from sources/. Usage: /mb:build [-p ] [project-id].