api-vector-db-weaviate

api-vector-db-weaviate is a skill for Claude Code, Codex from agents-inc/skills. It costs 46 tokens per session (3,577 once invoked), scanned A, original, MIT.

A guide to Weaviate, a vector database that finds content by meaning rather than exact words. It also covers retrieval-augmented generation (RAG), where search results provide context for generated answers.

In plain words
What is it for?
Use it to manage Weaviate collections, store and search vectors, filter results, import data, and build RAG queries.
Why use it?
It helps build semantic search and AI features without treating text as ordinary keyword-only data. It also addresses collection setup, filtering, imports, and multiple tenants.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions CLAUDE.md.

Good fit Use it to manage Weaviate collections, store and search vectors, filter results, import data, and build RAG queries.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/agents-inc/skills/api-vector-db-weaviate
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add agents-inc/skills --skill api-vector-db-weaviate
Clone the repo
git clone --depth 1 https://github.com/agents-inc/skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for api-vector-db-weaviate

README.md
[![agentmods](https://agentmods.dev/badge/skills/agents-inc/skills/api-vector-db-weaviate/github.svg)](https://agentmods.dev/skills/agents-inc/skills/api-vector-db-weaviate)
Your own site
<a href="https://agentmods.dev/skills/agents-inc/skills/api-vector-db-weaviate"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/api-vector-db-weaviate/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for api-vector-db-weaviate

Your own site · 80×15
<a href="https://agentmods.dev/skills/agents-inc/skills/api-vector-db-weaviate"><img src="https://agentmods.dev/badge/skills/agents-inc/skills/api-vector-db-weaviate.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 46 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,577 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector pass 7 Sept 2026
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00046 $0.03577
Opus 5 $0.00023 $0.01788
Sonnet 5 $0.00009 $0.00715
Haiku 4.5 $0.00005 $0.00358

Measured 9d ago against content hash 2db5d6ba5004, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

api-vector-db-weaviate scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 9d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

src/skills/api-vector-db-weaviate/SKILL.md · 366 lines

How it starts

The opening of the file, as written. The whole thing — 366 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Weaviate Patterns

Quick Guide: Use Weaviate for semantic search and RAG applications. Use weaviate-client (v3.x) as the TypeScript client -- it uses gRPC for performance and provides full type safety with generics. Connect via connectToWeaviateCloud() for managed instances or connectToLocal() for Docker. Collections are the central abstraction -- configure vectorizers at collection level, not per-query. Use collection.query.* for search, collection.generate.* for RAG, and collection.data.* for CRUD. Always call client.close() when done. Increase query timeout to 60s+ when using generative search. The v3 client does NOT support browsers or Embedded Weaviate.


<critical_requirements>

CRITICAL: Before Using This Skill

All code must follow project conventions in CLAUDE.md (kebab-case, named exports, import ordering, import type, named constants)

(You MUST call client.close() when done with the Weaviate client -- it maintains persistent gRPC connections that will leak if not closed)

(You MUST configure vectorizers at the COLLECTION level during client.collections.create() -- you cannot add a vectorizer after creation, only add new named vectors)

(You MUST use a SEPARATE client.collections.use() call with .withTenant() for multi-tenant queries -- queries without tenant context on multi-tenant collections will fail)

(You MUST increase query timeout to 60+ seconds when using generate.* (RAG) submodule -- generative model calls are slow and the default timeout causes failures)

</critical_requirements>


Examples

Additional resources:

  • reference.md -- API cheat sheet, vectorizer comparison, data types, decision frameworks

Read the full file on GitHub · 366 lines

Files

What ships with it

5 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 9d ago First seen · 366 lines · 46 tokens per session scan A 2db5d6ba5004

Subscribe to this mod's changes

api-vector-db-weaviate is a skill published in the GitHub repository agents-inc/skills (24 stars, last pushed 4d ago), licensed MIT. It adds 46 tokens to every session and 3,577 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories