AGENT SKILL

upstash

Read and write Upstash: get, set, and delete Redis keys, run command pipelines. Trigger phrases: upstash, redis.

License 许可
MIT
所属仓库
TanNhatCMS/jarvis
最近更新
2026-11-07
Stars
★ 0
Forks
1

01 前言 Front Matter

name
upstash
tagline
Run Redis commands over REST.
metadata
{ "includeInPrompt": true }
description
Read and write Upstash: get, set, and delete Redis keys, run command pipelines. Trigger phrases: upstash, redis.
catalog_auth
Per-database token (host declared at connect time)
catalog_hosts
[ "*.upstash.io" ]

02 资源文件 1

03 SKILL.md 正文

Upstash

Purpose

Work with an Upstash Redis database over its REST API: read keys, write keys with optional TTL, delete keys, and run batched command pipelines. Use when the user points at a specific Upstash database host.

Tooling

Every command needs --db-host (the per-database host, https assumed; must end with .upstash.io):

bin/upstash.py --db-host mydb.upstash.io auth                                    # verify the token
bin/upstash.py --db-host mydb.upstash.io get --key "session:123"                 # read a key
bin/upstash.py --db-host mydb.upstash.io set --key "session:123" --value "abc"   # write a key
bin/upstash.py --db-host mydb.upstash.io set --key "otp:7" --value "4921" --ex 300  # write with 5-minute TTL
bin/upstash.py --db-host mydb.upstash.io delete --key "session:123"              # delete a key
bin/upstash.py --db-host mydb.upstash.io pipeline --commands-json '[["GET","a"],["SET","b","1"]]'  # batch commands

Auth

  • Provider id: upstash (credential is collected as custom.upstash)
  • Collection: REST token via the secure credential flow (credentials.request_api_access); each database has its own token and host. The user declares their database host (<database-id>.upstash.io) at connect time.
  • Allowed hosts: built at runtime from --db-host; the surrogate is only swapped for that host
  • Status check: bin/upstash.py --db-host <host> auth (must return "ok": true)

Operating Rules

  1. One credential covers one database product: reads and writes need --db-host so the request goes to the right database.
  2. Writes (set, delete, pipeline) need confirmation with the user first, unless standing permission exists. Reads (get) need none.
  3. Blocking commands such as BLPOP are unsupported over the REST API; do not attempt them.
  4. The separate Upstash Developer API (account management) is out of scope for v1.
  5. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/upstash.py). Do not print, log, or transmit the key value.

Files

Maturity

🧪 Draft: written from Upstash's public API docs; not yet live-tested end-to-end.

04 同仓库更多 Skills

TanNhatCMS
TanNhatCMS/jarvis

web-scrape

Turn web pages into LLM-ready markdown via the Firecrawl API (renders JS, anti-bot handling). Use when browser_open/fetch fails on JS-heavy pages, or when you need clean markdown/structured extraction from a site. Requires FIRECRAWL_API_KEY.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

design-taste-frontend

tasteskill v2, the anti-slop frontend skill. Art direction for websites, distilled from a study of 247 curated gallery sites (One Page Love, Awwwards Sites of the Day). Deals researched directions (idea, composition, type, palette, photographs, section blueprints) from a library, enforces a strict no-slop house style with a real-browser inspector, and runs a look-and-fix loop on screenshots. Use this whenever you build, design, redesign, restyle, polish or review a landing page, marketing site, portfolio, product page, one-pager, hero or any public-facing web page, in any stack (HTML/CSS, React, Next.js, Vue, Svelte, Astro, Tailwind) — also when the user says a page looks generic, templated, "AI-made", sloppy, or asks to make it look designed, premium, award-level or less like every other site. Not for dashboards or app screens.

★ 0
TanNhatCMS
TanNhatCMS/jarvis

test-driven-development

Use when implementing any feature or bugfix, before writing implementation code

★ 0
TanNhatCMS
TanNhatCMS/jarvis

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes

★ 0
TanNhatCMS
TanNhatCMS/jarvis

requesting-code-review

Use when completing tasks, implementing major features, or before merging to verify work meets requirements

★ 0
TanNhatCMS
TanNhatCMS/jarvis

brainstorming

You MUST use this before any creative work - creating features, building components, adding functionality, modifying behavior, or planning anything new, in software or out of it (a talk, a business, a renovation).

★ 0