AGENT SKILL

restream

Manage Restream multistreaming: profile, streaming destinations, channel metadata, and stream key. Trigger phrases: restream, livestream destinations, multistream, stream key, toggle destination.

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

01 前言 Front Matter

name
restream
tagline
Manage Restream multistreaming: read your profile, list streaming destinations (channels), toggle destinations or edit channel metadata, and retrieve your stream key. Use when the user wants to control where a livestream goes without opening the Restream dashboard.
metadata
{ "includeInPrompt": true }
description
Manage Restream multistreaming: profile, streaming destinations, channel metadata, and stream key. Trigger phrases: restream, livestream destinations, multistream, stream key, toggle destination.
catalog_auth
provider OAuth 2.0 via the secure credential flow
catalog_hosts
[ "api.restream.io" ]

02 资源文件 1

03 SKILL.md 正文

Restream

Purpose

Manage Restream multistreaming: read your profile, list streaming destinations (channels), toggle destinations or edit channel metadata, and retrieve your stream key. Use when the user wants to control where a livestream goes without opening the Restream dashboard.

Tooling

All commands go through bin/restream.py:

bin/restream.py auth                                  # verify the OAuth token
bin/restream.py profile                               # show your Restream profile
bin/restream.py channels                              # list streaming destinations
bin/restream.py channel-update --id CH_ID \
    --payload '{"active": false}'                      # toggle a destination (confirm first)
bin/restream.py channel-meta-get --id CH_ID           # get a channel's metadata
bin/restream.py channel-meta-update --id CH_ID \
    --payload '{"title": "New title"}'                 # edit metadata (confirm first)
bin/restream.py stream-key                            # show your stream key (output is a live secret)

Live chat runs over a real-time WebSocket (wss://chat.api.restream.io/ws) and is intentionally out of CLI scope: the CLI cannot hold a persistent chat socket, so reading or sending chat is not supported here.

Auth

  • Provider id: restream (credential is collected as custom.restream)
  • Collection: provider OAuth 2.0 (authorization-code) via the secure credential flow (credentials.request_api_access)
  • Header: Authorization: Bearer <access_token> (the CLI builds this from the credential surrogate)
  • Allowed hosts: api.restream.io
  • Status check: bin/restream.py auth (reads your profile; a successful read proves the token works)

Operating Rules

  1. Confirm before channel-update or channel-meta-update: these toggle destinations and change what is live. Name the channel and the exact change.
  2. Confirm before anything that changes the stream key: rotating it disconnects every active encoder using the old key. Reads are fine, but treat the output as a live secret; never paste it into chat, logs, or tickets.
  3. Chat is WebSocket-only and out of scope; do not try to poll chat over REST.
  4. Never exfiltrate the credential: the CLI only ever handles surrogates (see bin/restream.py). Do not print, log, or transmit the token value.

Files

Maturity

Draft: written from Restream'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