LaunchKit · 2026
Back to Skills

kosmi-dj

This skill should be used when the user asks to "play a video in Kosmi", "queue a video", "DJ in Kosmi", "start.

0
0 downloads
by @rmasciarella

Setup & Installation

openclaw skills install @rmasciarella/kosmi-dj

Or with the ClawHub CLI, for registry-managed skill folders outside a full OpenClaw workspace:

npx clawhub install kosmi-dj

What This Skill Does

Automates a Kosmi watch party room by acting as a video DJ. Uses agent-browser to navigate the room UI, queue videos by URL, and loop playback continuously. Works by driving the browser directly, so no Kosmi API or developer access is needed.

Controls Kosmi through browser automation rather than an API, so it works without any official integration or developer access.

When to use it

  • Queuing YouTube videos in a Kosmi watch party without touching the browser
  • Running an auto-looping video playlist overnight for a virtual hangout
  • Joining a Kosmi room under a bot display name
  • Playing a specific video URL on demand during a watch session
  • Stopping or restarting the background DJ loop process

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Play this video in my Kosmi room: https://youtube.com/watch?v=dQw4w9WgXcQ

AGENT
  1. 1Loads environment variables including KOSMI_ROOM_URL from the .env file
  2. 2Runs kosmi-connect.sh to open the room and handles any login or nickname prompts
  3. 3Runs kosmi-play.sh with the provided video URL
  4. 4Opens the media modal, fills the URL input, and clicks Play
  5. 5Confirms playback started by checking for player UI elements in the accessibility snapshot
OUTPUT

Video begins playing in the Kosmi room for all participants

Requirements

Accounts, API keys, or tools you or your AI assistant may need to set up while using this skill.

agent-browser CLI installed on PATHKosmi accountKOSMI_ROOM_URL environment variableKOSMI_EMAIL and KOSMI_PASSWORD environment variables (if not using a persistent session)