kosmi-dj
由 rmasciarella 提供
Coding Agents & IDEs简介
This skill should be used when the user asks to "play a video in Kosmi", "queue a video", "DJ in Kosmi", "start.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: Play this video in my Kosmi room: https://youtube.com/watch?v=dQw4w9WgXcQ
- 1
Loads environment variables including KOSMI_ROOM_URL from the .env file
- 2
Runs kosmi-connect.sh to open the room and handles any login or nickname prompts
- 3
Runs kosmi-play.sh with the provided video URL
- 4
Opens the media modal, fills the URL input, and clicks Play
- 5
Confirms playback started by checking for player UI elements in the accessibility snapshot
Video begins playing in the Kosmi room for all participants
前置要求
- 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)
安装
clawhub install rmasciarella/kosmi-dj运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。