Lewati ke konten
TakoAPI
Kembali ke skill

kosmi-dj

oleh rmasciarella

Coding Agents & IDEs
—Belum ada penilaian
Penilaian Anda

Ringkasan

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

Deskripsi

Apa yang Dilakukan Skill Ini

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.

Kapan Menggunakannya

  • 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

Contoh Alur Kerja

INPUT

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

OUTPUT

Video begins playing in the Kosmi room for all participants

Persyaratan

  • 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)

Instalasi

clawhub install rmasciarella/kosmi-dj

Jalankan perintah CLI-nya, atau tempel prompt ke Claude Code, Cursor, Codex, atau coding agent apa pun yang Anda pakai.

Tautan