surrealfs: Skill for Claude Code

.agents/skills/surrealdb-vector/SKILL.md

surrealdb-vector is a skill for Claude Code, Codex from surrealdb/surrealfs. It costs 104 tokens per session (632 once invoked), scanned A, original, no licence file.

A guide to vector search in SurrealDB. Vector search compares lists of numbers that represent meaning, using HNSW indexes and nearest-neighbour queries to find similar items.

In plain words
What is it for?
Use it for semantic search, retrieval-augmented generation (RAG), recommendations, vector indexes, and similarity scoring.
Why use it?
It explains how to build similarity search and choose its settings instead of matching only exact words.

Skill for Claude CodeCodex

Which agent this was written for is unclear — body not stored (licence); the path alone says nothing. Also seen: installed under .agents/ (shared by several agents).

This is surrealdb/surrealfs's own configuration. It tells Claude Code and Codex how to work on surrealfs itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything surrealfs configures →

Reuse

Borrowing it

Nothing to install: this file belongs to surrealdb/surrealfs. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/surrealdb/surrealfs/main/.agents/skills/surrealdb-vector/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/surrealdb/surrealfs

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 surrealdb-vector

README.md
[![agentmods](https://agentmods.dev/badge/skills/surrealdb/surrealfs/surrealdb-vector/github.svg)](https://agentmods.dev/skills/surrealdb/surrealfs/surrealdb-vector)
Your own site
<a href="https://agentmods.dev/skills/surrealdb/surrealfs/surrealdb-vector"><img src="https://agentmods.dev/badge/skills/surrealdb/surrealfs/surrealdb-vector/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 surrealdb-vector

Your own site · 80×15
<a href="https://agentmods.dev/skills/surrealdb/surrealfs/surrealdb-vector"><img src="https://agentmods.dev/badge/skills/surrealdb/surrealfs/surrealdb-vector.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 632 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.
Origin unknown 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.00104 $0.00632
Opus 5.5 $0.00042 $0.00253
Sonnet 5.5 $0.00021 $0.00126
Haiku 4.5 $0.00010 $0.00063

Measured 1mo ago against content hash e7ef6d568866, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

surrealdb-vector 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 1mo 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.

.agents/skills/surrealdb-vector/SKILL.md · 84 lines

The source is not reproduced here

No licence file

A repository with no LICENSE is all rights reserved by default, so the body is not copied here. The metadata, the measurements and the link are.

Read it on GitHub

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. 1mo ago First seen · 84 lines · 104 tokens per session scan A e7ef6d568866

Subscribe to this mod's changes

surrealdb-vector is a skill published in the GitHub repository surrealdb/surrealfs (27 stars, last pushed 3d ago), with no licence file. It adds 104 tokens to every session and 632 once invoked, about $0.0004 per session on Opus 5.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-08.

Related

Other skills, from other repositories

chroma

Embedding database for RAG and semantic search.

NousResearch/hermes-agent · 12 tokens

embeddings

Vector embeddings with HNSW indexing, sql.js persistence, and hyperbolic support. 75x faster with agentic-flow integration. Use when: semantic search, pattern matching, similarity queries, knowledge retrieval. Skip when: exact text matching, simple lookups, no semantic understanding needed.

ruvnet/ruflo · 62 tokens

rag-pinecone

Managed vector database for production AI applications. Fully managed, auto-scaling, with hybrid search (dense + sparse), metadata filtering, and namespaces. Low latency (<100ms p95). Use for production RAG, recommendation systems, or semantic search at scale. Best for serverless, managed infrastructure.

davila7/claude-code-templates · 65 tokens

similarity-search-patterns

Implement efficient similarity search with vector databases. Use when building semantic search, implementing nearest neighbor queries, or optimizing retrieval performance.

foryourhealth111-pixel/Vibe-Skills · 30 tokens

pgvector-semantic-search

Use this skill for setting up vector similarity search with pgvector for AI/ML embeddings, RAG applications, or semantic search. Trigger when user asks to: Store or search vector embeddings in PostgreSQL Set up semantic search, similarity search, or nearest neighbor search Create HNSW or IVFFlat indexes for vectors…

timescale/pg-aiguide · 190 tokens

postgres-hybrid-text-search

Use this skill to implement hybrid search combining BM25 keyword search with semantic vector search using Reciprocal Rank Fusion (RRF). Trigger when user asks to: Combine keyword and semantic search Implement hybrid search or multi-modal retrieval Use BM25/pgtextsearch with pgvector together Implement RRF (Reciprocal…

timescale/pg-aiguide · 162 tokens