Browser Automation Edge Cases
aden-hive/hive
Step-by-step procedure for debugging browser automation failures on complex sites such as LinkedIn, Twitter/X, single-page apps and Shadow DOM pages.
Read and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browseruse getcookies — no manual copying required.
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a claude-codeProject install by default; add -g for ~/.claude/skills/.
$ gh skill install OpenMinis/MinisSkills ytmusic-hub --agent claude-codeProject scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/ytmusic-hub .claude/skills/ytmusic-hub && rm -rf skills-srcUse ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.
Claude Code skills documentation · loads skills from .claude/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .claude/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.Claude Code copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$skill-installer install https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hubType this inside Codex. $skill-installer <name> installs a curated skill from openai/skills. The installer writes to $CODEX_HOME/skills (default ~/.codex/skills). Restart Codex if the skill does not show up.
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a codexProject install goes to .agents/skills/; add -g for ~/.codex/skills/.
$ gh skill install OpenMinis/MinisSkills ytmusic-hub --agent codexProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .agents/skills && cp -r skills-src/ytmusic-hub .agents/skills/ytmusic-hub && rm -rf skills-srcUse ~/.agents/skills/ instead of .agents/skills for a personal install.
Codex skills documentation · loads skills from .agents/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .agents/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.Codex copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a cursorProject install goes to .agents/skills/; add -g for ~/.cursor/skills/.
$ gh skill install OpenMinis/MinisSkills ytmusic-hub --agent cursorProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .cursor/skills && cp -r skills-src/ytmusic-hub .cursor/skills/ytmusic-hub && rm -rf skills-srcUse ~/.cursor/skills/ instead of .cursor/skills for a personal install.
Cursor skills documentation · loads skills from .cursor/skills/, .agents/skills/, .claude/skills/, .codex/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .cursor/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.Cursor copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gemini skills install https://github.com/OpenMinis/MinisSkills.git --path ytmusic-hub--scope user (default) or --scope workspace; --path is the subfolder of the repo that holds the skill; --consent skips the security confirmation prompt.
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a gemini-cliProject install goes to .agents/skills/; add -g for ~/.gemini/skills/.
$ gh skill install OpenMinis/MinisSkills ytmusic-hub --agent gemini-cliProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .gemini/skills && cp -r skills-src/ytmusic-hub .gemini/skills/ytmusic-hub && rm -rf skills-srcUse ~/.gemini/skills/ instead of .gemini/skills for a personal install, then run /skills reload.
Gemini CLI skills documentation · loads skills from .gemini/skills/, .agents/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .gemini/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.Gemini CLI copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ gh skill install OpenMinis/MinisSkills ytmusic-hubInstalls for Copilot at project scope by default; add --scope user for a personal install. Preview a skill first with gh skill preview. Needs GitHub CLI 2.90.0 or later (public preview).
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a github-copilotProject install goes to .agents/skills/; add -g for ~/.copilot/skills/.
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .github/skills && cp -r skills-src/ytmusic-hub .github/skills/ytmusic-hub && rm -rf skills-srcUse ~/.copilot/skills/ instead of .github/skills for a personal install. Commit .github/skills so cloud agent and code review can use it.
GitHub Copilot skills documentation · loads skills from .github/skills/, .claude/skills/, .agents/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .github/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.GitHub Copilot copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
$ npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a opencodeOpenCode documents no install command of its own. Project install goes to .agents/skills/; add -g for ~/.config/opencode/skills/.
$ gh skill install OpenMinis/MinisSkills ytmusic-hub --agent opencodeProject scope by default (.agents/skills/); add --scope user for a personal install.
$ git clone --depth 1 https://github.com/OpenMinis/MinisSkills.git skills-src && mkdir -p .opencode/skills && cp -r skills-src/ytmusic-hub .opencode/skills/ytmusic-hub && rm -rf skills-srcUse ~/.config/opencode/skills/ instead of .opencode/skills for a personal install.
OpenCode skills documentation · loads skills from .opencode/skills/, .claude/skills/, .agents/skills/
Install the "ytmusic-hub" agent skill from https://github.com/OpenMinis/MinisSkills/tree/main/ytmusic-hub into .opencode/skills/ytmusic-hub/ in this project. Copy the whole folder (SKILL.md and every file beside it), keep the folder name "ytmusic-hub", then confirm the skill loads.OpenCode copies the folder itself, the same result as the manual copy. Check what it changed before you commit it.
ytmusic-hubRead and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browseruse getcookies — no manual copying required.
Ytmusic Hub is an agent skill from OpenMinis/MinisSkills. Read and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browseruse getcookies — no manual copying required. Supports fetching playlists, liked songs, playlist details, creating/editing/deleting playlists, searching and adding songs, recommendations, charts, and lyrics. Trigger this skill whenever the user mentions "YouTube Music", "YT Music", "ytmusic", "ytmusic-hub", "get YouTube playlists", "create YouTube Music playlist", "my liked songs", "YTM…
Its SKILL.md is about 1.7k tokens, which your agent loads only when the skill is triggered. The skill folder holds 12 other files, including scripts (for example `evals/evals.json`, `scripts/export_playlist.py` and `scripts/list_playlists.py`).
It sits in Productivity & Automation, covering Browser automation. It works with YouTube and Python. The repository describes itself as: Skills collection for Minis. The licence is MIT.
3 steps, taken from the step headings in SKILL.md.
Read from SKILL.md and the folder at commit ae8c5db. It shows what the files ask for, not the result of running them.
Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.
From allowed-tools in the SKILL.md frontmatter.
Ships 9 files in scripts/ (Python), which the agent can run.
Shell commands in SKILL.md call:
pippython3From the folder's file list and the shell code blocks in SKILL.md.
Hosts in commands or code, which the agent is likely to contact:
music.youtube.comFrom URLs in SKILL.md, links to its own repository left out.
Names no API keys, tokens, secrets or passwords.
From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.
Ytmusic Hub loads about 1.7k tokens when it runs. Until then it costs about 156 tokens; SKILL.md has 286 words of instructions outside code blocks.
Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.
The automated check found no risky patterns in SKILL.md.
Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.
The full file from OpenMinis/MinisSkills at commit ae8c5db, republished under its MIT licence (© OpenMinis). 286 words, ~1,659 tokens.
.claude/skills/ytmusic-hub/SKILL.md (or your agent's skills folder). This skill also uses 10 other files; get the full folder from GitHub.Interact with YouTube Music using the ytmusicapi library, authenticated via browser cookies. Supports full playlist management, search, liked songs, and more.
pip install ytmusicapi/var/minis/workspace/ytmusic_headers.jsonTwo steps: get cookies → generate auth file.
Navigate to YouTube Music and get cookies via browser_use:
browser_use navigate: https://music.youtube.com
browser_use get_cookies -> save env file pathConfirm the page is logged in (avatar visible in top-right), then call get_cookies and note the env file path.
Load the env file and run the auth setup script:
. /var/minis/offloads/env_cookies_youtube_com_xxx.sh
python3 /var/minis/skills/ytmusic-hub/scripts/setup_auth.pyThe script reads all Cookie env vars and writes a browser-auth file with SAPISIDHASH to /var/minis/workspace/ytmusic_headers.json.
Use the unified client module — it automatically handles DNS pollution and SSL issues:
import sys
sys.path.insert(0, "/var/minis/skills/ytmusic-hub/scripts")
from ytmusic_client import get_client
yt = get_client()get_client() will automatically:
socket.getaddrinfoRuntimeError with a clear message# Get all my playlists
playlists = yt.get_library_playlists(limit=25)
# Returns: [{playlistId, title, count, ...}, ...]
# Get playlist contents (all tracks)
playlist = yt.get_playlist(playlistId, limit=100)
# Returns: {title, description, trackCount, tracks: [{videoId, title, artists, ...}]}
# Create a new playlist
playlistId = yt.create_playlist(
title="Playlist name",
description="Description",
privacy_status="PRIVATE" # PUBLIC / PRIVATE / UNLISTED
)
# Edit playlist metadata
yt.edit_playlist(playlistId, title="New name", description="New description")
# Delete a playlist
yt.delete_playlist(playlistId)
# Add songs to a playlist
yt.add_playlist_items(playlistId, videoIds=["videoId1", "videoId2"])
# Remove songs from a playlist
# setVideoId is the track's unique ID within the playlist (different from videoId)
tracks = yt.get_playlist(playlistId)["tracks"]
yt.remove_playlist_items(playlistId, tracks=[
{"videoId": t["videoId"], "setVideoId": t["setVideoId"]}
for t in tracks if t["title"] == "Target song"
])# Get liked songs
liked = yt.get_liked_songs(limit=100)
tracks = liked["tracks"] # [{videoId, title, artists, album, ...}]
# Get library songs / albums / artists
songs = yt.get_library_songs(limit=25)
albums = yt.get_library_albums(limit=25)
artists = yt.get_library_artists(limit=25)
# Like / unlike a song
yt.rate_song(videoId, "LIKE") # LIKE / DISLIKE / INDIFFERENT# General search (mixed results)
results = yt.search("Jay Chou")
# Filter by type
songs = yt.search("Jay Chou", filter="songs")
videos = yt.search("Jay Chou", filter="videos")
albums = yt.search("Jay Chou", filter="albums")
artists = yt.search("Jay Chou", filter="artists")
# Get videoId for adding to playlist
videoId = songs[0]["videoId"]# Home feed
home = yt.get_home()
# Charts (global or by country)
charts = yt.get_charts(country="US") # TW / HK / CN / JP / KR etc.
# Mood playlists
moods = yt.get_mood_categories()
mood_playlists = yt.get_mood_playlists(params=moods["Moods & moments"][0]["params"])
# Lyrics
watch = yt.get_watch_playlist(videoId="videoId")
lyrics_id = watch.get("lyrics")
if lyrics_id:
lyrics = yt.get_lyrics(lyrics_id)
print(lyrics["lyrics"])artist = yt.get_artist(channelId)
album = yt.get_album(browseId)
user = yt.get_user(channelId)
user_playlists = yt.get_user_playlists(channelId, params)results = yt.search("Gao Wu Ren - Love Missed", filter="songs")
videoId = results[0]["videoId"]
playlists = yt.get_library_playlists()
for i, pl in enumerate(playlists):
print(f"{i+1}. {pl['title']} [{pl['playlistId']}]")
yt.add_playlist_items(playlistId, videoIds=[videoId])
print("✅ Added to playlist")new_id = yt.create_playlist("My Favorites", "Picked from liked songs", "PRIVATE")
liked = yt.get_liked_songs(limit=50)
ids = [t["videoId"] for t in liked["tracks"][:20]]
yt.add_playlist_items(new_id, videoIds=ids)
print(f"✅ Created playlist with {len(ids)} songs")playlist = yt.get_playlist(playlistId, limit=200)
lines = [f"# {playlist['title']}", f"> {playlist.get('description', '')}", ""]
for i, t in enumerate(playlist["tracks"], 1):
artists = ", ".join(a["name"] for a in t.get("artists", []))
lines.append(f"{i}. **{t['title']}** — {artists}")
print("\n".join(lines))ytmusic_headers.json contains login credentials — do not share it.music.youtube.com. The client module handles DNS pollution and SSL issues automatically.setVideoId (the track's position-specific ID), not videoId.© OpenMinis, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file
SKILL.md and 10 other files (scripts) in ytmusic-hub of OpenMinis/MinisSkills.
Open the folder on GitHubat commit ae8c5db
Ytmusic Hub next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.
| Skill | Stars | Used in | Tokens | Auto-check | Licence | Repo updated |
|---|---|---|---|---|---|---|
| Ytmusic Hub this skillOpenMinis/MinisSkills | 446 | — | ~1.7k | Automated safety check: Pass | MIT | |
| Browser Automation Edge Casesaden-hive/hive | 11k | — | ~1.8k | Automated safety check: Pass | MIT | |
| Skyvern Browser AutomationSkyvern-AI/skyvern | 23k | — | ~1.9k | Automated safety check: Pass | AGPL-3.0 | |
| AI Search Hubminsight-ai-info/AI-Search-Hub | 1.3k | — | ~1.3k | Automated safety check: Pass | None | |
| Browser Use Terminalbrowser-use/terminal | 650 | — | ~2.1k | Automated safety check: Pass | MIT | |
| Browser Tools981377660LMT/algorithm-study | 277 | 1 repos | ~1.3k | Automated safety check: Pass | None |
aden-hive/hive
Step-by-step procedure for debugging browser automation failures on complex sites such as LinkedIn, Twitter/X, single-page apps and Shadow DOM pages.
Skyvern-AI/skyvern
Automates websites with Skyvern's AI browser agent to fill forms, extract data, download files, log in and run multi-step workflows through SDKs, REST, MCP or a CLI.
minsight-ai-info/AI-Search-Hub
Run the AI Search Hub browser automation scripts for Yuanbao, LongCat, Doubao, Qwen, Gemini, Grok, and MiniMax.
browser-use/terminal
Direct browser control via the Browser Use Terminal CLI. An agent skill from browser-use/terminal.
981377660LMT/algorithm-study
Interactive browser automation via Chrome DevTools Protocol.
Salmonbird/evoui-browser
Use Evoui Browser as the default entry point for common, self-terminating web tasks that need a real browser through agent-browser, including navigation, page reading, clicks, forms, login flows…
OpenMinis/MinisSkills
Automate Android apps that have no public API or web version by driving the UI layer through the Accessibility Service.
OpenMinis/MinisSkills
Install and run OpenAI Codex CLI inside the Minis/iSH Alpine sandbox on iOS, where rustls TLS and async sockets are broken.
OpenMinis/MinisSkills
Score a claim against the evidence behind it. An agent skill from OpenMinis/MinisSkills.
OpenMinis/MinisSkills
HyperFrames CLI and Minis rendering. An agent skill from OpenMinis/MinisSkills.
OpenMinis/MinisSkills
Predict when a person's brain works best from their sleep, using the WhenPeak performance-intelligence API, and turn it into concrete scheduling advice.
OpenMinis/MinisSkills
Generate a mobile-first, immersive, Amap(Gaode)-style custom landmark marker HTML map for travel itinerary planning, place showcasing, location sharing, etc.
Categories
Read and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browseruse getcookies — no manual copying required. Ytmusic Hub is an agent skill from OpenMinis/MinisSkills. Read and write YouTube Music data using Python + ytmusicapi, authenticated via browser cookies obtained automatically with browseruse getcookies — no manual copying required.
Ytmusic Hub fits situations like: this skill whenever the user mentions YouTube Music; get YouTube playlists; create YouTube Music playlist; any scenario requiring programmatic read/write access to YouTube Music data.
Run `npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a claude-code`. Or copy the skill folder (ytmusic-hub in OpenMinis/MinisSkills) into .claude/skills/ytmusic-hub in your project. Claude Code loads it when a task matches its description.
Run `npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a codex`. Or copy the skill folder (ytmusic-hub in OpenMinis/MinisSkills) into .agents/skills/ytmusic-hub in your project. Codex loads it when a task matches its description.
Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add OpenMinis/MinisSkills --skill ytmusic-hub -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/ytmusic-hub, .gemini/skills/ytmusic-hub, .github/skills/ytmusic-hub and .opencode/skills/ytmusic-hub in your project.
Going by SKILL.md and its folder, Ytmusic Hub needs Python for the scripts in its folder and the command-line tools its instructions call (pip and python3). Our summary lists: Python 3.
SKILL.md names 1 domain. In commands or code: music.youtube.com; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.
Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.
Ytmusic Hub is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.
About 1.7k tokens (SKILL.md is roughly 6.6k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.
Skills that share tags, products or a category with Ytmusic Hub: Browser Automation Edge Cases (aden-hive/hive, 11k stars), Skyvern Browser Automation (Skyvern-AI/skyvern, 23k stars), AI Search Hub (minsight-ai-info/AI-Search-Hub, 1.3k stars) and Browser Use Terminal (browser-use/terminal, 650 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.
OpenMinis (a GitHub organization) maintains it in OpenMinis/MinisSkills, which has 446 GitHub stars. The repository holds 49 skills in this directory. The repository was last updated on October 7, 2026.
Source: OpenMinis/MinisSkills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.