Search

PythonReactSEOPDF
OpenClaw

Doubao Capture

Doubao Capture

banner900 source installs☆ 0 Repository stars

Installation

Follow the repository instructions for this skill and your agent. Review the files and dependencies before adding it to your workflow.

SkillHub CLI

skillhub install banner90/doubao-capture

Inspect the source and compatibility requirements, then follow its installation steps.

Give your agent the source link and ask it to inspect instructions and dependencies before explaining the installation steps.

View source ↗Guides

Skill instructions

Doubao Capture

Usage

python scripts/capture_doubao_scroll_v2.py --hwnd <window_handle> --output-dir <dir> --stop-auto --json-output

Parameters

  • window_handle (required): HWND from doubao-launch
  • output_dir (optional): Output directory, default: "works/translations"
  • stop_auto (optional): Auto-detect end, default: true
  • no_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:

  1. youtube-audio-download: Download audio from YouTube
  2. doubao-launch: Launch Doubao translation window
  3. audio-play: Play the downloaded audio
  4. 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 completed
  • success: false - Check error_code and error_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/...

Source information

Source
github
Repository
openclaw/skills
Path
skills/banner90/doubao-capture
Version
—
Commit
3e049d1658ba55b51bb1e9ef69abce8653b84665
Classification source
rules
Status
active
Visibility
public

These signals come from indexed source analysis and may lag behind changes. Check the current source files.

Extracted content

SKILL.md
# Doubao Capture

## Usage

```bash
python scripts/capture_doubao_scroll_v2.py --hwnd <window_handle> --output-dir <dir> --stop-auto --json-output
```

## Parameters

- `window_handle` (required): HWND from doubao-launch
- `output_dir` (optional): Output directory, default: "works/translations"
- `stop_auto` (optional): Auto-detect end, default: true
- `no_new_threshold` (optional): Consecutive empty reads threshold, default: 5

## Returns

```json
{
  "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:
1. **youtube-audio-download**: Download audio from YouTube
2. **doubao-launch**: Launch Doubao translation window
3. **audio-play**: Play the downloaded audio
4. **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 completed
- `success: false` - Check `error_code` and `error_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/...`

Related skills

OpenClaw

13-Day Sprint Method

galizki

Productivity system based on Maya calendar with 13 natural tones for project management and personal development

OpenClaw

1password

daggerkun007

Set up and use 1Password CLI (op). Use when installing the CLI, enabling desktop app integration, signing in (single or multi-account), or reading/injecting/running secrets via op.