trx is a transcription CLI built for coding agents. Give it a URL or a local file and it downloads, cleans and transcribes the media, then returns text, subtitles and JSON an agent can read. It runs on macOS, Linux and Windows. Start at trx.crafter.run.
One command from URL to text#
trx "<url>" downloads the media with yt-dlp, cleans the audio with ffmpeg and transcribes it. You get a .txt and an .srt next to a JSON result. Transcription runs on local Whisper, the OpenAI API or Vercel AI Gateway, and trx models lists what each backend offers.

Made for agents#
Output is a table in a terminal and JSON when piped. --fields text returns only the transcript to save tokens, --dry-run shows what would run, and trx schema transcribe prints the command's flags as JSON. The bundled agent skill teaches your coding tool to use it.
Try it#
bun add -g @crafter/trx
trx init
trx "https://www.youtube.com/watch?v=..."Or skip the install with npx @crafter/trx@latest init. Add the agent skill with npx skills add crafter-station/trx -g.

