agentleFS
weaviateweaviate/agent-skills/AGENTS.md

agent-skills

AGENTS.md105 starsChanged 2 months agoBSD-3-ClauseView on GitHub

This document provides setup instructions for AI agents using the Weaviate skill and plugin. 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. External Provider Keys (auto-detected): Set only the keys your collections use: Check if variables are set: All scripts require Python 3.11+. Scripts use uv for dependency management. Check if uv is installed: Install uv if needed: All…

  • Pipes a download into a shell
  • Reads credentials
  • Installs packages
  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,773 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

We split this AGENTS.md into the rules it gives an agent

7 rules. About 0 are common, 2 are distinctive, and 5 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈2

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 5

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    If the user does not have an instance yet, direct them to the cloud console to register and create a free sandbox.

    line 9
  2. Distinctive:

    All scripts require Python 3.11+.

    line 51
  3. Very specific:

    All scripts are in skills/weaviate/scripts/.

    line 89
  4. Very specific:

    All scripts use inline dependency declarations (auto-installed via uv run):

    line 117
  5. Very specific:

    Create a new .md file in skills/<skill-name>/references/.

    line 147
  6. Very specific:

    Add a SKILL.md with YAML frontmatter (name, description) and reference links.

    line 154
  7. Very specific:

    Add reference markdown files in references/.

    line 155

≈ “Common” is an estimate: at least 1 in 5 of the 16,595 AGENTS.md files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
AGENTS.md

Weaviate Agent Skills - Setup Instructions

This document provides setup instructions for AI agents using the Weaviate skill and plugin.

Prerequisites

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

2. Environment Variables

Required:

WEAVIATE_URL="https://your-cluster.weaviate.cloud"
WEAVIATE_API_KEY="your-api-key"

External Provider Keys (auto-detected):

Set only the keys your collections use:

  • OPENAI_API_KEY
  • COHERE_API_KEY
  • HUGGINGFACE_API_KEY
  • JINAAI_API_KEY
  • VOYAGE_API_KEY
  • MISTRAL_API_KEY
  • NVIDIA_API_KEY
  • VERTEX_API_KEY
  • STUDIO_API_KEY
  • AZURE_API_KEY
  • ANTHROPIC_API_KEY
  • ANYSCALE_API_KEY
  • DATABRICKS_TOKEN
  • FRIENDLI_TOKEN
  • XAI_API_KEY
  • AWS_ACCESS_KEY
  • AWS_SECRET_KEY

Check if variables are set:

[ -z "$WEAVIATE_URL" ] && echo "WEAVIATE_URL is NOT set" || echo "WEAVIATE_URL is set"
[ -z "$WEAVIATE_API_KEY" ] && echo "WEAVIATE_API_KEY is NOT set" || echo "WEAVIATE_API_KEY is set"

3. Python Runtime

All scripts require Python 3.11+.

python3 --version

4. uv Package Manager (Recommended)

Scripts use uv for dependency management.

Check if uv is installed:

uv --version

Install uv if needed:

# macOS/Linux
curl -LsSf https://astral.sh/uv/install.sh | sh

# Or with pip
pip install uv

# Or with Homebrew
brew install uv

Project Structure

SkillPathDescription
weaviateskills/weaviate/Scripts and references for searching, querying, and managing Weaviate collections
weaviate-cookbooksskills/weaviate-cookbooks/Implementation guides for building full-stack AI applications with Weaviate

Running Scripts

All scripts are in skills/weaviate/scripts/. Run from that directory.

Available Scripts

For full parameter details, examples, and usage guidance, see the linked references.

Search & Query

  • Query Agent - Ask Mode: Generate AI-powered answers with source citations across multiple collections.
  • Query Agent - Search Mode: Retrieve raw objects using natural language queries across multiple collections.
  • Hybrid Search: Combine vector similarity and keyword matching — the default choice for most searches.
  • Semantic Search: Pure vector similarity search for finding conceptually similar content.
  • Keyword Search: BM25 keyword matching for exact terms, IDs, or specific text patterns.

Collection Management

  • List Collections: Show all available collections with their properties.
  • Get Collection Details: Get detailed configuration of a specific collection including vectorizer, properties, and multi-tenancy settings.
  • Explore Collection: Get statistical insights, aggregation metrics, and sample data from a collection.
  • Create Collection: Create a new collection with custom schema, optional vectorizer, and multi-tenancy support.

Data Operations

  • Fetch and Filter: Fetch objects by UUID or with complex nested filters (AND, OR logic).
  • Import Data: Import data from CSV, JSON, or JSONL files with automatic type conversion and column mapping.

Dependencies

All scripts use inline dependency declarations (auto-installed via uv run):

PackageVersionUsed By
weaviate-client==4.23.1All scripts
weaviate-agents>=1.2.0ask.py, query_search.py
typer>=0.21.0All scripts

Weaviate Cookbooks

Weaviate cookbooks are implementation guides for building full-stack AI applications with Weaviate. All cookbooks are in the skills/weaviate-cookbooks/ skill. For full details and best practices, see the linked references.

  • Query Agent Chatbot: Build a full-stack chatbot using Weaviate Query Agent with streaming and chat history support.
  • Data Explorer: Build a full-stack data explorer app with sorting, keyword search, and tabular data view.
  • Basic RAG: Implement basic retrieval and generation with Weaviate — covers vector, keyword, hybrid, and image search.
  • Advanced RAG: Extend basic RAG with query rewriting, decomposition, LLM-created filters, and re-ranking.
  • Multimodal RAG (PDF): Build a multimodal RAG system for PDF documents using Weaviate Embeddings (ModernVBERT/colmodernvbert) and Ollama with Qwen3-VL for generation.
  • Basic Agent: Build tool-calling AI agents with structured outputs using DSPy.
  • Agentic RAG: Build RAG-powered AI agents combining retrieval with agent logic — covers naive RAG tools, hierarchical RAG, vector DB memory, and Weaviate Query Agent.

Optional Frontend Guide

  • Frontend Interface: Build a Next.js frontend (App Router, Tailwind v4, shadcn/ui) to interact with Weaviate backends.

Contributing

For full guidelines, see CONTRIBUTING.md.

Adding a Reference

  1. Create a new .md file in skills/<skill-name>/references/.
  2. Include usage, parameters, examples, and prerequisites.
  3. Link the new reference from the skill's SKILL.md.

Creating a New Skill

  1. Create directory: mkdir -p skills/my-skill/references
  2. Add a SKILL.md with YAML frontmatter (name, description) and reference links.
  3. Add reference markdown files in references/.

Skills follow the Agent Skills Open Standard.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.