collection

collection is a command for Claude Code from cwensel/arcaneum. It costs 10 tokens per session (560 once invoked), scanned A, original, MIT.

A command set for managing Qdrant collections, which are stored groups of vector representations used to find content by meaning. It supports semantic search only, unlike a corpus that combines semantic and exact-text search.

In plain words
What is it for?
Use it to create, list, inspect, verify, delete, export, and import collections containing indexed PDF or code content.
Why use it?
It gives you a way to manage meaning-based search when you do not need a separate full-text search index. It also provides checks and portable export and import operations.

Command for Claude Code

Written for Claude Code: argument-hint in frontmatter. Also seen: mentions Claude Code.

Part of the arc plugin — 5 skills, 10 commands shipped together

Good fit Use it to create, list, inspect, verify, delete, export, and import collections containing indexed PDF or code content.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/cwensel/arcaneum/collection
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.

Clone the repo
git clone --depth 1 https://github.com/cwensel/arcaneum

Made for: Claude Code.

Or install arc, the plugin that ships this one along with the rest of its 5 skills, 10 commands.

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 collection

README.md
[![agentmods](https://agentmods.dev/badge/commands/cwensel/arcaneum/collection/github.svg)](https://agentmods.dev/commands/cwensel/arcaneum/collection)
Your own site
<a href="https://agentmods.dev/commands/cwensel/arcaneum/collection"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/collection/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.

agentmods 80×15 button for collection

Your own site · 80×15
<a href="https://agentmods.dev/commands/cwensel/arcaneum/collection"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/collection.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 10 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 560 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.00010 $0.00560
Opus 5.5 $0.00004 $0.00224
Sonnet 5.5 $0.00002 $0.00112
Haiku 4.5 $0.00001 $0.00056

Measured 6d ago against content hash f335bbe3d733, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

collection 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.

plugin/commands/collection.md · 72 lines

What it actually says

Manage Qdrant vector collections for storing embeddings.

Note: For most users, /arc:corpus is recommended as it provides both semantic and full-text search. Use /arc:collection when you only need semantic search.

IMPORTANT: You must specify a subcommand (create, list, info, delete, items, verify, export, or import).

Subcommands (required):

  • create: Create a new collection with specified embedding model
  • list: List all collections in Qdrant
  • info: Show detailed information about a collection
  • delete: Delete a collection permanently
  • items: List indexed files/repos in a collection
  • verify: Verify collection integrity (fsck-like check)
  • export: Export collection to a portable format
  • import: Import collection from an export file

Common Options:

  • --json: Output in JSON format for programmatic use

Examples:

/collection create MyDocs --type pdf
/collection create MyDocsQuality --model stella --type pdf
/collection list
/collection info MyDocs
/collection delete MyDocs --confirm

Execution:

arc collection $ARGUMENTS

Collection Types:

Collections should specify a type (pdf or code) to ensure content matches:

  • pdf: For document collections (PDFs, text files)
  • code: For source code repositories
  • markdown: For markdown/document collections

Available Models:

  • arctic-m: 768D, stable document/PDF/markdown default
  • stella: 1024D, high-quality opt-in document model (requires arcaneum[sentence-transformers])
  • mxbai-large: 1024D, high-quality FastEmbed document model
  • jina-code: 768D, stable FastEmbed source-code default
  • bge: 1024D, general purpose

Related Commands:

  • /arc:corpus create - Create a corpus for semantic and full-text search (recommended)
  • /arc:corpus sync - Index into a corpus (recommended)
  • /arc:index pdf - Index PDFs into a collection (semantic only)
  • /arc:index code - Index source code into a collection (semantic only)

Implementation:

  • Defined in RDR-003 (Collection Creation)
  • Enhanced in RDR-006 (Claude Code Integration)
  • Type enforcement added in arcaneum-122
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. 6d ago Changed f335bbe3d733
  2. 3mo ago First seen · 72 lines · 10 tokens per session scan A c5a7c976298c

Subscribe to this mod's changes

collection is a command published in the GitHub repository cwensel/arcaneum (8 stars, last pushed 3d ago), licensed MIT. It adds 10 tokens to every session and 560 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.

Related

collection compared with commands from other repositories

collection next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
collectioncwensel/arcaneumCommand83d agoMITA10Claude Code
queryingupstash/redis-jsCommand9893d agoMITA0Claude Code
ingestGalbaz1/video-research-mcpCommand2310d agoMITA10Claude Code
agentget-convex/convex-agent-pluginsCommand1171mo agoMITA21Claude Code, Cursor
inference.embedstratalab/strata-coreCommand5todayApache-2.0A0Claude Code
vector.batch_upsertstratalab/strata-coreCommand5todayApache-2.0A0Claude Code
proofragunshDee/proofragCommand29d agoMITA22Claude Code