desktop

desktop is a skill for Claude Code, Codex from uvwt/agentdock-skills. It costs 13 tokens per session (568 once invoked), scanned A, original, Apache-2.0.

A macOS desktop-automation skill for observing applications and controlling windows, clicks, typing, scrolling, dragging, keyboard shortcuts, and the clipboard.

In plain words
What is it for?
Use it to check desktop readiness, list apps and windows, capture screenshots, interact with controls, enter values, and read or write clipboard contents.
Why use it?
It lets an agent inspect and operate a Mac desktop through defined actions instead of relying only on text or code.

Skill for Claude CodeCodex

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add skills/uvwt/agentdock-skills/desktop
Any agent
npx skills add uvwt/agentdock-skills --skill desktop
Clone the repo
git clone --depth 1 https://github.com/uvwt/agentdock-skills

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for desktop

README.md
[![agentmods](https://agentmods.dev/badge/skills/uvwt/agentdock-skills/desktop.svg)](https://agentmods.dev/skills/uvwt/agentdock-skills/desktop)
Your own site
<a href="https://agentmods.dev/skills/uvwt/agentdock-skills/desktop"><img src="https://agentmods.dev/badge/skills/uvwt/agentdock-skills/desktop.svg" alt="Measured on agentmods" height="20"></a>
Per session 13 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 568 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00568
Opus 5 $0.00006 $0.00284
Sonnet 5 $0.00003 $0.00114
Haiku 4.5 $0.00001 $0.00057

Measured 5d ago against content hash 6dda4776f1c6, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-05, from the pricing page.

Security

Grade A, and why

desktop scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 5d ago.

The scan reads SKILL.md. This mod also ships 1 executable file (run.py), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/desktop/SKILL.md · 40 lines

What it actually says

macOS Desktop Skill

AgentDock 的 macOS 桌面自动化能力已经从 core 工具拆分为此 Skill 工作流。

调用入口

  • skill_action=observeaction=preflight | list_apps | app_state | window_list | snapshot | snapshot_app
  • skill_action=actaction=focus | move | click | double_click | scroll | drag | type | set_value | secondary_action | hotkey | wait
  • skill_action=clipboard-read / skill_action=clipboard-write:读写剪贴板。

数据目录

截图原始文件写入 AGENTDOCK_HOME/skill-data/desktop/artifactssnapshot / snapshot_app 同时发布到 AGENTDOCK_HOME/public-artifacts,并返回包含 artifact_id 的轻量 screenshot 引用。配置 AGENTDOCK_SERVER_URL 时额外返回带过期时间的签名 screenshot.url。需要模型查看图片时,再调用 AgentDock view_image(artifact_id=...);Desktop Skill 不直接返回 Base64。历史截图已统一迁入同一私有数据目录。

  • 动作参数不支持别名:skill_action=act 必须使用 action 枚举值;secondary_action 的辅助动作名必须放在 ax_actionwait 使用 ms

辅助脚本执行

Skill 本体是本说明文档。确需调用包内辅助脚本时,在 Skill 包根目录使用相对路径执行;运行宿主负责切换到包根目录并把所需变量注入当前子进程。

printf '%s' '{"skill_action":"<动作>"}' | python3 run.py

输入必须是 JSON 对象。写操作仍按本文档中的确认规则执行。

动作 用途
status Run a desktop preflight check and report desktop automation readiness.
observe Unified macOS desktop observation action: preflight, list_apps, app_state, window_list, snapshot, or snapshot_app.
act Unified macOS desktop action: focus, move, click, double_click, scroll, drag, type, set_value, secondary_action, hotkey, or wait.
clipboard-read Read macOS clipboard text.
clipboard-write Write macOS clipboard text and optionally verify by reading it back.
Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 5d ago First seen · 40 lines · 13 tokens per session scan A 6dda4776f1c6

Subscribe to this mod's changes

desktop is a skill published in the GitHub repository uvwt/agentdock-skills (3 stars, last pushed 4d ago), licensed Apache-2.0. It adds 13 tokens to every session and 568 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

dingtalk_channel_connect

Use a headed browser to automatically complete DingTalk channel integration for QwenPaw. Applicable when the user mentions DingTalk, developer console, Client ID, Client Secret, bot, Stream mode, binding or configuring a channel. Supports pausing when a login page is detected and resuming after the user logs in.

agentscope-ai/QwenPaw · 69 tokens

browser_cdp

Use this skill when the user explicitly wants to connect to a running Chrome browser, scan local CDP ports, specify a cdpport, or share a single browser across multiple agents/tools. By default browser opens no debugging port; pass an explicit cdpport only when the user wants another local tool to attach.

agentscope-ai/QwenPaw · 70 tokens

browser_cdp

当用户明确希望连接到已运行的 Chrome 浏览器、扫描本地 CDP 端口、显式指定 cdpport,或让多个 agent / 工具共享同一个浏览器时,使用本 skill。browser 默认不开放调试端口;仅当用户明确希望其他本地工具附加时才显式传入 cdpport。.

agentscope-ai/QwenPaw · 85 tokens

browser_visible

当用户需要控制 browser 的浏览器启动方式时,使用本 skill。browser 默认由 Playwright 直接管理、不开放调试端口(需让其他本地工具附加时显式传 cdpport);headed 控制是否显示窗口,privatemode 保留用于兼容、不再改变默认行为,browserargs 传入额外的 Chromium 启动参数,executablepath 指定自定义浏览器可执行文件路径。.

agentscope-ai/QwenPaw · 108 tokens

browser_visible

Use this skill when the user needs to control the browser launch mode for browser. By default browser is managed by Playwright and opens no debugging port (pass an explicit cdpport to let another local tool attach); headed controls whether the window is visible, and privatemode is kept for backward compatibility and…

agentscope-ai/QwenPaw · 75 tokens

browser-testing-with-devtools

Tests in real browsers via Chrome DevTools MCP. Use when building or debugging anything that runs in a browser. Use when you need to inspect the DOM, capture console errors, analyze network requests, profile performance, or verify visual output with real runtime data. Requires the chrome-devtools MCP server to be…

addyosmani/agent-skills · 68 tokens