Symptom: macOS system prevents direct pip global installation.
Cause: Python externally managed environment限制 - macOS系统不允许直接用pip全局安装包
Solution for Agent/AI Usage:
When using yt-dlp in an agent or AI context, you MUST use the skilless virtual environment:
# Switch to skilless directory and use uv run
cd ~/.agents/skills/skilless/ && uv run yt-dlp [args]
# Or use skilless scripts (recommended)
cd ~/.agents/skills/skilless/ && uv run scripts/youtube.py <URL>Example - Download video:
cd ~/.agents/skills/skilless/ && uv run yt-dlp -f "best" -o "~/Downloads/video.mp4" "URL"
⚠️ Agent Prompt Rule: Always usecd ~/.agents/skills/skilless/ && uv runbefore any yt-dlp command. Never call system pip or global yt-dlp directly.
Symptom: curl command hangs or fails during uv download.
Solution:
# Install uv manually
curl -LsSf https://astral.sh/uv/install.sh | sh
# Then re-run the Skilless installer
curl -LsSf https://skilless.ai/install | bashSymptom: Downloads are extremely slow or time out.
The installer automatically detects if pypi.org is unreachable and switches to the Tsinghua TUNA mirror. If this auto-detection fails:
# Set mirror manually before installing
export UV_INDEX_URL="https://pypi.tuna.tsinghua.edu.cn/simple"
curl -LsSf https://skilless.ai/install | bashSymptom: Permission denied during installation.
Solution:
# Ensure ~/.local/bin is writable
mkdir -p ~/.local/bin
chmod 755 ~/.local/bin
# Ensure ~/.agents is writable
mkdir -p ~/.agents/skills
chmod -R 755 ~/.agentsNote: Skilless does NOT require
sudo. If you're being asked for sudo, something is wrong with your directory permissions.
Symptom: cd ~/.agents/skills/skilless/ && uv run scripts/youtube.py fails with ffmpeg-related errors.
Solution:
# macOS
brew install ffmpeg
# Ubuntu/Debian
sudo apt install ffmpeg
# Windows (via winget)
winget install ffmpegyt-dlp is installed automatically, but ffmpeg must be available on your system PATH for video processing.
Symptom: No interpreter found for Python >=3.12
Skilless requires Python 3.12+. The installer uses uv to manage Python, but if it can't find a suitable version:
# Install Python 3.12+ via uv
uv python install 3.12
# Then re-run installer
curl -LsSf https://skilless.ai/install | bashRun the built-in health check:
cd ~/.agents/skills/skilless/ && uv run scripts/cli.py doctorThis will verify:
- ✅ uv is installed and accessible
- ✅ Virtual environment exists
- ✅ All Python dependencies are installed
- ✅ CLI tools (search, web, ytd, media) are functional
- ✅ ffmpeg is available (optional, for video processing)
To completely remove Skilless:
rm -rf ~/.agents/skills/skilless
rm -rf ~/.agents/skills/skilless-brainstorming
rm -rf ~/.agents/skills/skilless-research
rm -rf ~/.agents/skills/skilless-writing- Open an issue: https://github.com/brikerman/skilless.ai/issues
- Check existing issues for similar problems
- Include the output of
cd ~/.agents/skills/skilless/ && uv run scripts/cli.py doctorin your report