Hermes Agent version: v0.12.0
Summary
The bundled youtube-content skill imports youtube-transcript-api at runtime, but the package is not declared in pyproject.toml. Fresh installs of Hermes Agent fail at first invocation of the skill with ModuleNotFoundError: No module named 'youtube_transcript_api'.
Reproduction
- Install Hermes Agent v0.12.0 into a clean uv-managed venv (default path).
- Trigger the
youtube-content skill against any YouTube video ID.
- Skill fails on import before it can fetch a transcript.
Root cause
skills/media/youtube-content/scripts/fetch_transcript.py (lines 57-67) constructs a YouTubeTranscriptApi() instance and calls .fetch(video_id, languages=...) — the v1.x API surface. The library is not listed in pyproject.toml dependencies, so uv sync does not install it.
Workaround
Install directly into the venv:
uv pip install youtube-transcript-api --python <hermes-venv>/bin/python
This pulls youtube-transcript-api==1.2.4 plus defusedxml==0.7.1 as a transitive dependency. Note that any subsequent uv sync will remove these packages and re-break the skill.
Suggested fix
Add youtube-transcript-api>=1.2.0 to pyproject.toml dependencies. Worth confirming whether defusedxml is already a direct or transitive Hermes dependency before adding it explicitly — it may already be pulled in via another path.
Environment
- Hermes Agent v0.12.0
- Python venv managed by uv
- Linux (Ubuntu, Beelink SER10 MAX)
Hermes Agent version: v0.12.0
Summary
The bundled
youtube-contentskill importsyoutube-transcript-apiat runtime, but the package is not declared inpyproject.toml. Fresh installs of Hermes Agent fail at first invocation of the skill withModuleNotFoundError: No module named 'youtube_transcript_api'.Reproduction
youtube-contentskill against any YouTube video ID.Root cause
skills/media/youtube-content/scripts/fetch_transcript.py(lines 57-67) constructs aYouTubeTranscriptApi()instance and calls.fetch(video_id, languages=...)— the v1.x API surface. The library is not listed inpyproject.tomldependencies, souv syncdoes not install it.Workaround
Install directly into the venv:
This pulls
youtube-transcript-api==1.2.4plusdefusedxml==0.7.1as a transitive dependency. Note that any subsequentuv syncwill remove these packages and re-break the skill.Suggested fix
Add
youtube-transcript-api>=1.2.0topyproject.tomldependencies. Worth confirming whetherdefusedxmlis already a direct or transitive Hermes dependency before adding it explicitly — it may already be pulled in via another path.Environment