UP

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.zip

Installs 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.
205 chars✓ has a “when” trigger
Beginner

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

You give it
TypeScript code with `Search` client, index name, document content, and search queries
You get back
Search results, index information, or confirmation of document upsertion/deletion

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.

SkillInstallsUpdatedSafetyDifficulty
upstash-search-js (this skill)05moReviewBeginner
relational-database-web-cloudbase12moReviewIntermediate
convex06moNo flagsBeginner
alwib-backend05moNo flagsAdvanced

Try saying

Example prompts that trigger this skill in your AI assistant.

Search skills

Search the agent skills registry