Douyin Desktop Control
Paste the following prompt into your AI chat to install this skill:
Please install @user_2be6b945/douyin-control using https://skillhub.cn/install/skillhub.md.
About this skill
Problem
When invoking the Douyin desktop client from automation scripts or agent workflows, the practical issue is often not simply opening the app, but doing so without visible console flashes and leaving no stray background processes.
- A plain command-line launch of
douyin.execan flash a console window. - Ending only the main process may leave
douyin.Update.exe,DouyinPluginHost.exe, and similar components still running.
This skill narrows the workflow to two controlled actions: silent startup and forced shutdown. It is useful in scripted scenarios that repeatedly start or release the Douyin desktop client, and it is also well suited to pipelines where client state should be predictable.
How It Works and Limits
For startup, it invokes the fixed installation path C:\Program Files (x86)\ByteDance\douyin\douyin.exe and uses subprocess.STARTUPINFO to suppress window display, so no command-line window appears. For shutdown, it uses taskkill /f to force-terminate related processes, including:
douyin.exedouyin.Update.exeDouyinPluginHost.exeDouyinWebHelper.exeDouyin.Tray.exe/douyin_tray.exe
In other words, it focuses on predictable client state rather than simply clicking an icon. It targets the Windows desktop client and depends on the stated installation path and process names. If the client path, version layout, or process naming changes, the script must be updated accordingly. Forced termination skips normal shutdown paths, so it is best kept to controlled automation environments and should not be triggered while a user is actively working in the app.
Use Cases
- Automation scripts need to launch the Douyin desktop client silently before running follow-up steps.
- Scheduled jobs must force-terminate Douyin main, updater, and tray processes to release local resources.
- Agent workflows need a repeatable start/stop step so the desktop client state stays predictable.
- Local Windows debugging repeatedly starts and stops Douyin without manually cleaning leftover processes.
Best For
- Windows desktop automation engineers who need scripts to silently launch and force-close the Douyin client.
- AI agent developers building local toolchains who need Douyin start/stop as callable steps.
- Scheduled-task engineers who need reliable cleanup of related background processes before and after jobs.
- QA engineers writing test fixtures who need to repeatedly prepare a Douyin desktop runtime environment.
Related Skills
Collects daily conversations, task logs, and errors, then runs a nine-module review to surface blind spots, generate actions, and update memory.
Local long-term memory for AI agents that appends key facts and daily logs, supports cross-session context and search recall, and auto-archives old diaries to gzip files.
Run a grilling session to interact with or test AI agents.
A systematic prompt optimization skill that refines prompts using a four-step distillation framework (diagnose, structure, think, compress) and methodologies from four prompting masters.