weaviate
它能做什么
这个工具可以让你与一个名为 Weaviate 的特殊数据库进行交互。你可以搜索信息、提问、查看数据是如何组织的、创建新的表(集合,collection),并向其中添加数据。
适用场景
- ✓当你想在 Weaviate 数据库中查找特定信息时。
- ✓当你需要把新数据(比如来自 CSV 或 PDF 文件的数据)添加到某个集合中时。
- ✓当你想创建一个新的“表”(集合)来整理数据时。
技能链接
https://github.com/sickn33/agentic-awesome-skills/blob/main/plugins/agentic-awesome-skills-claude/skills/weaviate/SKILL.md复制后粘贴给你的 AI(Claude、ChatGPT 或 Cursor),让它按照说明操作。
使用方法
最简单的方法:复制下面的消息,粘贴给你的 AI。它会读取这个技能并按说明操作。
可直接粘贴的消息
适用于 Claude Code、Codex 或 Cursor:在项目文件夹中运行,即可安装该技能。
下载 SKILL.md,放进智能体的技能文件夹。
可以这样问 AI
“请在“news”数据库中搜索有关人工智能的文章,并告诉我最近的 3 篇。”
每周 5 个新技能,1 分钟读完。
工作原理
你告诉它想查找或执行什么操作,工具就会使用特定的命令与 Weaviate 数据库通信。它可以检索数据、创建新集合,或从文件中导入信息。
技术内容(原始 SKILL.md)
作者在 GitHub 上的英文原文。
Weaviate Database Operations
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.
When to Use This Skill
- Use when the user needs to inspect Weaviate collections, schemas, or data distribution.
- Use when running semantic, hybrid, keyword, filtered, or Query Agent searches against Weaviate.
- Use when importing CSV, JSON, JSONL, or PDF data into a Weaviate collection.
- Use when creating example data or a collection for a Weaviate-backed workflow.
Weaviate Cloud Instance
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.
Environment Variables
Required:
WEAVIATE_URL- Your Weaviate Cloud cluster URLWEAVIATE_API_KEY- Your Weaviate API key
External Provider Keys (auto-detected): Set only the keys your collections use, refer to Environment Requirements for more information.
Script Index
Search & Query
- Query Agent - Ask Mode: Use when the user wants a direct answer to a question based on collection data. The Query Agent synthesizes information from one or more collections and returns a structured response with source citations (collection name and object ID).
- Query Agent - Search Mode: Use when the user wants to explore or browse raw objects across one or more collections. Unlike ask mode, this returns the actual data objects rather than a synthesized answer.
- Hybrid Search: Default choice for most searches. Provides a good balance of semantic understanding and exact keyword matching. Use this when you are unsure which search type to pick.
- Semantic Search: Use for finding conceptually similar content regardless of exact wording. Best when the intent matters more than specific keywords.
- Keyword Search: Use for finding exact terms, IDs, SKUs, or specific text patterns. Best when precise keyword matching is needed rather than semantic similarity.
Collection Management
- List Collections: Use to discover what collections exist in the Weaviate instance. This should typically be the first step before performing any search or data operation.
- Get Collection Details: Use to understand a collection's schema — its properties, data types, vectorizer configuration, replication factor, and multi-tenancy status. Helpful before running searches or imports.
- Explore Collection: Use to analyze data distribution, top values, and inspect actual content in a collection. Helpful for understanding what data looks like before querying.
- Create Collection: Use to create new collections with custom schemas before importing data. Do not specify a vectorizer unless the user explicitly requests one (the default
text2vec_weaviateis used).
Data Operations
- Fetch and Filter: Use to retrieve specific objects by ID or strictly filtered subsets of data. Best for precise data retrieval rather than search.
- Import Data: Use this when the user asks to import, load, or ingest a file (CSV, JSON, JSONL, PDF) into a collection.
- Create Example Data: Use to create example data for immediate use of other skills, if no data is available or user requests some toy data.
Recommendations
Start by listing collections if you don't know what's available:
uv run scripts/list_collections.pyAsk the user if they want to create example data if nothing is available and the user requests it. Otherwise continue.
uv run scripts/example_data.pyGet collection details to understand the schema:
uv run scripts/get_collection.py --name "COLLECTION_NAME"Explore collection data to see values and statistics:
uv run scripts/explore_collection.py "COLLECTION_NAME"
…
常见问题
什么是像 Weaviate 这样的向量数据库?
它是一种数据库,会以 AI 能够理解含义和上下文的方式存储信息,而不仅仅是精确的文字。这让搜索变得更加智能。
我需要安装 Weaviate 吗?
不一定。你可以使用云端版本(Weaviate Cloud),并提供你的地址(URL)和访问密钥(API Key),工具就能连接上了。
我可以导入哪些文件类型?
你可以导入 CSV、JSON、JSONL 文件中的数据,也可以导入 PDF。
详情
作者的原始描述
Search, query, inspect, create, and import data into Weaviate vector database collections using official scripts and references.
热度
- GitHub 星标
- 48k
- 排名
- #6151
- 许可证
- MIT
- 更新时间
- 2026/10/15
评论
- …
同一仓库的更多技能
00-andruia-consultant
48k帮你的智能体启动或改进 AI 项目。它可以分析代码、推荐工具,并用西班牙语制定行动计划。
007
48k让你的智能体执行安全审计和威胁建模。它有助于保护项目免受攻击和漏洞的威胁。
10-andruia-skill-smith
48k帮你的智能体创建或改进 AI 工具。它可以定义工具的工作方式、编写文档,并验证其结构。
20-andruia-niche-intelligence
48k让你的智能体创建某个特定行业的摘要。它有助于借助可靠的信息来源,了解项目的背景、规则、使用模式和风险。