lyt agent install codexCodex + Claude Code
A local media capability agents can call reliably.
Agent workflows should not scrape animated progress or guess which post-processed filename exists. lyt separates machine output from human diagnostics.
1. Install the lyt CLI
npm install --global @tanattv/lyt
lyt doctorGlobal package installation and first-use managed binary downloads should always be approved by the user.
2. Install the direct skills
lyt agent install claudelyt agent install allOptional marketplace path
Compatible Codex and Claude Code versions can also install the maintained plugin packages from this repository:
codex plugin marketplace add TanaTTV/lyt
codex plugin add lyt@lyt-pluginsclaude plugin marketplace add TanaTTV/lyt
claude plugin install lyt@lyt-pluginsSee the 30-second workflow
The demo uses an original MIT-licensed source clip, runs the real JSON workflow, and shows the exact path returned to the agent.
Use JSON for every bounded agent job
lyt --audio --json "URL"lyt --clip 1:10-2:45 --mp3 --json "URL"lyt --video -q 1080p --max-filesize 2G --json "URL"Output contract
stdout contains one lyt.result.v1 JSON document. Setup and progress go to stderr. After success, read results[].files and report those exact paths.
Permission-first behavior
- Ask before globally installing lyt or downloading managed tools.
- Single-item mode remains the default for playlist URLs.
- Existing final files remain preserved unless overwrite is explicitly requested.
- Size limits fail safely with a structured reason.
- Never use cookies, authentication, playlists, overwrites, or external downloaders implicitly.