agentleFS
kumaran-iskumaran-is/claude-code-onboarding/.claude/skills/weaviate-cookbooks/SKILL.md

weaviate-cookbooks

Skill36 starsChanged 6 months agoMITView on GitHub

Build complete AI applications with Weaviate — Query Agent chatbots, data explorers, multimodal PDF RAG, basic/advanced/agentic RAG pipelines, and DSPy tool-calling agents. Use when scaffolding a full-stack Weaviate application from scratch. Triggers: 'build a chatbot', 'RAG pipeline', 'Query Agent app', 'document search', 'data explorer', 'multimodal search', 'agentic RAG', 'Weaviate app'.

  • Reads credentials

1 other project uses a version of this.

Adopted by

Most recently taken up by

The file

We split this skill into the rules it gives an agent

6 rules. About 0 are common, 3 are distinctive, and 3 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈3

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 3

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Every cookbook shares connection management, dependency setup, and env var patterns.

    line 21
  2. Very specific:

    (Optional): Add frontend via references/frontend_interface.md

    line 42
  3. Very specific:

    (Optional): Use async client for FastAPI via references/async_client.md

    line 43
  4. Distinctive:

    Before generating code, consult these sources:

    line 63
  5. Very specific:

    If the user has no Weaviate instance, direct them to Weaviate Cloud for a free sandbox, then run /weaviate:quickstart first.

    line 71
  6. Distinctive:

    After scaffolding a cookbook app, dispatch:

    line 75

≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill 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
SKILL.md

Weaviate Cookbooks

Iron Law

READ references/project_setup.md AND references/environment_requirements.md BEFORE GENERATING ANY COOKBOOK CODE.

Every cookbook shares connection management, dependency setup, and env var patterns. Skipping setup causes runtime failures that look like Weaviate bugs but are actually missing config.

Quick Cookbook Selector

Use CaseCookbookComplexityBest For
Ask questions, get answersQuery Agent ChatbotLowQ&A interfaces, conversational search
Browse and filter dataData ExplorerLowExploratory analytics, dashboards
Search PDFs / documentsMultimodal RAGMediumDocument retrieval, file search
Basic retrieval + generationBasic RAGLowFirst RAG implementation
Production RAG + rerankingAdvanced RAGHighComplex retrieval, multi-stage ranking
Tool-calling agentBasic AgentMediumStructured task automation with DSPy
RAG + agents combinedAgentic RAGHighMulti-tool workflows, hierarchical retrieval

Process

  1. Read references/project_setup.md — dependency management, venv, project layout
  2. Read references/environment_requirements.md — all required env vars
  3. Select cookbook from the table above based on use case
  4. Read the target cookbook reference file fully before generating code
  5. Scaffold — generate project structure, then fill in implementation
  6. (Optional) Add frontend via references/frontend_interface.md
  7. (Optional) Use async client for FastAPI via references/async_client.md

Reference Files

FileContentWhen to Use
references/project_setup.mdvenv, dependencies, project layout, connection managementAlways — read first
references/environment_requirements.mdAll env vars, provider keys, .env templateAlways — read first
references/query_agent_chatbot.mdFastAPI backend + streaming chat + chat historyBuilding Q&A chatbot
references/data_explorer.mdSorting, keyword search, tabular UIBuilding data browser
references/pdf_multimodal_rag.mdModernVBERT + Ollama Qwen3-VL, PDF ingestionPDF/document search
references/basic_rag.mdRetrieval + generation, simple pipelineFirst RAG implementation
references/advanced_rag.mdReranking, query decomposition, LLM filter selectionProduction RAG
references/basic_agent.mdDSPy AgentResponse, RouterAgent, tool designTool-calling agents
references/agentic_rag.mdRAG tools, LLM filters, vector DB memory, Query AgentAgentic RAG systems
references/frontend_interface.mdNext.js frontend for Weaviate backendAdding a UI layer
references/async_client.mdAsync client, FastAPI lifecycle, multi-clusterProduction async apps

Documentation Sources

Before generating code, consult these sources:

SourceToolPurpose
Weaviate Python v4weaviate-docs MCPCollection APIs, query patterns, async client
Weaviate general docsweaviate-docs MCPApplication architecture, best practices
FastAPIContext7 MCPAsync routes, lifespan events, SSE streaming

If the user has no Weaviate instance, direct them to Weaviate Cloud for a free sandbox, then run /weaviate:quickstart first.

Post-Code Review

After scaffolding a cookbook app, dispatch:

  • weaviate-schema-reviewer — collection schema, v4 API compliance, multi-tenancy
  • rag-pipeline-reviewer — if the cookbook includes a RAG pipeline
  • security-reviewer — if the app handles user input or external data

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.