/speak-pack:speak-cost-tuningfrom speak-pack
Optimizes Speak API costs through usage monitoring, tier selection, and efficient audio processing for the Speak language learning platform.
Ships in speak-pack. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Optimize Speak API costs through usage monitoring, tier selection, and efficient audio processing.
speak-install-auth setupConfigure cost tuning for your Speak integration. Speak uses OpenAI's GPT-4o for AI tutoring and Whisper for speech recognition.
// speak_cost_tuning_config.ts
const config = {
apiKey: process.env.SPEAK_API_KEY!,
appId: process.env.SPEAK_APP_ID!,
environment: process.env.NODE_ENV || 'development',
};
// Core implementation for speak cost tuning
import { SpeakClient } from '@speak/language-sdk';
const client = new SpeakClient(config);
// Production-ready implementation
async function setup() {
const health = await client.health.check();
console.log("Status:", health.status);
return health;
}
curl -sf -H "Authorization: Bearer $SPEAK_API_KEY" https://api.speak.com/v1/health | jq .
| Error | Cause | Solution |
|---|---|---|
| 401 Unauthorized | Invalid API key | Verify SPEAK_API_KEY |
| 429 Rate Limited | Too many requests | Implement backoff |
| Connection timeout | Network issue | Check connectivity to api.speak.com |
| Audio format error | Wrong codec | Convert to WAV 16kHz mono |
For production checklist, see speak-prod-checklist.
Basic: Apply cost tuning with default settings for a standard Speak integration.
Production: Configure with monitoring, alerting, and team-specific language learning requirements.
What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
24 skills in this plugin
/speak-ci-integrationGitHub Actions pipeline for Speak integrations with mocked API tests and audio validation.
Use when implementing ci integration,
or managing Speak language learning platform operations.
Trigger with phrases like "speak ci integration", "speak ci integration".
/speak-common-errorsDiagnose and fix common Speak API errors: authentication failures, audio format issues, rate limits, and session management problems.
Use when implementing common errors features,
or troubleshooting Speak language learning integration issues.
Trigger with phrases like "speak common errors", "speak common errors".
/speak-core-workflow-aExecute Speak primary workflow: AI Conversation Practice with real-time feedback.
Use when implementing conversation practice features, building AI tutor interactions,
or core language learning dialogue systems.
Trigger with phrases like "speak conversation practice",
"speak AI tutor", "speak dialogue", "primary speak workflow".
/speak-core-workflow-bExecute Speak secondary workflow: Pronunciation Training with phoneme-level analysis.
Use when implementing pronunciation drills, speech scoring,
or targeted pronunciation improvement features.
Trigger with phrases like "speak pronunciation training",
"speak speech scoring", "speak phoneme analysis".
/speak-data-handlingHandle student audio data, assessment records, and learning progress with GDPR/COPPA compliance.
Use when implementing data handling,
or managing Speak language learning platform operations.
Trigger with phrases like "speak data handling", "speak data handling".
/speak-debug-bundleCollect diagnostic information for Speak API issues: auth verification, audio format validation, session inspection, and network testing.
Use when implementing debug bundle features,
or troubleshooting Speak language learning integration issues.
Trigger with phrases like "speak debug bundle", "speak debug bundle".
npx claudepluginhub flight505/skill-forge --plugin speak-packOther plugins' skills for the same job