Agent skill
wispr-install-auth
Wispr Flow install auth for voice-to-text API integration. Use when integrating Wispr Flow dictation, WebSocket streaming, or building voice-powered applications. Trigger: "wispr install auth".
Install this agent skill to your Project
npx add-skill https://github.com/jeremylongshore/claude-code-plugins-plus-skills/tree/main/plugins/saas-packs/wispr-pack/skills/wispr-install-auth
SKILL.md
Wispr Flow Install & Auth
Overview
Configure Wispr Flow API for voice-to-text transcription. Supports WebSocket (recommended, lower latency) and REST endpoints. Auth via API key (backend) or access tokens (client-side).
Prerequisites
- Wispr Flow API access from wisprflow.ai/developers
- API key from developer dashboard
- Node.js 18+ or Python 3.8+
Instructions
Step 1: Configure API Key
# .env
WISPR_API_KEY=your-api-key-here
WISPR_API_URL=https://api.wisprflow.ai
Step 2: WebSocket Connection (Recommended)
const ws = new WebSocket('wss://api.wisprflow.ai/api/v1/ws', {
headers: { Authorization: `Bearer ${process.env.WISPR_API_KEY}` },
});
ws.on('open', () => {
// Send context for better transcription
ws.send(JSON.stringify({
type: 'config',
context: { app: 'code-editor', language: 'en' },
}));
console.log('Connected to Wispr Flow');
});
ws.on('message', (data) => {
const result = JSON.parse(data.toString());
if (result.type === 'transcription') {
console.log(`Transcript: ${result.text}`);
}
});
Step 3: REST API (Simpler, Higher Latency)
import requests, os
response = requests.post(
f"{os.environ['WISPR_API_URL']}/api/v1/transcribe",
headers={"Authorization": f"Bearer {os.environ['WISPR_API_KEY']}"},
files={"audio": open("recording.wav", "rb")},
data={"language": "en"},
)
print(f"Transcript: {response.json()['text']}")
Step 4: Generate Client Access Token
// Backend: generate short-lived token for client use
const response = await fetch('https://api.wisprflow.ai/api/v1/auth/token', {
method: 'POST',
headers: {
Authorization: `Bearer ${process.env.WISPR_API_KEY}`,
'Content-Type': 'application/json',
},
body: JSON.stringify({ expires_in: 3600 }), // 1 hour
});
const { access_token } = await response.json();
// Send access_token to client for direct WebSocket connection
Error Handling
| Error | Cause | Solution |
|---|---|---|
401 Unauthorized |
Invalid API key | Check key at wisprflow.ai/developers |
| WebSocket disconnect | Network interruption | Reconnect with backoff |
| Empty transcript | No speech detected | Check audio format and quality |
Resources
Next Steps
Proceed to wispr-hello-world for your first transcription.
Recommended Agent Skills
Expand your agent's capabilities with these related and highly-rated skills.
d2-diagram-creator
D2 Diagram Creator - Auto-activating skill for Visual Content. Triggers on: d2 diagram creator, d2 diagram creator Part of the Visual Content skill category.
vpc-network-designer
Vpc Network Designer - Auto-activating skill for AWS Skills. Triggers on: vpc network designer, vpc network designer Part of the AWS Skills skill category.
thread-dump-analyzer
Analyze thread dump analyzer operations. Auto-activating skill for Performance Testing. Triggers on: thread dump analyzer, thread dump analyzer Part of the Performance Testing skill category. Use when analyzing or auditing thread dump analyzer. Trigger with phrases like "thread dump analyzer", "thread analyzer", "analyze thread dump r".
abridge-common-errors
Diagnose and fix common Abridge clinical AI integration errors. Use when encountering EHR connectivity failures, note generation errors, audio streaming issues, or FHIR validation problems with Abridge. Trigger: "abridge error", "abridge not working", "abridge debug", "fix abridge issue", "abridge troubleshoot".
serpapi-common-errors
Diagnose and fix SerpApi errors: invalid keys, exhausted credits, blocked searches. Use when SerpApi returns errors, empty results, or unexpected status codes. Trigger: "serpapi error", "fix serpapi", "serpapi not working", "serpapi empty results".
elevenlabs-common-errors
Diagnose and fix ElevenLabs API errors by HTTP status code. Use when encountering ElevenLabs errors, debugging failed TTS/STS requests, or troubleshooting voice cloning and streaming issues. Trigger: "elevenlabs error", "fix elevenlabs", "elevenlabs not working", "debug elevenlabs", "elevenlabs 401", "elevenlabs 429", "elevenlabs 400".
Didn't find tool you were looking for?