search

search is a command for Claude Code from kumaran-is/claude-code-onboarding. It costs 14 tokens per session (440 once invoked), scanned A, a copy of search, MIT.

A command for searching one Weaviate collection, which is a container for stored data. It supports hybrid search, semantic search by meaning, and keyword search by exact text.

In plain words
What is it for?
Use it to search a collection with a query, select the search type, adjust hybrid weighting, and limit the results.
Why use it?
It lets you choose the search method that fits the data instead of using one fixed approach. This is useful when exact terms and related meanings both matter.

Command for Claude Code

Installs and runs on its own, but its text points at files inside the plugin that ships it — anything it tells you to read at a ${CLAUDE_PLUGIN_ROOT} path is only there once the plugin is installed.

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/kumaran-is/claude-code-onboarding/search
Clone the repo
git clone --depth 1 https://github.com/kumaran-is/claude-code-onboarding

Made for: Claude Code.

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 search

README.md
[![agentmods](https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/search.svg)](https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/search)
Your own site
<a href="https://agentmods.dev/commands/kumaran-is/claude-code-onboarding/search"><img src="https://agentmods.dev/badge/commands/kumaran-is/claude-code-onboarding/search.svg" alt="Measured on agentmods" height="20"></a>
Per session 14 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 440 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin 94% copy Near-identical to another mod 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.00014 $0.00440
Opus 5 $0.00007 $0.00220
Sonnet 5 $0.00003 $0.00088
Haiku 4.5 $0.00001 $0.00044

Measured yesterday against content hash 959cc1e7daa6, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

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

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.

Origin

This is a copy

94% identical to search — 1 line differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

.claude/commands/weaviate/search.md · 57 lines

What it actually says

Search Weaviate

Perform hybrid, semantic, or keyword search on a collection.

Usage

/weaviate:search query "your query" collection "CollectionName" [type "hybrid"] [alpha "0.5"] [limit "10"]

Workflow

When necessary, use AskUserQuestion to make entering arguments easier.

  1. Parse arguments
  2. If collection is missing:
    • Run /weaviate:collections to list available collections
    • Use AskUserQuestion to prompt user to select
  3. If type is not specified, default to hybrid
  4. Run the appropriate script based on type:

Hybrid (default)

uv run ${CLAUDE_PLUGIN_ROOT}/skills/weaviate/scripts/hybrid_search.py --query "USER_QUERY" --collection "COLLECTION_NAME" --alpha 0.7 --limit 10

Semantic

uv run ${CLAUDE_PLUGIN_ROOT}/skills/weaviate/scripts/semantic_search.py --query "USER_QUERY" --collection "COLLECTION_NAME" --limit 10

Keyword

uv run ${CLAUDE_PLUGIN_ROOT}/skills/weaviate/scripts/keyword_search.py --query "USER_QUERY" --collection "COLLECTION_NAME" --limit 10

Examples

/weaviate:search query "machine learning" collection "Articles"
/weaviate:search query "SKU-12345" collection "Products" type "keyword"
/weaviate:search query "similar concepts" collection "Documents" type "semantic"

Environment

Requires:

  • WEAVIATE_URL: Weaviate Cloud cluster URL
  • WEAVIATE_API_KEY: API key for authentication
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. yesterday First seen · 57 lines · 14 tokens per session scan A 959cc1e7daa6

Subscribe to this mod's changes

search is a command published in the GitHub repository kumaran-is/claude-code-onboarding (35 stars, last pushed 2mo ago), licensed MIT. It adds 14 tokens to every session and 440 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. It is 94% identical to search, differing in 1 line, and is treated as a copy.