Transistor
Manage Transistor.fm podcast hosting from the terminal: view shows, list episodes, check analytics, and get subscriber counts. Use when the user mentions Transistor, podcast hosting, podcast analytics, show management, or episode tracking.From its SKILL.md
npx -y skills add magnus919/agent-skills --skill transistorAssembled from the repository path, not quoted from the project. Check it against their README if it does not work.
What its file declares
Copied from the file, not written here
The file declares its own license as MIT. That is the author’s claim about this one file, and it is not the same thing as the license GitHub reports for the repository, which is listed with the other numbers below.
SKILL.md
4.5 KB, 836 tokens by cl100k_base, as published. Nobody here has run it
transistor-cli — Transistor.fm Podcast Hosting
Manage your Transistor.fm podcast shows, episodes, subscribers, and analytics from the terminal. Uses the Transistor.fm v1 REST API.
Setup
- Get your API key from Transistor.fm: Settings → API Keys (bottom of the page)
- Set the environment variable:
export TRANSISTOR_API_KEY="your-transistor-api-key"
--help and --dry-run work without credentials.
Essential Commands
user — Current user info
transistor-cli user # email and timezone
transistor-cli user --json # machine-readable
shows — List all shows
transistor-cli shows # all shows with episode/subscriber counts
transistor-cli shows --json # machine-readable with IDs
Shows title, episode count, subscriber count, and ID.
episodes — List episodes
transistor-cli episodes # last 20 episodes across all shows
transistor-cli episodes --show 12345 # filter by show ID
transistor-cli episodes --limit 50 # more results
transistor-cli episodes --show 12345 --json # machine-readable
Get show IDs from transistor-cli shows --json. Shows season/episode numbers, title, status, duration, and publish date.
analytics — Download and play analytics
transistor-cli analytics # totals across all shows
transistor-cli analytics --show 12345 # filter by show ID
transistor-cli analytics --json # machine-readable with full totals
Shows total downloads and plays (when available).
Global Flags
All flags work in any position:
transistor-cli --json shows # flag before subcommand
transistor-cli shows --json # flag after subcommand
transistor-cli --dry-run episodes # preview (no API call)
transistor-cli --force episodes --limit 100 # override safety checks
transistor-cli --quiet shows # suppress non-essential output
transistor-cli --verbose episodes # detailed logging
Extra flag vs other CLIs: --force overrides internal safety checks (e.g. large limits).
Known Gotchas
- API key from Settings → API Keys — Not from the user profile or account page. Navigate to Settings → API Keys at the bottom of the Transistor.fm dashboard.
- JSON:API format — Transistor uses the JSON:API spec. All responses are nested under a
datakey, and attributes are underdata[].attributes. The CLI unwraps these for display, but raw JSON output shows the full JSON:API structure. - Show IDs are required for filtered queries — Use
transistor-cli shows --jsonto get show IDs first, then pass them to--showfor episodes and analytics. - Pagination uses cursor-based pagination — The
--limitflag controls the page size. Default is 20 for episodes. The API returnsmetawith pagination info. - Analytics are totals only — The analytics endpoint returns aggregate totals (downloads, plays). Per-episode analytics are not available via this CLI.
- Transistor API is append-only via this CLI — The CLI implements GET endpoints for reading. Creating/updating shows or episodes is not covered here.
- Rate limits — Transistor.fm has rate limits. The CLI does not auto-retry on 429 responses.
References
- scripts/transistor-cli — The CLI binary. Built following the cli-builder patterns:
--json,--dry-run,--force,--quiet,--verbose, dual-output viaemit(), lazy auth. - Transistor API Docs — Official API reference.
- Transistor.fm Dashboard — Settings → API Keys for your API key.
What ships with it: 2 files
8.7 KB alongside SKILL.md, 1 of them executable
scripts/
- transistor-cliruns7.6 KB
- README.md1.1 KB