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.
git clone --depth 1 https://github.com/cwensel/arcaneumWrote 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.
[](https://agentmods.dev/commands/cwensel/arcaneum/corpus)<a href="https://agentmods.dev/commands/cwensel/arcaneum/corpus"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/corpus/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.
<a href="https://agentmods.dev/commands/cwensel/arcaneum/corpus"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/corpus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00012 | $0.03148 |
| Opus 5.5 | $0.00005 | $0.01259 |
| Sonnet 5.5 | $0.00002 | $0.00630 |
| Haiku 4.5 | $0.00001 | $0.00315 |
Grade A, and why
corpus 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 6d 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.
How it starts
The opening of the file, as written. The whole thing — 289 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Recommended for most users. Manage corpora that combine vector search and full-text
search for the same content. Full-text search comes from a text index in the corpus's Qdrant
collection (the qdrant text backend, the default for a new install) or, on an install that
runs MeiliSearch, from a MeiliSearch index of the same name (meili).
IMPORTANT: You must specify a subcommand.
Subcommands:
create: Create the Qdrant collection (and a MeiliSearch index for ameilicorpus)list: List all corpora with text coverage (qdrant) or parity (meili) statusupdate: Update corpus metadata without reindexingdelete: Delete the Qdrant collection and any MeiliSearch index of the corpussync: Index a directory into the corpus (Qdrant, plus MeiliSearch on ameilicorpus)repair: Selectively repair verifier-selected unhealthy files and PDF duplicates, then restore text coverage (qdrant) or parity (meili)migrate-text: Move a corpus's text search between MeiliSearch and Qdrant;--all --to qdrantmoves every corpus on MeiliSearch (see docs/guides/qdrant-only-text.md)hook: Install a git hook that auto-syncs a repo on every commitjobs: List running syncs, repairs, and hook drains, plus queued hook work (read-only; takes no locks)info: Show corpus detailsitems: List indexed items (with parity status on ameilicorpus)parity: Check and restore the text index; Qdrant/MeiliSearch parity applies tomeilicorpora onlyverify: Verify corpus health (and Qdrant/MeiliSearch parity for ameilicorpus)doctor: Check all corpora (or the named ones) read-only and list the commands that fix each problem
Common Options:
- --json: Output in JSON format
- --details: Show extended list columns, including exact item counts
Create Options:
- name: Corpus name (required)
- --type: Corpus type - code, pdf, or markdown (required)
- --models: Embedding models, comma-separated (default inferred from --type: arctic-m for pdf/markdown, jina-code for code)
Delete Options:
- name: Corpus name (required)
- --confirm: Skip confirmation prompt
- --json: Output in JSON format
Sync Options:
- name: Corpus name (required, first positional argument)
- directories: One or more directory paths to index (required)
- --models: Embedding models (default: use corpus metadata)
- --file-types: File extensions to index (e.g., .py,.md)
- --gpu: Opt into accelerator embedding (CPU is the stable default)
- --remote-embed: Also send on-request models (e.g. qwen3-embed) to the configured remote embedding workers for this run
- --local-embed: Embed every model locally for this run, ignoring configured remote embedding workers
- --background: Run below interactive work (compilers, tests) for continuous indexing; nice 10 on macOS, SCHED_IDLE on Linux
- --changed-since REV: Sync only what a git commit or range touched (e.g. HEAD, ORIG_HEAD..HEAD), removing the files it deleted
- --order: Process files by path (default), newest modification first, or oldest modification first; this changes processing order, not search ranking
- --include-stale-policy: Also re-index otherwise unchanged files whose indexing policy is stale or missing
- --from-index SELECTOR: Instead of paths, re-extract the indexed files whose
stored metadata matches SELECTOR (e.g. method=pymupdf_normalized,
version<0.10.0); shorthand keys are method, fallback, ocr, warning, version;
!keyselects files that do not record key - --no-wait: Fail instead of queueing when another sync of this corpus is running
- --lock-timeout: Seconds to wait for the corpus write lock (default: 600)
Repair Options:
- name: Corpus name (required)
- --quality-threshold: Text quality threshold (0.0-1.0, default: 0.9)
- --dry-run: Preview what would be repaired without making changes
- --include-stale-policy: Also re-index files whose only issue is stale or missing indexing policy
- --gpu: Opt into accelerator embedding (CPU is the stable default)
- --remote-embed / --local-embed: Route this repair's document embedding as for sync (remote embedding workers)
- --background: Run below interactive work, as for sync
- --verbose: Show per-file quality scores and details
- --json: Output in JSON format
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.
- 6d ago Changed · +6 lines · +4 tokens per session badc16ca3453
- 8d ago Changed · +4 lines b997d96de1bd
- 24d ago Changed d264399a1ae4
- 1mo ago Changed · +13 lines 518e2f29bc89
- 1mo ago Changed · +6 lines 450de9399874
- 1mo ago Changed · +3 lines 2cb7b2cdc5db
- 1mo ago Changed · +4 lines 5c6c00a121a0
- 1mo ago Changed · +22 lines 36826f53211a
- 2mo ago Changed · +28 lines 2fad11cdee8d
- 3mo ago First seen · 203 lines · 8 tokens per session scan A bba8dee4e3ea
corpus is a command published in the GitHub repository cwensel/arcaneum (8 stars, last pushed 3d ago), licensed MIT. It adds 12 tokens to every session and 3,148 once invoked, about $0.0000 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.
corpus compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| corpuscwensel/arcaneum | Command | 8 | 3d ago | MIT | A | 12 | Claude Code |
| ingestGalbaz1/video-research-mcp | Command | 23 | 10d ago | MIT | A | 10 | Claude Code |
| vector.batch_existsstratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| vector.batch_upsertstratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| vector.collection.liststratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| vector.collection.statsstratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |
| vector.batch_deletestratalab/strata-core | Command | 5 | today | Apache-2.0 | A | 0 | Claude Code |