upstash-search-js
Documentation and setup guide for integrating and managing Upstash Search databases using the TS SDK.
Install
mkdir -p .claude/skills/upstash-search-js && curl -L -o skill.zip "https://agentskills.codes/api/skills/download/15396" && unzip -o skill.zip -d .claude/skills/upstash-search-js && rm skill.zipInstalls to .claude/skills/upstash-search-js
Activation
This is the description your AI agent reads to decide when to run this skill — the better it matches your request, the more reliably it fires.
Entry point for documentation skills covering Upstash Search quick starts, core concepts, and TypeScript SDK usage. Use when a user asks how to get started, how indexing works, or how to use the TS client.Key capabilities
- →Install the Upstash Search TypeScript SDK
- →Create an Upstash Search client
- →Create a new search index
- →Insert or update documents in an index
- →Perform search queries on an index
- →Apply filtered queries using metadata
How it works
The TypeScript SDK provides methods to interact with the Upstash Search service, allowing for index creation, document management, and various search operations.
Inputs & outputs
When to use upstash-search-js
- →Set up an Upstash Search index
- →Insert searchable documents
- →Execute keyword search queries
- →Apply metadata filtering
About this skill
Upstash Search Documentation
Quick Start
Install the TS SDK:
npm install @upstash/search
Create a client and perform a simple upsert + search:
import { Search } from "@upstash/search";
const client = new Search({ url: process.env.UPSTASH_SEARCH_REST_URL, token: process.env.UPSTASH_SEARCH_REST_TOKEN });
const index = client.index("my-index");
await index.upsert({ id: "1", content: { text: "hello world" } });
const results = await index.search({ query: "hello" });
Basic steps:
- Create an index
- Insert or update documents
- Run searches or filtered queries
Other Skill Files
sdk-overview
Provides detailed documentation for all TypeScript SDK commands. Includes:
- delete: Deleting documents
- fetch: Retrieving a document
- info: Index info
- range: Range queries
- reset: Clearing an index
- search: Search queries
- upsert: Adding/updating documents
- getting-started: Setup steps for the SDK
quick-start
Provides a fast, end-to-end workflow for creating a Search database, adding documents, and querying them. Covers essential concepts including:
- Creating a database and storing credentials
- Adding documents with content and metadata
- Understanding content vs metadata (searchability and filterability)
- Performing searches with optional reranking
- Filtering syntax with SQL-like or structured filters
- Common pitfalls and best practices
When not to use it
- →When using a language other than TypeScript for SDK interaction
- →When not interacting with Upstash Search
Limitations
- →Requires an Upstash Search REST URL and token
- →The documentation focuses on TypeScript SDK usage
- →Specific commands like `delete`, `fetch`, `info`, `range`, `reset` are covered in `sdk-overview`
How it compares
This skill provides a quick-start guide and SDK usage for Upstash Search, simplify the process of integrating search functionality into a TypeScript application compared to manual API interaction.
Compared to similar skills
upstash-search-js side by side with the closest alternatives in the catalog.
| Skill | Installs | Updated | Safety | Difficulty |
|---|---|---|---|---|
| upstash-search-js (this skill) | 0 | 5mo | Review | Beginner |
| relational-database-web-cloudbase | 1 | 2mo | Review | Intermediate |
| convex | 0 | 6mo | No flags | Beginner |
| alwib-backend | 0 | 5mo | No flags | Advanced |
Try saying
Example prompts that trigger this skill in your AI assistant.
More by upstash
View all by upstash →You might also like
relational-database-web-cloudbase
TencentCloudBase
Use when building frontend Web apps that talk to CloudBase Relational Database via @cloudbase/js-sdk – provides the canonical init pattern so you can then use Supabase-style queries from the browser.
convex
waynesutton
Umbrella skill for all Convex development patterns. Routes to specific skills like convex-functions, convex-realtime, convex-agents, etc.
alwib-backend
Tsuev
Develop and maintain the Alwib NestJS backend in `backend/`. Use when implementing or refactoring modules, controllers, services, DTO validation, Swagger docs, authentication/authorization flows, Prisma schema and migrations, and backend lint/test flows.
nanoclaw-backend-ts
binidx
Use when editing NanoClaw backend TypeScript under src. Covers Express routes, conversation flow, database persistence, runtime state, providers, scheduler, and agent execution.
resource
owlmeans
How to use @owlmeans/resource — generic resource abstraction (CRUD over a collection of records) used by mongo-resource, redis-resource, state, storage-resource, etc. Auto-invoked when importing from this package or implementing a custom resource type.
data
salazarsebas
Querying Stellar chain data via Stellar RPC (preferred) and Horizon (legacy). Covers RPC JSON-RPC methods, Horizon REST endpoints, streaming, pagination, historical queries, Hubble/Galexie for deep history, and the RPC/Horizon migration story. Use when reading balances, transactions, operations, led