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/search)<a href="https://agentmods.dev/commands/cwensel/arcaneum/search"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/search/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/search"><img src="https://agentmods.dev/badge/commands/cwensel/arcaneum/search.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.00011 | $0.00945 |
| Opus 5.5 | $0.00004 | $0.00378 |
| Sonnet 5.5 | $0.00002 | $0.00189 |
| Haiku 4.5 | $0.00001 | $0.00094 |
Grade A, and why
search 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.
What it actually says
Search indexed content using semantic or full-text search. Both modes are first-class: choose the one that matches the query, and use both when unsure.
Quick Start:
# Conceptual or paraphrased query
arc search semantic "your query here" --corpus CorpusName
# Exact phrase (the inner quotes are part of the query)
arc search text '"def authenticate"' --corpus CorpusName
IMPORTANT: The subcommand (semantic or text) comes BEFORE the query.
Subcommands (required):
semantic: Vector-based semantic search (Qdrant)text: Keyword-based full-text search (Qdrant text index by default; MeiliSearch on ameilicorpus)
Examples:
# Conceptual search
/arc:search semantic "identity proofing" --corpus Standards
# Exact identifier
/arc:search text "authenticate_user" --corpus MyCode
# Exact phrase
/arc:search text '"def authenticate"' --corpus MyCode
# Unsure: run both and combine the useful results
/arc:search semantic "retry backoff" --corpus Docs --limit 5
/arc:search text "retry backoff" --corpus Docs --limit 5
Common Options:
- --corpus: Corpus/collection to search (can specify multiple times)
- --limit: Number of results to return (default: 10)
- --offset: Number of results to skip for pagination (default: 0)
- --filter: Metadata filter (key=value, key op value, key:op:value or JSON; see the arc-search skill)
- --json: Output in JSON format
- --verbose: Show detailed information
Semantic Search Options:
- --vector-name: Vector name (auto-detected if not specified)
- --score-threshold: Minimum similarity score
Execution:
arc search $ARGUMENTS
When to Use Each:
Semantic Search (vector-based):
- Finding conceptually similar code/documents
- Cross-language semantic matching
- "What does this" or "How to" questions
- Fuzzy concept matching
Full-Text Search (keyword-based):
- Keyword and identifier lookup
- Function/variable name search
- Quoted phrase search
- Typo-tolerant keyword retrieval
Why use full-text corpus search instead of grep?
- It searches focused corpora, reducing unrelated matches.
- Sources may be PDFs, external repositories, or files absent from the local checkout.
- Results are bounded, ranked, and structure-aware, which is usually more token-efficient than consuming exhaustive matching lines.
- Use
rgor grep instead for regular expressions, exhaustive occurrence enumeration, or the authoritative state of local files that may not have been indexed yet.
Result Format:
Both commands show, for each hit in ranked order:
- A cite,
<corpus>:<path>plus#page=N(PDF),#<heading-slug>(markdown) or#L<start>-<end>(code with a line range), e.g.DevRef:Database-Books/db(31).pdf#page=89. Quote it in backticks to cite a hit. - The score: semantic similarity, or the text backend's ranking score for text (text search prints it in compact and JSON output only)
- A bounded content snippet
--json gives both modes one schema: data.hits[] with corpus, chunk_id,
locator, cite, score, snippet and snippet_truncated; --verbose adds
the stored metadata. See docs/reference/cli-output-format.md.
Related Commands:
- /arc:corpus create - Create a corpus for semantic and full-text search (recommended)
- /arc:corpus sync - Index content into a corpus
- /arc:corpus list - List available corpora
- /arc:collection list - See available collections (semantic only)
Implementation:
- RDR-007: Semantic search via Qdrant
- RDR-012: Full-text search via MeiliSearch (the optional
meilibackend) - RDR-006: Claude Code integration
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 7a75ee8d24a2
- 8d ago Changed 03d74c09211e
- 12d ago Changed · +6 lines 921321075142
- 2mo ago Changed · +17 lines · +8 tokens per session 4f6455793b65
- 3mo ago First seen · 92 lines · 3 tokens per session scan A e133bcead48c
search is a command published in the GitHub repository cwensel/arcaneum (8 stars, last pushed 3d ago), licensed MIT. It adds 11 tokens to every session and 945 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.
search compared with commands from other repositories
| Mod | Type | Stars | Last push | Licence | Scan | Tokens | Works with |
|---|---|---|---|---|---|---|---|
| searchcwensel/arcaneum | Command | 8 | 3d ago | MIT | A | 11 | Claude Code |
| checklistgithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| clarifygithub/spec-kit | Command | 153k | today | MIT | A | 27 | Claude Code |
| specifygithub/spec-kit | Command | 153k | today | MIT | A | 13 | Claude Code |
| analyzegithub/spec-kit | Command | 153k | today | MIT | A | 26 | Claude Code |
| convergegithub/spec-kit | Command | 153k | today | MIT | A | 35 | Claude Code |
| implementgithub/spec-kit | Command | 153k | today | MIT | A | 14 | Claude Code |