Search Engine
by @ivangdavila
Design and build any search engine with robust indexing, retrieval logic, relevance controls, and evaluation workflows for production systems.
clawhub install search-engineπ About This Skill
name: Search Engine slug: search-engine version: 1.0.0 homepage: https://clawic.com/skills/search-engine description: Design and build any search engine with robust indexing, retrieval logic, relevance controls, and evaluation workflows for production systems. changelog: Initial release with indexing pipeline guidance, query handling patterns, and quality evaluation checklists for reliable engine delivery. metadata: {"clawdbot":{"emoji":"S","requires":{"bins":[]},"os":["darwin","linux","win32"]}}
Setup
On first use, read setup.md and establish activation behavior, system scope, and data constraints before proposing implementation steps.
When to Use
User needs to create, redesign, or scale a search engine for applications, documentation, products, or internal knowledge bases. Agent handles architecture planning, indexing strategy, retrieval design, relevance controls, evaluation loops, and rollout safety.
Architecture
Memory lives in ~/search-engine/. See memory-template.md for baseline structure and status values.
~/search-engine/
|-- memory.md # Persistent context, constraints, and active priorities
|-- requirements.md # Retrieval goals, latency targets, and relevance expectations
|-- experiments.md # Offline experiments and tuning decisions
-- incidents.md # Production issues, root cause, and remediation notes
Quick Reference
Use the smallest relevant file for the task.
| Topic | File |
|-------|------|
| Setup and activation behavior | setup.md |
| Memory template and status model | memory-template.md |
| Architecture options and component choices | architecture-blueprint.md |
| Retrieval and ranking strategy patterns | retrieval-patterns.md |
| Quality measurement and evaluation loops | evaluation-metrics.md |
| Delivery and rollout gates | implementation-checklist.md |
Data Storage
Local notes stay in ~/search-engine/:
Core Rules
1. Start with a Retrieval Contract, Not with Tools
Before selecting engines, define the contract:A search engine without a contract becomes an untestable collection of features.
2. Design Ingestion and Indexing as a Deterministic Pipeline
Every document should pass explicit stages:Deterministic pipelines reduce drift between environments and simplify debugging.
3. Separate Recall Layers from Precision Layers
Treat retrieval as a staged system:Mixing all concerns in one step hides failures and makes tuning unpredictable.
4. Define Relevance Features as Versioned Policy
Relevance changes must be tracked as policy versions:Never ship silent relevance changes without versioned notes and measured deltas.
5. Evaluate Offline Before Production Writes
For each relevance or indexing change:If evaluation evidence is weak, keep the current configuration and iterate.
6. Build Idempotent Index Operations and Safe Rollback
Index updates must be replay-safe:Without idempotency and rollback, incident recovery becomes guesswork.
7. Match Complexity to Workload Reality
Use the minimum architecture that meets requirements:Over-engineering and under-engineering both create expensive rework.
Common Traps
Security & Privacy
Data that leaves your machine:
Data that stays local:
This skill does NOT:
Related Skills
Install with clawhub install if user confirms:
api - Define stable APIs for indexing, querying, and retrieval orchestration
elasticsearch - Implement production indexing and query execution on Elasticsearch
meilisearch - Ship lightweight retrieval stacks with fast iteration cycles
engineering - Structure implementation workstreams and technical decision logs
software-engineer - Improve delivery quality with testable architecture and rollout disciplineFeedback
If useful: clawhub star search-engine
Stay updated: clawhub sync`
β‘ When to Use
User needs to create, redesign, or scale a search engine for applications, documentation, products, or internal knowledge bases. Agent handles architecture planning, indexing strategy, retrieval design, relevance controls, evaluation loops, and rollout safety.
βοΈ Configuration
On first use, read setup.md and establish activation behavior, system scope, and data constraints before proposing implementation steps.