Skip to content
Databases
Command

/query

Query Weaviate using natural language (Query Agent search mode)

BOOST
From plugin
weaviate
1049 skills9 commands
Install
> /plugin marketplace add weaviate/agent-skills
> /plugin install weaviate@weaviate-plugins

How it fires

How this command gets triggered: by you, by Claude, or both.

  • Fires itselfClaude auto-loads it when your prompt matches the work.
  • You can call itInvoke it directly when you want it.
  • Slash command/query

Context preview

What this command does when you run it.

Query Weaviate using natural language (Query Agent search mode)

Command definition

query.md
description: Query Weaviate using natural language (Query Agent search mode)
argument-hint: query [search text] collections [Collection1,Collection2] limit [10]
allowed-tools: Bash(uv:*), AskUserQuestion, Skill

Query Weaviate (Search Mode)

Use Query Agent to search Weaviate collections with natural language. Returns objects for further processing.

Usage

/weaviate:query query "your search query" collections "Collection1,Collection2" limit 10

Workflow

When necessary, use AskUserQuestion to make entering arguments easier.

1. Parse the query, collections, and limit arguments 2. If arguments are missing:

  • Run `/weaviate:collections` to list available collections
  • Use AskUserQuestion to prompt user to select
  • Default limit to 10 if not specified

3. Run the Query Agent search script:

   uv run ${CLAUDE_PLUGIN_ROOT}/skills/weaviate/scripts/query_search.py --query "USER_QUERY" --collections "COLLECTION_1,COLLECTION_2" --limit "LIMIT"

4. Display results to user

Example

/weaviate:query query "articles about vector databases" collections "Articles,BlogPosts" limit 5

For Generated Answers

Use `/weaviate:ask` instead to get generated answers with sources.

Environment

Requires:

  • `WEAVIATE_URL`: Weaviate Cloud cluster URL
  • `WEAVIATE_API_KEY`: API key for authentication
Ships withweaviate

Agent Skills to help developers build and use AI agents with Weaviate more effectively.

Get the whole plugin
Stats
104
Stars
18
Forks
Active
Maintenance
Python
Language
BSD-3-Clause
License
6d ago
Last commit
8mo ago
Created
3h ago
Added

Repo: weaviate/agent-skills

Other commands on weaviate.