← 返回 Skills 市场
banner90

Doubao Capture

作者 banner90 · GitHub ↗ · v1.0.6
cross-platform ✓ 安全检测通过
412
总下载
0
收藏
5
当前安装
7
版本数
在 OpenClaw 中安装
/install doubao-capture
功能描述
Capture Doubao translation results with auto-scroll and auto-end detection.
使用说明 (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/...
安全使用建议
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.
功能分析
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.
能力评估
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.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install doubao-capture
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /doubao-capture 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
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.
元数据
Slug doubao-capture
版本 1.0.6
许可证
累计安装 5
当前安装数 5
历史版本数 7
常见问题

Doubao Capture 是什么?

Capture Doubao translation results with auto-scroll and auto-end detection. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 412 次。

如何安装 Doubao Capture?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install doubao-capture」即可一键安装,无需额外配置。

Doubao Capture 是免费的吗?

是的,Doubao Capture 完全免费(开源免费),可自由下载、安装和使用。

Doubao Capture 支持哪些平台?

Doubao Capture 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Doubao Capture?

由 banner90(@banner90)开发并维护,当前版本 v1.0.6。

💬 留言讨论