← Back to Skills Marketplace
banner90

Doubao Capture

by banner90 · GitHub ↗ · v1.0.6
cross-platform ✓ Security Clean
412
Downloads
0
Stars
5
Active Installs
7
Versions
Install in OpenClaw
/install doubao-capture
Description
Capture Doubao translation results with auto-scroll and auto-end detection.
README (SKILL.md)

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-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/...
Usage Guidance
This skill is instruction-only and does not include the actual Python script it instructs you to run — it points to a script on your H: drive via WSL. Before using: (1) verify that scripts/capture_doubao_scroll_v2.py exists on the referenced path and inspect its contents to ensure it does only the expected GUI capture and file output (no hidden network calls or credential reads); (2) ensure you trust the source of that script and the other workflow skills (doubao-launch, audio-play); (3) be aware it requires a visible Windows desktop and will interact with the GUI; (4) run it in a controlled environment (sandbox or VM) if you are unsure. If you cannot inspect the script, avoid granting it access to sensitive directories or running it with elevated privileges.
Capability Analysis
Type: OpenClaw Skill Name: doubao-capture Version: 1.0.6 The skill bundle contains metadata and documentation for a tool designed to capture translation results from the Doubao application using GUI automation. The described functionality (window handle manipulation, auto-scrolling, and text capture) is consistent with the stated purpose. While the actual Python script logic is not included in the provided files, the documentation and configuration (SKILL.md, openclaw.plugin.json) show no signs of malicious intent, data exfiltration, or prompt injection. The use of an absolute path for the entry point in openclaw.plugin.json suggests a local development environment rather than a malicious payload.
Capability Assessment
Purpose & Capability
The name/description (capture Doubao translation output) match the SKILL.md instructions (run a local Python script to capture translated subtitles). No unrelated credentials, binaries, or network endpoints are requested.
Instruction Scope
Instructions are narrowly scoped to running a local script via WSL/python.exe with a provided HWND and writing output to a Windows 'works/' directory. They reference only UI automation constraints (visible desktop) and the expected integration inputs (window_handle from doubao-launch). Note: the skill assumes the presence of the script 'scripts/capture_doubao_scroll_v2.py' on the host; the package itself does not include that script.
Install Mechanism
No install spec and no downloads — instruction-only — so nothing is written by the skill bundle itself. This is low-risk, but it relies on an external/local script already present on the machine (openclaw.plugin.json entry points at /mnt/h/AI/.../capture_doubao_scroll_v2.py).
Credentials
The skill requests no environment variables, credentials, or config paths. It only references common Windows/WSL paths and an output directory appropriate for the stated task.
Persistence & Privilege
always is false and the skill does not request permanent presence or modify other skill/system configs. It will run only when invoked and relies on local GUI automation capabilities.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install doubao-capture
  3. After installation, invoke the skill by name or use /doubao-capture
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.6
- Minor formatting adjustment in SKILL.md (added an extra space before "name" and "description" fields in the header). - No changes to functionality or usage instructions.
v1.0.5
- Documentation formatting in SKILL.md updated for consistency (YAML indentation adjusted). - No functional or feature changes made to the skill.
v1.0.4
- Updated version to 1.0.4. - Documentation and metadata updates in SKILL.md, openclaw.plugin.json, and package.json. - No changes to core functionality.
v1.0.3
- Removed the _meta.json file from the skill package. - Minor formatting update to SKILL.md. - No functional changes to tool usage or parameters.
v1.0.2
- Added _meta.json file for improved metadata management. - No changes to code or user-facing functionality.
v1.0.1
- Updated dependencies in package.json. - No changes to core functionality or documentation.
v1.0.0
Initial release of doubao-capture. - Captures Doubao translation results with automated scrolling and end-detection. - Supports output in JSON format with details about output file, line count, character count, and stop reason. - Integrates into YouTube translation workflows alongside youtube-audio-download, doubao-launch, and audio-play. - Can be run via Windows Python through WSL for cross-platform compatibility. - Includes robust error handling with standardized JSON responses.
Metadata
Slug doubao-capture
Version 1.0.6
License
All-time Installs 5
Active Installs 5
Total Versions 7
Frequently Asked Questions

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.

💬 Comments