SKILL.md
Voice Command Intelligence Skill
Phase 1: Voice Interface Design
- Analyze current commands:
list_prompts(tags=["mia", "voice-command"])
- Get design guidelines:
getprompt("voice-command-design-principles", { deviceType: "mobile|raspberry-pi", userContext: "developer|homeowner", focusAreas: detectedusage_patterns })
- Evaluate command clarity:
getprompt("voice-command-clarity-checklist", { commands: currentcommands, userFeedback: collected_feedback })
Phase 2: Context-Aware Interpretation
- When voice input received, query context:
getprompt("mia-context-analyzer", { currentLocation: devicelocation, recentActions: actionhistory, deviceState: systemstate, timeOfDay: current_time })
- Use context to interpret ambiguous commands:
- "lights" could mean "turn on lights" or "show light status" - Context determines correct interpretation
- Generate confident response:
getprompt("voice-response-generator", { interpretation: chosenmeaning, confidence: confidencescore, context: extractedcontext })
Phase 3: Action Execution
- Execute interpreted command
- Capture result
- If successful, remember for future:
- "That voice command worked well" - Add to successful patterns
- If unclear or failed:
- create_prompt(name: "voice-command-failure-analysis-${cmdId}", ...)
Phase 4: Learning Loop
- Collect voice interaction analytics
- Identify commands that work well vs. those that confuse users
- Update voice command prompts with improvements
- When new command category discovered:
`` createprompt( name: "voice-command-pattern-${category}", content: commandpattern_guidelines, tags: ["mia", "voice-command", category] ) ``
Integration with Raspberry Pi
- Local processing for privacy
- Fallback to cloud when needed
- Continuous improvement based on local usage patterns
- Sharing successful patterns across devices via mcp-prompts