/install doubao-capture
Doubao Capture
Usage
python scripts/capture_doubao_scroll_v2.py --hwnd \x3Cwindow_handle> --output-dir \x3Cdir> --stop-auto --json-output
Parameters
window_handle(required): HWND from doubao-launchoutput_dir(optional): Output directory, default: "works/translations"stop_auto(optional): Auto-detect end, default: trueno_new_threshold(optional): Consecutive empty reads threshold, default: 5
Returns
{
"success": true,
"text_file_path": "H:/works/translations/doubao_20240307_143022.txt",
"line_count": 156,
"char_count": 3847,
"stopped_by": "auto_detect"
}
Tools
capture_translation
Capture translated subtitles from Doubao
Workflow Integration
This skill is part of the YouTube translation workflow:
- youtube-audio-download: Download audio from YouTube
- doubao-launch: Launch Doubao translation window
- audio-play: Play the downloaded audio
- doubao-capture: Capture translated subtitles
Execution
All skills execute on Windows Python via WSL cross-platform call:
wsl -> python.exe scripts/capture_doubao_scroll_v2.py ...
Error Handling
All skills return JSON with success field:
success: true- Operation completedsuccess: false- Checkerror_codeanderror_message
Notes
- Windows GUI automation requires visible desktop (no RDP disconnect)
- Output files are stored in Windows
works/directory - WSL accesses Windows files via
/mnt/h/...
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install doubao-capture - After installation, invoke the skill by name or use
/doubao-capture - Provide required inputs per the skill's parameter spec and get structured output
What is Doubao Capture?
Capture Doubao translation results with auto-scroll and auto-end detection. It is an AI Agent Skill for Claude Code / OpenClaw, with 412 downloads so far.
How do I install Doubao Capture?
Run "/install doubao-capture" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Doubao Capture free?
Yes, Doubao Capture is completely free (open-source). You can download, install and use it at no cost.
Which platforms does Doubao Capture support?
Doubao Capture is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Doubao Capture?
It is built and maintained by banner90 (@banner90); the current version is v1.0.6.