upstash-cli

Manage Upstash Redis, Vector, Search, and QStash resources via the Upstash CLI.

2|1|Updated Jun 9, 2026
One-click install
npx skills add https://github.com/zester4/zilmate --skill upstash-cli-zester4
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: upstash-cli
Source: https://github.com/zester4/zilmate/tree/main/.agents/skills/upstash-cli
Command: npx skills add https://github.com/zester4/zilmate --skill upstash-cli-zester4

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires @upstash/cli.

What problem does it solve? Managing Upstash cloud resources through the web console is slow and hard to automate. This Skill lets you run the Upstash CLI against the Developer API to list, create, configure, and monitor Redis databases, Vector and Search indexes, QStash instances, and teams entirely from the terminal with JSON output. ## Core Features & Use Cases - Full Resource Lifecycle: Create, rename, delete, change plans, reset passwords, and move resources across teams for Redis, Vector, Search, and QStash. - Backups and Stats: Create and restore Redis backups, toggle daily backups, and pull usage statistics with configurable time periods. - Safe Automation: Every command is non-interactive, emits JSON for piping into jq, and supports --dry-run on destructive operations. - Use Case: An agent needs to provision a new Redis database in eu-west-1, enable TLS, set a budget, and retrieve its REST credentials — all in one scripted flow without opening the Upstash console. ## Quick Start Ask the agent to list all your Upstash Redis databases and show their regions and plans using the upstash CLI.

Frequently Asked Questions about upstash-cli

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I manage Upstash Redis databases from the command line?

Install the CLI with npm i -g @upstash/cli, authenticate with upstash login, then run commands like upstash redis list, upstash redis create --name <name> --region <region>, or upstash redis stats --db-id <id>. All output is JSON suitable for piping into jq.

How do I authenticate the Upstash CLI for automation?

Run upstash login once to save credentials to ~/.config/upstash/config.json, or set UPSTASH_EMAIL and UPSTASH_API_KEY environment variables. Flag-based credentials take precedence over env vars, which take precedence over .env files and saved config.

Can the Upstash CLI manage QStash and Vector indexes?

Yes. Use upstash qstash list, get, rotate-token, set-plan, and stats for QStash, and upstash vector create with similarity function, dimension count, and embedding model options for Vector indexes. Search indexes have equivalent list, create, and stats commands.

How do I safely delete Upstash resources without mistakes?

Pass --dry-run to any delete or remove-member command to preview the action before executing it. Destructive commands include redis delete, redis backup delete, team delete, and team remove-member.

How do I run Redis commands through the Upstash CLI?

Use upstash redis exec with --db-url and --db-token, which fall back to UPSTASH_REDIS_REST_URL and UPSTASH_REDIS_REST_TOKEN. Retrieve both values from the endpoint and rest_token fields of upstash redis get --db-id <id>.