/weaviate:weaviatefrom weaviate
Search, query, and manage Weaviate vector databases. Supports semantic, hybrid, and keyword search, natural language queries with AI answers, collection management, data exploration, filtered fetching, and data imports from PDF/CSV/JSON/JSONL files.
Ships in weaviate. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them; scripts run unread.
This skill provides comprehensive access to Weaviate vector databases including search operations, natural language queries, schema inspection, data exploration, filtered fetching, collection creation, and data imports.
If the user does not have an instance yet, direct them to the cloud console to register and create a free sandbox. Create a Weaviate instance via Weaviate Cloud.
Required:
WEAVIATE_URL - Your Weaviate Cloud database URLWEAVIATE_API_KEY - Your Weaviate API keyExternal Provider Keys (auto-detected): Set only the keys your collections use, refer to Environment Requirements for more information.
Commands start from SKILL_DIR, the absolute path of the folder that contains this SKILL.md. Replace it before running, and run the command from the user's project so file arguments such as data.csv resolve against the project:
uv run /path/to/skills/weaviate/scripts/list_collections.py
text2vec_weaviate is used).Weaviate Cloud free-tier databases have limits that can change; if a script's error contradicts this section, trust the error.
429 USAGE_LIMIT_EXCEEDED ("collections count limit of 1 reached"). Run list_collections.py first. If a collection exists, import into it instead of creating another, and ask the user before using the only slot.example_data.py uses that slot. example_data.py creates one collection whose name depends on --domain (AI_Arxiv for the default academic; Income_Tax_Returns, Product_Catalog, Hair_Medical or IT_Support_Tickets for the others). Do not run it unless the user agrees to spend the slot. import.py on a PDF creates its collection automatically when it is absent, and a PDF import that has to create its collection is refused on a free-tier database with 422 CONFIG_NOT_ALLOWED; if the user asks for one, let them decide. No script here deletes a collection.hfresh vector index is accepted. A create that asks for another type (for example hnsw) is refused with 422 CONFIG_NOT_ALLOWED. The scripts pin weaviate-client 4.23.1, which leaves the index type to the server; older clients request hnsw and are refused. If a 422 says hnsw is not allowed on 4.23.1 or newer, tell the user rather than retrying.Start by listing collections if you don't know what's available:
uv run SKILL_DIR/scripts/list_collections.py
Ask the user if they want to create example data if nothing is available and the user requests it. Otherwise continue.
uv run SKILL_DIR/scripts/example_data.py
Get collection details to understand the schema:
uv run SKILL_DIR/scripts/get_collection.py --name "COLLECTION_NAME"
Explore collection data to see values and statistics:
uv run SKILL_DIR/scripts/explore_collection.py "COLLECTION_NAME"
Create a collection if importing a new CSV, JSON, or JSONL file — the collection must exist before importing:
uv run SKILL_DIR/scripts/create_collection.py CollectionName \
--properties '[{"name": "title", "data_type": "text"}, {"name": "body", "data_type": "text"}]'
Do not specify a vectorizer unless the user explicitly requests one.
Import data into an existing collection:
uv run SKILL_DIR/scripts/import.py "data.csv" --collection "CollectionName"
For PDF imports, the collection is created automatically — skip step 5. On a free-tier database, a PDF import that has to create its collection is refused; see Free-Tier Databases.
Choose the right search type:
ask.pyquery_search.pyhybrid_search.py (default)semantic_search.pykeyword_search.pyAll scripts support:
--json flag)Common errors:
WEAVIATE_URL not set → Set the environment variableCollection not found → Use list_collections.py to see available collectionsAuthentication error → Check API keys for both Weaviate and vectorizer providersreferences/ask.md (opens in a new tab)references/create_collection.md (opens in a new tab)references/environment_requirements.md (opens in a new tab)references/example_data.md (opens in a new tab)references/explore_collection.md (opens in a new tab)references/fetch_filter.md (opens in a new tab)references/get_collection.md (opens in a new tab)references/hybrid_search.md (opens in a new tab)references/import_data.md (opens in a new tab)references/keyword_search.md (opens in a new tab)references/list_collections.md (opens in a new tab)references/query_search.md (opens in a new tab)references/semantic_search.md (opens in a new tab)scripts/ask.py (opens in a new tab)scripts/create_collection.py (opens in a new tab)scripts/example_data.py (opens in a new tab)scripts/explore_collection.py (opens in a new tab)scripts/fetch_filter.py (opens in a new tab)scripts/get_collection.py (opens in a new tab)scripts/hybrid_search.py (opens in a new tab)What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub weaviate/agent-skills --plugin weaviate3 skills in this plugin
/weaviate-best-practicesUse when building, migrating, reviewing, or scaling any Weaviate app or service (Docker Compose, Weaviate Cloud, `weaviate-client`, `vector_config`, quantization/RQ/HFresh, bulk batch ingestion, async indexing, hybrid/filtered search, reranking, or RAG). Not for live database administration or ad-hoc data queries./weaviate-cookbooksUse this skill when the user wants to build AI applications with Weaviate. It contains a high-level index of architectural patterns, 'one-shot' blueprints, and best practices for common use cases. Currently, it includes references for building a Query Agent Chatbot, Data Explorer, Multimodal PDF RAG (Document Search), Basic RAG, Advanced RAG, Basic Agent, Agentic RAG, and optional guidance on how to build a frontend for each of them.Other plugins' skills for the same job