Install
openclaw skills install voice-to-protocol-transcriberRecord experimental procedures and observations via voice commands during lab work. Real-time transcription for structured experiment documentation.
openclaw skills install voice-to-protocol-transcriberRecord 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.
pip install speechrecognition pyaudio pydub python-docx
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": "备注"
}
}
openclaw skill voice-to-protocol-transcriber --config config.json
# 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
| 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 |
# 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*
from skills.voice_to_protocol_transcriber import ProtocolTranscriber
# Initialize
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()
| 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 |
# Python dependencies
pip install -r requirements.txt