Voice-to-Protocol Transcriber
by @aipoch-ai
Record experimental procedures and observations via voice commands during lab work. Real-time transcription for structured experiment documentation.
clawhub install voice-to-protocol-transcriber-1📖 About This Skill
name: voice-to-protocol-transcriber description: Record experimental procedures and observations via voice commands during lab work. Real-time transcription for structured experiment documentation. version: 1.0.0 category: Wet Lab tags: [] author: AIPOCH license: MIT status: Draft risk_level: Medium skill_type: Tool/Script owner: AIPOCH reviewer: '' last_updated: '2026-02-06'
Voice-to-Protocol Transcriber
Description
Record operation steps and observations via voice commands during experiments. Suitable for laboratory environments, helping researchers transcribe experimental operations in real-time and generate structured experiment records.
Use Cases
Dependencies
pip install speechrecognition pyaudio pydub python-docx
Configuration
Configure in ~/.openclaw/config/voice-to-protocol-transcriber.json:
{
"language": "zh-CN",
"output_format": "markdown",
"auto_save_interval": 60,
"save_directory": "~/Documents/Experiment-Protocols",
"experiment_name": "default",
"enable_timestamp": true,
"voice_commands": {
"start_recording": "开始记录",
"stop_recording": "停止记录",
"add_observation": "观察到",
"add_step": "步骤",
"save_protocol": "保存记录",
"add_note": "备注"
}
}
Usage
Basic Usage
openclaw skill voice-to-protocol-transcriber --config config.json
Quick Start
# Start voice recording
openclaw skill voice-to-protocol-transcriber --experiment "Cell Culture Experiment-2024-02-06"Use specific language
openclaw skill voice-to-protocol-transcriber --lang en-US
Voice Commands
| Command | Description | |------|------| | "Start Recording" | Start voice recognition and recording | | "Step [content]" | Add an experiment step | | "Observed [content]" | Add observation results | | "Note [content]" | Add additional notes | | "Save Record" | Save current experiment record | | "Stop Recording" | End recording and save |
Output Format
Markdown Format
# Experiment Record: [Experiment Name]Date: 2024-02-06
Time: 14:30:25
Recorder: [User]
Step 1
Time: 14:31:00
Operation: [Voice transcription content]Observation 1
Time: 14:32:15
Content: [Observation result]Note 1
Time: 14:35:00
Content: [Note information]
*Experiment record ended at 14:45:00*
API
Python Call
from skills.voice_to_protocol_transcriber import ProtocolTranscriberInitialize
transcriber = ProtocolTranscriber(
experiment_name="My Experiment",
language="zh-CN"
)Start listening
transcriber.start_listening()Add manual entry
transcriber.add_step("Prepare petri dish")
transcriber.add_observation("Culture medium became turbid")Save and stop
transcriber.save()
transcriber.stop()
Features
Notes
Changelog
1.0.0
Risk Assessment
| Risk Indicator | Assessment | Level | |----------------|------------|-------| | Code Execution | Python/R scripts executed locally | Medium | | Network Access | No external API calls | Low | | File System Access | Read input files, write output files | Medium | | Instruction Tampering | Standard prompt guidelines | Low | | Data Exposure | Output files saved to workspace | Low |
Security Checklist
Prerequisites
# Python dependencies
pip install -r requirements.txt
Evaluation Criteria
Success Metrics
Test Cases
1. Basic Functionality: Standard input → Expected output 2. Edge Case: Invalid input → Graceful error handling 3. Performance: Large dataset → Acceptable processing timeLifecycle Status
⚡ When to Use
💡 Examples
Basic Usage
openclaw skill voice-to-protocol-transcriber --config config.json
Quick Start
# Start voice recording
openclaw skill voice-to-protocol-transcriber --experiment "Cell Culture Experiment-2024-02-06"Use specific language
openclaw skill voice-to-protocol-transcriber --lang en-US
Voice Commands
| Command | Description | |------|------| | "Start Recording" | Start voice recognition and recording | | "Step [content]" | Add an experiment step | | "Observed [content]" | Add observation results | | "Note [content]" | Add additional notes | | "Save Record" | Save current experiment record | | "Stop Recording" | End recording and save |
⚙️ Configuration
Configure in ~/.openclaw/config/voice-to-protocol-transcriber.json:
{
"language": "zh-CN",
"output_format": "markdown",
"auto_save_interval": 60,
"save_directory": "~/Documents/Experiment-Protocols",
"experiment_name": "default",
"enable_timestamp": true,
"voice_commands": {
"start_recording": "开始记录",
"stop_recording": "停止记录",
"add_observation": "观察到",
"add_step": "步骤",
"save_protocol": "保存记录",
"add_note": "备注"
}
}