dym-agent-desktop-install

dym-agent-desktop-install is a skill for Claude Code from Rheinmir/setup. It costs 60 tokens per session (912 once invoked), scanned C, original, MIT.

An installation guide for agent-desktop, a macOS command-line tool that lets an agent use desktop applications. It covers scoped installation, macOS Accessibility and Screen Recording permissions, and checking that the program runs.

In plain words
What is it for?
Use it when setting up desktop control on macOS or diagnosing a permission-denied result from agent-desktop.
Why use it?
It provides a controlled setup path and explains how to handle permission errors without using the installer on unsupported operating systems.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter.

Good fit Use it when setting up desktop control on macOS or diagnosing a permission-denied result from agent-desktop.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/rheinmir/setup/dym-agent-desktop-install
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.

Any agent
npx skills add Rheinmir/setup --skill dym-agent-desktop-install
Clone the repo
git clone --depth 1 https://github.com/Rheinmir/setup

Made for: Claude Code.

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 dym-agent-desktop-install

README.md
[![agentmods](https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-install/github.svg)](https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-install)
Your own site
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-install"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-install/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for dym-agent-desktop-install

Your own site · 80×15
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-install"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-install.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 60 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 912 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.00060 $0.00912
Opus 5.5 $0.00024 $0.00365
Sonnet 5.5 $0.00012 $0.00182
Haiku 4.5 $0.00006 $0.00091

Measured yesterday against content hash d1ca6ce32e76, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

dym-agent-desktop-install scanned grade C with 1 finding 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 yesterday.

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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

`npm uninstall -g agent-desktop` rồi `rm -rf ~/.agent-desktop`.
.overstack/doyourmagic/agent-desktop/skills/dym-agent-desktop-install/SKILL.md · 67 lines

How it starts

The opening of the file, as written. The whole thing — 67 lines — stays where its author put it; the contents beside it link to each section on GitHub.

dym-agent-desktop-install

When to use

  • Sắp dùng agent-desktop lần đầu trên máy này, hoặc CI macOS runner cần nó.
  • Lệnh bất kỳ trả PERM_DENIED → quay lại đây kiểm quyền.
  • KHÔNG dùng trên Linux/Windows: postinstall khai SUPPORTED_PLATFORMS = ['darwin'] và sẽ bỏ qua; crate windows/linux là stub 76 dòng trả PLATFORM_NOT_SUPPORTED.

Steps

  1. Cài có pin scope — không để installer ghi vào $HOME thật:
S=./scratchpad/agent-desktop-probe && mkdir -p $S/{home,prefix}
HOME=$S/home npm install -g --prefix $S/prefix agent-desktop
AD=$S/prefix/bin/agent-desktop

Đo 2026-09-09: rc=0, ~4s, $S/home chỉ mọc thêm .npm/ (cache) — không đụng gì khác. bin/ chứa agent-desktop-darwin-arm64 (3.0M) + agent-desktop-macos-helper (498K). Cài thật cho cả máy thì bỏ --prefix và HOME= — chỉ làm khi user đồng ý.

  1. Tách state ra khỏi ~/.agent-desktop — mọi snapshot/session/trace nằm dưới đây:
export AGENT_DESKTOP_HOME=$PWD/scratchpad/agent-desktop-state   # PHẢI tuyệt đối

Giá trị tương đối hoặc rỗng → INVALID_ARGS trước khi lệnh chạy. status in lại ở data.state_root. Đường dẫn output tường minh (screenshot --out, --trace <path>) KHÔNG bị dời gốc.

  1. Xác minh — ba lệnh, đều phải rc=0:
$AD version       # {"version":"2.3","ok":true,...,"data":{"os":"macos","target":"aarch64","version":"0.8.5"}}
$AD permissions   # accessibility.state + screen_recording.state phải là "granted"
$AD status        # thêm state_root, session_id, supported_surfaces
  1. Nếu quyền chưa cấp:
$AD permissions --request     # bật dialog hệ thống trong helper cô lập

Cấp cho ứng dụng terminal đang chạy lệnh (iTerm2/Terminal/VS Code), không phải cho binary. Sau khi cấp phải thoát hẳn và mở lại terminal — TCC chỉ đọc lúc tiến trình khởi động. Screenshot cần thêm Screen Recording.

  1. Gỡ: xoá $S là xong (binary + state đều nằm trong đó). Bản cài toàn máy: npm uninstall -g agent-desktop rồi rm -rf ~/.agent-desktop.

Read the full file on GitHub · 67 lines

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. yesterday First seen · 67 lines · 60 tokens per session scan C d1ca6ce32e76

Subscribe to this mod's changes

dym-agent-desktop-install is a skill published in the GitHub repository Rheinmir/setup (11 stars, last pushed 20d ago), licensed MIT. It adds 60 tokens to every session and 912 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it C with 1 finding (recursive force delete). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-11-07.

Related

dym-agent-desktop-install compared with skills from other repositories

dym-agent-desktop-install next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dym-agent-desktop-installRheinmir/setupSkill1120d agoMITC60Claude Code
orbit-notionnexu-io/open-designSkill107ktodayApache-2.0A117Claude Code, Codex
agentmailpaperclipai/paperclipSkill112ktodayMITA30Claude Code, Codex
Cortexdanielmiessler/LifeOSSkill20k2d agoMITA184Claude Code
rowboat-spacesrowboatlabs/rowboatSkill18ktodayApache-2.0A60Claude Code, Codex
feishuHmbown/CodeWhaleSkill41ktodayMITA33Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex