360 Secure SkillHub
360 安全技能中心

Doubao Launch

通过 WSL 调用 Windows Python 脚本启动豆包桌面应用并配置实时翻译窗口,接收 dual/single 模式参数,返回含窗口句柄与标题的 JSON,是 YouTube 翻译工作流的一环,依赖 Windows 可见桌面环境。

分类:自动化
banner90
banner90
热度 44.02
最近更新 2026-05-17 13:39:48

安装

发给 Agent
帮我安装这个技能:npx secure-skills-cli add banner90/doubao-launch
兼容性
通用兼容
联网要求
联网要求未确认
数据出网
数据出网未确认
Metadata
name
doubao-launch
description
Launch Doubao desktop application and configure real-time translation window.
tools
["launch_doubao"]

Doubao Launch

Usage

python scripts/doubao_auto_workflow.py [--dual|--single] --json-output

Parameters

  • mode (optional): "dual" or "single", default: "dual"

Returns

{
  "success": true,
  "window_handle": 123456,
  "window_title": "Doubao - Real-time Subtitles",
  "mode": "dual"
}

Tools

launch_doubao

Launch Doubao application

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/doubao_auto_workflow.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/...