
computer-automation
Vision-driven desktop automation using Midscene. Control your local desktop (macOS, Windows, Linux) or a remote Windows desktop over RDP with natural language commands. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. ⚠️ In local mode this takes over the user's real mouse and keyboard. For web apps, prefer "Browser Automation" instead. Only use this for desktop-native apps (Electron, Qt, native macOS/Windows/Linux) that cannot run in a browser, or for driving a remote Windows host via RDP. Triggers: open app, press key, desktop, computer, click on screen, type text, screenshot desktop, launch application, switch window, desktop automation, control computer, mouse click, keyboard shortcut, screen capture, find on screen, read screen, verify window, close app, test Electron app, rdp, remote desktop, windows server, connect via rdp Powered by Midscene.js (https://midscenejs.com)
- Installs
- 2.2K
- Last 24h
- —
- Trending rank
- —
- Security
- Not audited
Install
Works with every agent the skills CLI supports.
npx skills add https://github.com/web-infra-dev/midscene-skills --skill computer-automation- 01
Install
Run the command in your project. The CLI asks which agents to install for.
- 02
Describe the task
Ask your agent for something this skill covers. It loads computer-automation automatically when relevant.
- 03
Review the result
The agent follows the SKILL.md steps, scripts and references bundled with the skill.
SKILL.md
The instructions your agent reads when the skill is triggered.
Desktop Computer Automation
CRITICAL RULES — VIOLATIONS WILL BREAK THE WORKFLOW:
- Never run midscene commands in the background. Each command must run synchronously so you can read its output (especially screenshots) before deciding the next action. Background execution breaks the screenshot-analyze-act loop.
- Run only one midscene command at a time. Wait for the previous command to finish, read the screenshot, then decide the next action. Never chain multiple commands together.
- Allow enough time for each command to complete. Midscene commands involve AI inference and screen interaction, which can take longer than typical shell commands. A typical command needs about 1 minute; complex
actcommands may need even longer.- Always report task results before finishing. After completing the automation task, you MUST proactively summarize the results to the user — including key data found, actions completed, screenshots taken, and any relevant findings. Never silently end after the last automation step; the user expects a complete response in a single interaction.
- Only minimize windows, never close them unless explicitly asked. When you need to dismiss or get a window out of the way, minimize it instead of closing it. Do not close any app or window unless the user explicitly asks you to do so.
Control your desktop (macOS, Windows, Linux) using npx -y @midscene/computer@1. Each CLI command maps directly to an MCP tool — you (the AI agent) act as the brain, deciding which actions to take based on screenshots.
What act Can Do
Inside a single act call on desktop, Midscene can move the mouse, click, double-click, right-click, drag items, type or clear text, scroll, press single keys or keyboard shortcuts, and work through multi-step interactions on whatever is visible on the selected display.
Prerequisites
Midscene requires models with strong visual grounding capabilities. The following environment variables must be configured — either as system environment variables or in a .env file in the current working directory (Midscene loads .env automatically):
MIDSCENE_MODEL_API_KEY="your-api-key"
MIDSCENE_MODEL_NAME="model-name"
MIDSCENE_MODEL_BASE_URL="https://..."
MIDSCENE_MODEL_FAMILY="family-identifier"
Example: Gemini (Gemini-3-Flash)
MIDSCENE_MODEL_API_KEY="your-google-api-key"
MIDSCENE_MODEL_NAME="gemini-3-flash"
MIDSCENE_MODEL_BASE_URL="https://generativelanguage.googleapis.com/v1beta/openai/"
MIDSCENE_MODEL_FAMILY="gemini"
Example: Qwen 3.5
MIDSCENE_MODEL_API_KEY="your-aliyun-api-key"
MIDSCENE_MODEL_NAME="qwen3.5-plus"
MIDSCENE_MODEL_BASE_URL="https://dashscope.aliyuncs.com/compatible-mode/v1"
MIDSCENE_MODEL_FAMILY="qwen3.5"
MIDSCENE_MODEL_REASONING_ENABLED="false"
# If using OpenRouter, set:
# MIDSCENE_MODEL_API_KEY="your-openrouter-api-key"
# MIDSCENE_MODEL_NAME="qwen/qwen3.5-plus"
# MIDSCENE_MODEL_BASE_URL="https://openrouter.ai/api/v1"
Example: Doubao Seed 2.0 Lite
MIDSCENE_MODEL_API_KEY="your-doubao-api-key"
MIDSCENE_MODEL_NAME="doubao-seed-2-0-lite"
MIDSCENE_MODEL_BASE_URL="https://ark.cn-beijing.volces.com/api/v3"
MIDSCENE_MODEL_FAMILY="doubao-seed"
Commonly used models: Doubao Seed 2.0 Lite, Qwen 3.5, Zhipu GLM-4.6V, Gemini-3-Pro, Gemini-3-Flash.
If the model is not configured, ask the user to set it up. See Model Configuration for supported providers.
Commands
Connect to Desktop
npx -y @midscene/computer@1 connect
npx -y @midscene/computer@1 connect --displayId <id>
Connect via RDP
Use RDP mode to drive a remote Windows desktop instead of the local machine. Providing --host switches connect to RDP and routes every subsequent command (act, tap, take_screenshot, assert, disconnect) through the RDP helper binary bundled with @midscene/computer. The local mouse/keyboard is not touched.
Minimum example:
npx -y @midscene/computer@1 connect \
--host rdp.example.com \
--username Administrator \
--password "$RDP_PASSWORD"
All RDP options for connect (RDP mode is activated when --host is set; the other flags are optional):
--host <fqdn-or-ip>— RDP host. Required to enter RDP mode.--port <number>— RDP port (default3389).--username <user>— RDP user account.--password <secret>— RDP password. Prefer reading from an environment variable, secrets manager, or interactive prompt; never paste it into a shared transcript.--domain <domain>— Active Directory / NTLM domain.--security-protocol <auto|tls|nla|rdp>— Security protocol negotiation. Defaults toauto.--ignore-certificate— Skip TLS certificate validation. Use only for trusted dev hosts with self-signed certs.--admin-session— Attach to the admin/console session (equivalent tomstsc /admin).--desktop-width <px>and--desktop-height <px>— Request a specific remote desktop resolution. The actual size is whatever the RDP server negotiates back; e.g. requesting1024x768against a host that pins1280x720will land on1280x720. Confirm the negotiated size withlistdisplays --host ... --username ... --password ...after connect.
Notes specific to RDP mode:
--displayIdand--headlessare ignored in RDP mode. A connected RDP session always exposes a single virtual display whose size is whatever the server negotiated.- Two display-listing commands exist and behave differently — pick the right one:
list_displays(with underscore, platform tool) — enumerates local physical displays only. Does not accept RDP flags. Useless after an RDP connect.listdisplays(no underscore, action tool) — accepts the same RDP flags asconnect/take_screenshot/etc. In RDP mode it returns the negotiated virtual display, e.g.[{ "id": "...", "name": "RDP 10.70.86.26:3389 (1280x720)", "primary": true }]. Use this to verify the actual resolution.
- The RDP transport uses a native helper binary shipped inside
@midscene/computer. If you seeRDP helper binary not founderrors, the optionalbin/<platform>/rdp-helperwas stripped from your install — reinstall the package or unpack a fresh tarball. - Treat RDP credentials as secrets: do not commit
.envfiles containing--passwordto the repo; preferexport RDP_PASSWORD=...in the current shell and reference it as--password "$RDP_PASSWORD". - Latency expectations: every CLI invocation is a fresh node process, so each command re-establishes the RDP session. Budget roughly:
connect/take_screenshot/keyboardpress/scroll: ~5 s (node startup + RDP TLS+NLA handshake + first frame).act/assert/tap --locate: ~5 s + AI inference + any planned sub-actions; expect 8–20 s end-to-end for typical interactions.- The RDP handshake itself is ~700 ms; the rest is unavoidable cold-start cost in the CLI shape.
- Connect failure diagnostics: when
connectfails, the first line of stderr is the actionable error (e.g.connect_failed: Failed to connect to RDP server: ERRCONNECT_LOGON_FAILURE: Logon failed.). The subsequent stack trace is diagnostic noise — read the first line, then check credentials/network. CommonERRCONNECT_*causes:LOGON_FAILURE— bad username/password/domain.CONNECT_TRANSPORT_FAILED— host unreachable or RDP port blocked. Verify withnc -zv <host> 3389.TLS_CONNECT_FAILED— TLS handshake rejected. Try--ignore-certificatefor self-signed dev hosts, or pin--security-protocol nla.
After connect --host ... succeeds, the rest of the workflow (act, tap --locate, assert, take_screenshot, listdisplays, report-tool, disconnect) is identical to local mode — just remember to pass the same --host/--username/--password/--ignore-certificate flags to every subsequent command, since each CLI invocation is stateless and reconnects.
List Displays
npx -y @midscene/computer@1 list_displays
Take Screenshot
npx -y @midscene/computer@1 take_screenshot
After taking a screenshot, read the saved image file to understand the current screen state before deciding the next action.
Perform Action
Use act to interact with the computer and get the result. It autonomously handles all UI interactions internally — clicking, typing, scrolling, waiting, and navigating — so you should give it complex, high-level tasks as a whole rather than breaking them into small steps. Describe what you want to do and the desired effect in natural language:
# specific instructions
npx -y @midscene/computer@1 act --prompt "type hello world in the search field and press Enter"
npx -y @midscene/computer@1 act --prompt "drag the file icon to the Trash"
# or target-driven instructions
npx -y @midscene/computer@1 act --prompt "search for the weather in Shanghai using the Chrome browser, tell me the result"
Assert Current Screen State
Use assert to verify that the current screen satisfies a natural language condition. It does not perform UI actions; it checks the visible screen state and passes only when the assertion is true. Use this for validation, QA checks, and final state verification after act.
npx -y @midscene/computer@1 assert --prompt "there is a login button visible"
npx -y @midscene/computer@1 assert --prompt "the active window shows a saved confirmation message"
npx -y @midscene/computer@1 assert --displayId 1 --prompt "the file picker is open"
By default a failed assertion throws an AI-generated reason. Pass --message to throw a custom error message instead, which is useful for surfacing the intended outcome in QA and CI logs.
npx -y @midscene/computer@1 assert \
--prompt "the export completed dialog is visible" \
--message "the export should finish after clicking Save"
When the assertion needs to compare against a reference image (icon, logo, screenshot), pass --image for the URL/path and --image-name for its display name. Each --image may be an http(s) link, a data: URI, or a local file path. Repeat both flags in matching order when you need to attach more than one image. Add --convertHttpImage2Base64 true when the model cannot reach the URL directly. Requires @midscene/computer@1.9.0+.
npx -y @midscene/computer@1 assert \
--prompt "the active window matches the supplied reference screenshot" \
--image "https://example.com/reference.png" \
--image-name "reference" \
--convertHttpImage2Base64 true
# or with a local file
npx -y @midscene/computer@1 assert \
--prompt "the visible icon matches the supplied logo" \
--image "./fixtures/logo.png" \
--image-name "logo"
# multiple reference images — pair --image and --image-name by order
npx -y @midscene/computer@1 assert \
--prompt "the active window matches both the icon and the logo" \
--image "./fixtures/icon.png" --image-name "icon" \
--image "./fixtures/logo.png" --image-name "logo"
Record and Assert Transient UI
Use a recording when the state to verify may disappear before a current-screen assertion runs, such as a toast, loading banner, animation, or transition:
# Terminal 1: keep this foreground command running
npx -y @midscene/computer@1 record start --displayId 1 \
--output ./save-observation.json
# Terminal 2, while Terminal 1 records
npx -y @midscene/computer@1 act --displayId 1 \
--prompt "click the Save button"
# Send Ctrl+C to Terminal 1 and wait for the saved-path message, then assert
npx -y @midscene/computer@1 assert --displayId 1 \
--record ./save-observation.json \
--prompt "a saved confirmation appeared"
Pass local display or RDP target flags and --output to record start, then wait for Recording. Press Ctrl+C to stop and save. Keep the recorder as a foreground process in its dedicated terminal; never add shell &. Perform the interaction manually or from a second terminal, send Ctrl+C to the recorder, and wait until it prints the saved path before asserting. Repeat target flags on actions and the final assert. Optional capture flags are --interval-ms, --max-frames, and --watchdog-ms; --max-frames caps sampled frames, and the manifest may contain one additional final representative frame. The default watchdog finalizes and saves the recording after five minutes, while --watchdog-ms 0 disables that safety limit. The output is a JSON manifest plus an adjacent <name>.frames image directory, not an encoded video or archive. The manifest contains relative JPEG/PNG paths and no base64 image bodies. Keep or move the JSON file and image directory together, and pass the JSON path to assert --record. Use ordinary assert without --record when only the current screen matters.
Use a Reference Image for Precise Targeting
When the user provides a screenshot, icon, logo, or reference image and wants an exact visual match, prefer tap --locate instead of a generic act --prompt. Pass --locate as JSON. The prompt describes the target, images supplies named reference images, and convertHttpImage2Base64: true is useful when the image URL may not be directly accessible to the model.
npx -y @midscene/computer@1 tap --locate '{
"prompt": "tap the area contains the image",
"images": [
{
"name": "target image",
"url": "https://github.githubassets.com/assets/GitHub-Mark-ea2971cee799.png"
}
],
"convertHttpImage2Base64": true
}'
The same locate JSON shape also works for other commands that accept a locate parameter.
Disconnect
npx -y @midscene/computer@1 disconnect
Consume Report Files
The generated HTML report is recommended for human reading first. It includes step-by-step execution details and replay videos for each operation, which makes it much easier to understand what happened and troubleshoot problems.
If another skill or tool needs to consume the report, first convert it with report-tool from the same platform CLI package. Prefer Markdown for LLM-based workflows. Use JSON when the report needs to be processed programmatically.
npx -y @midscene/computer@1 report-tool --action to-markdown --htmlPath ./midscene_run/report/.../index.html --outputDir ./output-markdown
npx -y @midscene/computer@1 report-tool --action split --htmlPath ./midscene_run/report/.../index.html --outputDir ./output-data
Workflow Pattern
Since CLI commands are stateless between invocations, follow this pattern:
- Connect to establish a session
- Health check — observe the output of the
connectcommand. Ifconnectalready performed a health check (screenshot and mouse movement test), no additional check is needed. Ifconnectdid not perform a health check, do one manually: take a screenshot and verify it succeeds, then move the mouse to a random position (act --prompt "move the mouse to a random position") and verify it succeeds. If either step fails, stop and troubleshoot before continuing. Only proceed to the next steps after both checks pass without errors. - Launch the target app and take screenshot to see the current state, make sure the app is launched and visible on the screen.
- Execute action using
actto perform the desired action or target-driven instructions. Useassertfor the resulting screen state, or keeprecord start --output ...running in a dedicated terminal during transient-state workflows, stop it with Ctrl+C, and then useassert --record. - Disconnect when done
- Report results — summarize what was accomplished, present key findings and data extracted during the task, and list any generated files (screenshots, logs, etc.) with their paths
Best Practices
- Always run a health check first: After connecting, observe the output of the
connectcommand. Ifconnectalready performed a health check (screenshot and mouse movement test), no additional check is needed. If it did not, do one manually: take a screenshot and move the mouse to a random position. Both must succeed (no errors) before proceeding with any further operations. This catches environment issues early. - Bring the target app to the foreground before using this skill: For best efficiency, bring the app to the foreground using other means (e.g.,
open -a <AppName>on macOS,start <AppName>on Windows) before invoking any midscene commands. Then take a screenshot to confirm the app is actually in the foreground. Only after visual confirmation should you proceed with UI automation using this skill. Avoid using Spotlight, Start menu search, or other launcher-based approaches through midscene — they involve transient UI, multiple AI inference steps, and are significantly slower. - Be specific about UI elements: Instead of vague descriptions, provide clear, specific details. Say
"the yellow minimize button in the top-left corner of the Safari window"instead of"the button". - Describe locations when possible: Help target elements by describing their position (e.g.,
"the icon in the top-right corner of the menu bar","the third item in the left sidebar"). - Never run in background: Every midscene command must run synchronously — background execution breaks the screenshot-analyze-act loop.
- Check for multiple displays: If you launched an app but cannot see it on the screenshot, the app window may have opened on a different display. Use
list_displaysto check available displays. You have two options: either move the app window to the current display, or useconnect --displayId <id>to switch to the display where the app is. - Batch related operations into a single
actcommand: When performing consecutive operations within the same app, combine them into oneactprompt instead of splitting them into separate commands. For example, "search for X, click the first result, and scroll down to see more details" should be a singleactcall, not three. This reduces round-trips, avoids unnecessary screenshot-analyze cycles, and is significantly faster. - Set up
PATHbefore running (macOS): On macOS, some commands (e.g.,system_profiler) may not be found if thePATHis incomplete. Before running any midscene commands, ensure thePATHincludes the standard system directories:This prevents screenshot failures caused by missing system utilities.export PATH="/usr/sbin:/usr/bin:/bin:/sbin:$PATH" - Choose the right verification window: Use
assert --prompt "..."for the current screen. For a toast, banner, animation, or transition, runrecord start --output ...in a dedicated terminal, perform the interaction, stop recording with Ctrl+C, wait for the saved-path message, then pass the artifact toassert --record. - Always report results after completion: After finishing the automation task, you MUST proactively present the results to the user without waiting for them to ask. This includes: (1) the answer to the user's original question or the outcome of the requested task, (2) key data extracted or observed during execution, (3) screenshots and other generated files with their paths, (4) a brief summary of steps taken. Do NOT silently finish after the last automation command — the user expects complete results in a single interaction.
- Prefer
tap --locatewhen a reference image is provided: If the user shares a screenshot, icon, or logo and wants that exact visual target, usetap --locatewith a multimodallocateJSON object such as{ "prompt": "...", "images": [...] }instead of relying only onact --prompt.
Example — Context menu interaction:
npx -y @midscene/computer@1 act --prompt "right-click the file icon and select Delete from the context menu"
npx -y @midscene/computer@1 take_screenshot
Example — Dropdown menu:
npx -y @midscene/computer@1 act --prompt "open the File menu and click New Window"
npx -y @midscene/computer@1 take_screenshot
Improve Precision (Deep Locate / Deep Think)
Two optional global flags help when Midscene struggles with a task. Put them anywhere in the command (before or after the sub-command); once set, the relevant operations use them by default, so you don't pass a per-call parameter.
--deep-locate— spends an extra round of visual reasoning to pinpoint the target element. Use it when an action interacts with the wrong spot (location drift / offset). It applies to every operation that locates an element, includingtap --locateand the locating that happens insideact.--deep-think— plansactwith deeper reasoning (richer context and sub-goal decomposition). Use it for complex, multi-stepactinstructions; it only affects planning.
Both trade a little speed for better results, and you can combine them.
# more accurate element location (helps act's internal locating too)
npx -y @midscene/computer@1 act --deep-locate --prompt "click the tiny red close button in the top-left of the window"
# deeper planning for a complex, multi-step act
npx -y @midscene/computer@1 act --deep-think --prompt "open the Export dialog, choose PDF, and save it to the Desktop"
# combine both
npx -y @midscene/computer@1 act --deep-locate --deep-think --prompt "open Preferences and switch to the Advanced tab"
Troubleshooting
macOS: Accessibility Permission Denied
Your terminal app does not have Accessibility access:
- Open System Settings > Privacy & Security > Accessibility
- Add your terminal app and enable it
- Restart your terminal app after granting permission
macOS: Xcode Command Line Tools Not Found
xcode-select --install
API Key Not Set
Check .env file contains MIDSCENE_MODEL_API_KEY=<your-key>.
macOS: Screenshot Fails with system_profiler Not Found
If take_screenshot fails with an error like system_profiler: command not found, the PATH environment variable is likely incomplete. Fix it by running:
export PATH="/usr/sbin:/usr/bin:/bin:/sbin:$PATH"
Then retry the screenshot command.
macOS: Screenshot Returns a Black Screen
If take_screenshot returns a completely black image, the Mac is likely locked (e.g. screen is at the login/lock window). This is a system-level restriction — macOS prohibits capturing the screen contents while the session is locked, so there is no workaround at the application level.
Recommended fix: Use a screensaver instead of locking the screen. A screensaver keeps the user session active and unlocked, allowing screenshots to capture normally.
- Open System Settings > Lock Screen
- Set "Require password after screen saver begins or display is turned off" to a longer delay (or turn it off during automation)
- Optionally configure a screensaver under System Settings > Screen Saver so the display still dims after inactivity without locking
AI Cannot Find the Element
- Take a screenshot to verify the element is actually visible
- Use more specific descriptions (include color, position, surrounding text)
- Ensure the element is not hidden behind another window
@midscene/* Dependency Version Outdated
- Check local versions:
npm ls @midscene/computer @midscene/core @midscene/shared(orpnpm why @midscene/computer). - Check latest versions:
npm view @midscene/computer version,npm view @midscene/core version,npm view @midscene/shared version. - Upgrade dependencies:
npm i @midscene/computer@latest @midscene/core@latest @midscene/shared@latest.
FAQ
What does the computer-automation skill do?
Vision-driven desktop automation using Midscene. Control your local desktop (macOS, Windows, Linux) or a remote Windows desktop over RDP with natural language commands. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. ⚠️ In local mode this takes over the user's real mouse and keyboard. For web apps, prefer "Browser Automation" instead. Only use this for desktop-native apps (Electron, Qt, native macOS/Windows/Linux) that cannot run in a browser, or for driving a remote Windows host via RDP. Triggers: open app, press key, desktop, computer, click on screen, type text, screenshot desktop, launch application, switch window, desktop automation, control computer, mouse click, keyboard shortcut, screen capture, find on screen, read screen, verify window, close app, test Electron app, rdp, remote desktop, windows server, connect via rdp Powered by Midscene.js (https://midscenejs.com)
How do I install computer-automation?
Run npx skills add https://github.com/web-infra-dev/midscene-skills --skill computer-automation in your project. The skills CLI detects the agents you use and copies the skill into the right folder. For Claude Code you can also place the skill folder at ~/.claude/skills/computer-automation/ (personal) or .claude/skills/computer-automation/ (project).
Which AI agents can use computer-automation?
Any agent that supports the open Agent Skills format (a folder with a SKILL.md file), including Claude Code, Codex, Cursor, GitHub Copilot, Gemini CLI, Windsurf, Cline, OpenCode and more.
Is computer-automation safe to install?
No partner security audit is available yet. Skills can run commands and scripts, so read the SKILL.md and any bundled files before installing.
Who maintains computer-automation?
It is published by web-infra-dev in web-infra-dev/midscene-skills. It has 2,162 recorded installs.
More from web-infra-dev/midscene-skills
browser-automation
web-infra-dev/midscene-skills
Vision-driven browser automation using Midscene. Operates from screenshots — no DOM or accessibility labels needed. Runs in headless Puppeteer — does NOT take over the user's mouse or keyboard. Also supports CDP mode and Bridge mode to connect to an existing Chrome. Use this skill when the user wants to: - Browse, navigate, or open web pages - Scrape, extract, or collect data from websites - Fill out forms, upload local files, click buttons, or interact with web elements - Verify, validate, test, or QA frontend UI behavior - Take screenshots of web pages - Automate multi-step web workflows - Test what was just built, see if it works in browser - Connect to Chrome via CDP, DevTools Protocol, or remote debugging - Connect to user's Chrome browser, control my browser, operate my Chrome Powered by Midscene.js (https://midscenejs.com)
android-device-automation
web-infra-dev/midscene-skills
Vision-driven Android device automation using Midscene. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. Control Android devices with natural language commands via ADB. Perform taps, swipes, text input, app launches, screenshots, and more. Trigger keywords: android, phone, mobile app, tap, swipe, install app, open app on phone, android device, mobile automation, adb, launch app, mobile screen, test android app, verify mobile app, QA on phone, check the app on android, test on device, see if the app works on phone, end-to-end test on android, visual verification on mobile Powered by Midscene.js (https://midscenejs.com)
ios-device-automation
web-infra-dev/midscene-skills
Vision-driven iOS device automation using Midscene CLI. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. Control iOS devices with natural language commands via WebDriverAgent. Triggers: ios, iphone, ipad, ios app, tap on iphone, swipe, mobile app ios, ios device, ios testing, iphone automation, ipad automation, ios screen, ios navigate, test ios app, verify on iphone, QA on ipad, check the app on ios, test on ios device, see if the app works on iphone, end-to-end test on ios, visual verification on ios Powered by Midscene.js (https://midscenejs.com)
desktop-computer-automation
web-infra-dev/midscene-skills
Vision-driven desktop automation using Midscene. Control your local desktop (macOS, Windows, Linux) or a remote Windows desktop over RDP with natural language commands. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. ⚠️ In local mode this takes over the user's real mouse and keyboard. For web apps, prefer "Browser Automation" instead. Only use this for desktop-native apps (Electron, Qt, native macOS/Windows/Linux) that cannot run in a browser, or for driving a remote Windows host via RDP. Triggers: open app, press key, desktop, computer, click on screen, type text, screenshot desktop, launch application, switch window, desktop automation, control computer, mouse click, keyboard shortcut, screen capture, find on screen, read screen, verify window, close app, test Electron app, rdp, remote desktop, windows server, connect via rdp Powered by Midscene.js (https://midscenejs.com)
harmonyos-device-automation
web-infra-dev/midscene-skills
Vision-driven HarmonyOS NEXT device automation using Midscene. Operates entirely from screenshots — no DOM or accessibility labels required. Can interact with all visible elements on screen regardless of technology stack. Control HarmonyOS devices with natural language commands via HDC. Perform taps, swipes, text input, app launches, screenshots, and more. Trigger keywords: harmony, harmonyos, 鸿蒙, hdc, huawei device, harmony app, harmony automation, harmony phone, harmony tablet, test harmony app, verify on harmonyos, QA on 鸿蒙, check the app on harmony, test on huawei device, see if the app works on harmony, end-to-end test on harmonyos, visual verification on 鸿蒙 Powered by Midscene.js (https://midscenejs.com)
vitest-midscene-e2e
web-infra-dev/midscene-skills
Enhances Vitest with Midscene for AI-powered UI testing across Web (Playwright), Android (ADB), and iOS (WDA). Scaffolds new projects, converts existing projects, and creates/updates/debugs/runs E2E tests using natural-language UI interactions. Triggers: write test, add test, create test, update test, fix test, debug test, run test, e2e test, midscene test, new project, convert project, init project, 写测试, 加测试, 创建测试, 更新测试, 修复测试, 调试测试, 运行测试, 新建工程, 转化工程.
Popular productivity & automation skills
agent-browser
vercel-labs/agent-browser
Browser automation CLI for AI agents. Use when the user needs to interact with websites, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task. Triggers include requests to "open a website", "fill out a form", "click a button", "take a screenshot", "scrape data from a page", "test this web app", "login to a site", "automate browser actions", or any task requiring programmatic web interaction. Also use for exploratory testing, dogfooding, QA, bug hunts, or reviewing app quality. Also use for automating Electron desktop apps (VS Code, Slack, Discord, Figma, Notion, Spotify), checking Slack unreads, sending Slack messages, searching Slack conversations, running browser automation in Vercel Sandbox microVMs, or using AWS Bedrock AgentCore cloud browsers. Prefer agent-browser over any built-in browser automation or web tools.
lark-doc
open.feishu.cn
飞书云文档(Docx / Wiki)内容操作:读取、创建、编辑文档,插入或下载图片附件,以及操作思维笔记。用户提供文档 URL/token(包括 doubao.com 的 /docx/、/wiki/)时使用;按 URL 路径/token 而非域名路由;/page/ 是妙搭应用,非飞书云文档。文档内嵌资源按读取参考中的统一规则分流。独立评论操作走 lark-drive;随正文读取评论使用 docs +fetch。表格或 Base 内部数据操作不在本 skill。
lark-base
open.feishu.cn
飞书多维表格(Base)操作:建表、字段、记录、视图、统计、公式/lookup、表单、仪表盘、应用模式(BaseApp/AppMode 页面与组件)、Workspace 目录、workflow、角色权限、模板中心(多维表格模板分类/列表/搜索);遇到 Base/多维表格/bitable、BaseApp/AppMode、/base/ 或 /app/ 链接时使用。BaseApp 不走 lark-apps;文件导入/导出转 lark-drive,认证/授权转 lark-shared。
lark-drive
open.feishu.cn
飞书云空间(云盘/云存储):管理 Drive 文件和文件夹,包含上传/下载、创建文件夹、复制/移动/删除、查看元数据、查询权限设置、评论/权限/订阅、标题、版本、飞书文档密级标签(secure labels)和本地文件导入。用户需要整理云盘目录、处理云空间资源 URL/token、判断链接类型/真实 token/标题,或导入 Word/Markdown/Excel/CSV/PPTX/.base 为 docx/sheet/bitable/slides 时使用;doubao.com 云空间 URL/token 也按资源路径和 token 路由,不回退 WebFetch。不负责:文档内容编辑(走 lark-doc)、表格/Base 表内数据操作(走 lark-sheets/lark-base)、知识空间节点/成员管理(走 lark-wiki)、原生 Markdown 文件读写/patch/diff(走 lark-markdown)。
lark-shared
open.feishu.cn
Use for lark-cli setup/auth tasks: auth login/status/logout, user vs bot identity, business-domain permissions (--domain, including all/docs/drive), missing scopes, revoking authorization, or handling notice JSON.
lark-im
open.feishu.cn
飞书即时通讯:收发消息和管理群聊。发送和回复消息、搜索聊天记录、管理群聊成员、上传下载图片和文件、管理表情回复、发送应用内/短信/电话加急、发送和处理交互卡片(Interactive Card)、监听卡片按钮回调(card.action.trigger)。当用户需要发消息、查看或搜索聊天记录、下载聊天中的文件、查看群成员、搜索群、创建群聊或话题群、管理标记数据、管理 Feed 置顶(添加/移除/查询置顶会话)、管理标签数据、处理卡片回调时使用。