search-engine-expert

search-engine-expert is a skill for Cursor from roedyrustam/vibes-plug. It costs 56 tokens per session (1,817 once invoked), scanned A, original, MIT.

A guide to adding full-text search to applications with tools such as Typesense, Meilisearch, and Elasticsearch, including filters and autocomplete.

In plain words
What is it for?
Use it to choose a search engine, build search-as-you-type suggestions, tune result relevance, or add faceted product filtering.
Why use it?
It helps replace limited database text matching with search that can handle typos, suggestions, relevance, and filtered results.

Skill for Cursor

Written for Cursor: shipped in a Cursor plugin.

Part of the vibes-plug plugin — 171 skills, 8 agents, 2 MCP servers shipped together

Good fit Use it to choose a search engine, build search-as-you-type suggestions, tune result relevance, or add faceted product filtering.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/roedyrustam/vibes-plug/search-engine-expert
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 roedyrustam/vibes-plug --skill search-engine-expert
Clone the repo
git clone --depth 1 https://github.com/roedyrustam/vibes-plug

Made for: Cursor.

Or install vibes-plug, the plugin that ships this one along with the rest of its 171 skills, 8 agents, 2 MCP servers.

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 search-engine-expert

README.md
[![agentmods](https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/search-engine-expert/github.svg)](https://agentmods.dev/skills/roedyrustam/vibes-plug/search-engine-expert)
Your own site
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/search-engine-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/search-engine-expert/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 search-engine-expert

Your own site · 80×15
<a href="https://agentmods.dev/skills/roedyrustam/vibes-plug/search-engine-expert"><img src="https://agentmods.dev/badge/skills/roedyrustam/vibes-plug/search-engine-expert.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 56 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,817 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.00056 $0.01817
Opus 5.5 $0.00022 $0.00727
Sonnet 5.5 $0.00011 $0.00363
Haiku 4.5 $0.00006 $0.00182

Measured 2d ago against content hash 56c72be1c294, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

search-engine-expert 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 2d 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.

.cursor/skills/search-engine-expert/SKILL.md · 158 lines

How it starts

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

Search Engine & Full-Text Retrieval Expert (2026 Edition)

English | Bahasa Indonesia


English

Orchestration & Integration

  • Upstream Data & Schemas: database-orm-expert, data-pipeline-etl-expert
  • Vector & Hybrid Search: vector-db-rag-expert, graph-rag-knowledge-expert, xerj-search-expert
  • Domain Applications: ecommerce-expert, headless-cms-expert
  • Frontend & Performance: senior-frontend, performance-web-vitals, anti-slop
  • Lifecycle & Governance: zero-to-prod-orchestrator, session-memory-manager

Description

Production guide for high-performance search engines, typo-tolerant autocomplete, faceted navigation, and hybrid retrieval. Covers native PostgreSQL Full-Text Search (tsvector, GIN index, pg_trgm), dedicated search engines (Typesense, Meilisearch), enterprise distributed clusters (OpenSearch/Elasticsearch), and hybrid search using Reciprocal Rank Fusion (RRF) to merge keyword matching with semantic vector embeddings.

Trigger Conditions

  • Implementing instant autocomplete or search-as-you-type beyond simple SQL LIKE %query% filters.
  • Setting up faceted e-commerce product navigation (filtering by category, price ranges, ratings).
  • Choosing between PostgreSQL built-in FTS vs dedicated clusters (Typesense/Meilisearch).
  • Achieving sub-50ms search latency across millions of records.
  • Implementing hybrid search combining dense vectors with sparse BM25 / full-text scores.

Level 1: Native PostgreSQL Full-Text Search (Zero Extra Infrastructure)

-- Enable trigram extension for typo tolerance and fuzzy matching
CREATE EXTENSION IF NOT EXISTS pg_trgm;

-- Create articles table with an automated tsvector generated column
CREATE TABLE IF NOT EXISTS articles (
  id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
  title VARCHAR(255) NOT NULL,
  content TEXT NOT NULL,
  category VARCHAR(64) NOT NULL,
  search_tokens TSVECTOR GENERATED ALWAYS AS (
    setweight(to_tsvector('english', coalesce(title, '')), 'A') ||
    setweight(to_tsvector('english', coalesce(content, '')), 'B')
  ) STORED
);

-- Crucial: GIN index for full-text queries & Trigram index for typos
CREATE INDEX IF NOT EXISTS idx_articles_fts ON articles USING GIN (search_tokens);
CREATE INDEX IF NOT EXISTS idx_articles_title_trgm ON articles USING GIN (title gin_trgm_ops);

-- Fast ranked query with typo fallback
SELECT 
  id, 
  title, 
  ts_rank_cd(search_tokens, websearch_to_tsquery('english', :query)) AS rank,
  similarity(title, :query) AS sim_score
FROM articles
WHERE search_tokens @@ websearch_to_tsquery('english', :query)
   OR title % :query
ORDER BY rank DESC, sim_score DESC
LIMIT 20;

Read the full file on GitHub · 158 lines

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. 2d ago Changed · +2 lines 56c72be1c294
  2. 3d ago Changed · +1 lines 95ff97fbefb3
  3. 6d ago Changed · +65 lines 984d98105a71
  4. 15d ago Changed 79baebe2a6f2
  5. 20d ago Changed f3c7fd3f3538
  6. 21d ago Changed e93128a34736
  7. 23d ago Changed · -6 lines · +45 tokens per session 8dcd7acf746c
  8. 25d ago Changed · +6 lines · -45 tokens per session dfd37afa278f
  9. 1mo ago Changed 723bbedf33fd
  10. 1mo ago First seen · 90 lines · 56 tokens per session scan A 98cbde6c5067

Subscribe to this mod's changes

search-engine-expert is a skill published in the GitHub repository roedyrustam/vibes-plug (113 stars, last pushed today), licensed MIT. It adds 56 tokens to every session and 1,817 once invoked, about $0.0002 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-03.

Related

Other skills, from other repositories

system-and-data-design

Decide whether the system will hold, and where the data lives: requirements and load first, then back-of-the-envelope numbers, building blocks (cache, queue, load balancer, CDN), and the data layer in depth — storage engines, indexes, replication, partitioning, transactions and consistency, batch vs stream. Use when…

AnastasiyaW/codex-claude-code-config · 217 tokens

redis

Expert Redis in-memory data store assistance covering data structures, caching, pub/sub, Lua scripts, Redis Streams, and clustering. Use when building ultra-fast caches, rate limiters, session stores, or message queues.

G1Joshi/Agent-Skills · 45 tokens

firebase

Expert Firebase & Cloud Firestore assistance covering collection/document models, real-time listeners, security rules, and offline caching. Use when building mobile/web apps with real-time sync and client auth.

G1Joshi/Agent-Skills · 39 tokens

supabase

Expert Supabase assistance covering PostgreSQL, Row Level Security (RLS), Edge Functions, Auth, and pgvector. Use when building full-stack web/mobile applications with Postgres backends and instant REST/GraphQL APIs.

G1Joshi/Agent-Skills · 48 tokens

bullmq-specialist

BullMQ expert for Redis-backed job queues, background processing, and reliable async execution in Node.js/TypeScript applications. Use when "bullmq, bull queue, redis queue, background job, job queue, delayed job, repeatable job, worker process, job scheduling, async processing, bullmq, bull, redis, queue…

omer-metin/skills-for-antigravity · 91 tokens

firebase

Firebase gives you a complete backend in minutes - auth, database, storage, functions, hosting. But the ease of setup hides real complexity. Security rules are your last line of defense, and they're often wrong. Firestore queries are limited, and you learn this after you've designed your data model. This skill covers…

omer-metin/skills-for-antigravity · 208 tokens