Aller au contenu
TakoAPI
Retour aux skills

kosmi-dj

par rmasciarella

Coding Agents & IDEs
—Pas encore noté
Ta note

Résumé

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

Description

Ce que fait ce skill

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.

Quand l'utiliser

  • 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

Exemple de workflow

ENTRÉE

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

AGENT
  1. 1

    Loads environment variables including KOSMI_ROOM_URL from the .env file

  2. 2

    Runs kosmi-connect.sh to open the room and handles any login or nickname prompts

  3. 3

    Runs kosmi-play.sh with the provided video URL

  4. 4

    Opens the media modal, fills the URL input, and clicks Play

  5. 5

    Confirms playback started by checking for player UI elements in the accessibility snapshot

SORTIE

Video begins playing in the Kosmi room for all participants

Prérequis

  • agent-browser CLI installed on PATH
  • Kosmi account
  • KOSMI_ROOM_URL environment variable
  • KOSMI_EMAIL and KOSMI_PASSWORD environment variables (if not using a persistent session)

Installation

clawhub install rmasciarella/kosmi-dj

Exécute la commande CLI, ou colle l'instruction dans Claude Code, Cursor, Codex ou l'agent de code que tu utilises.

Liens