collection

collection is a command for coding agents from cwensel/arcaneum. It costs 10 tokens per session (556 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

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

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 commands/cwensel/arcaneum/collection
Clone the repo
git clone --depth 1 https://github.com/cwensel/arcaneum

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.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.svg" alt="Measured on agentmods" 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 556 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.00010 $0.00556
Opus 5 $0.00005 $0.00278
Sonnet 5 $0.00002 $0.00111
Haiku 4.5 $0.00001 $0.00056

Measured 3d ago against content hash c5a7c976298c, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, 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 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.

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 corpus for dual indexing (recommended)
  • /arc:corpus sync - Index to both systems (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. 3d 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 (7 stars, last pushed 7d ago), licensed MIT. It adds 10 tokens to every session and 556 once invoked, about $0.0001 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.