Skip to main content
The CLI works well inside agent skills because it exposes Typecast speech generation as a shell command. The agent can draft text, choose filenames, call cast, and return playable audio assets.

Skill instruction template

Minimal command set

Agent prompt pattern

Capability routing

Teach the agent to choose the smallest CLI feature that satisfies the request:
Store the API key with cast login or TYPECAST_API_KEY. Do not paste the key into a shared prompt or generated document.
Prefer cast "$(cat script.txt)" for scripts that are too long to safely quote in a single command.
Tell the agent to create new filenames for revisions instead of overwriting audio that has already been reviewed.

Claude Skills integration

Use Typecast with Claude Skills and agent workflows.

CLI configuration

Set default voice, model, format, and environment variables.