install
source · Clone the upstream repo
git clone https://github.com/openclaw/skills
Claude Code · Install into ~/.claude/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.claude/skills && cp -r "$T/skills/banner90/doubao-capture" ~/.claude/skills/openclaw-skills-doubao-capture && rm -rf "$T"
OpenClaw · Install into ~/.openclaw/skills/
T=$(mktemp -d) && git clone --depth=1 https://github.com/openclaw/skills "$T" && mkdir -p ~/.openclaw/skills && cp -r "$T/skills/banner90/doubao-capture" ~/.openclaw/skills/openclaw-skills-doubao-capture && rm -rf "$T"
manifest:
skills/banner90/doubao-capture/SKILL.mdsource content
Doubao Capture
Usage
python scripts/capture_doubao_scroll_v2.py --hwnd <window_handle> --output-dir <dir> --stop-auto --json-output
Parameters
(required): HWND from doubao-launchwindow_handle
(optional): Output directory, default: "works/translations"output_dir
(optional): Auto-detect end, default: truestop_auto
(optional): Consecutive empty reads threshold, default: 5no_new_threshold
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:
- Operation completedsuccess: true
- Checksuccess: false
anderror_codeerror_message
Notes
- Windows GUI automation requires visible desktop (no RDP disconnect)
- Output files are stored in Windows
directoryworks/ - WSL accesses Windows files via
/mnt/h/...