dym-agent-desktop-session

dym-agent-desktop-session is a skill for Claude Code from Rheinmir/setup. It costs 71 tokens per session (1,055 once invoked), scanned A, original, MIT.

A session and logging system for desktop actions taken by an agent. It records commands and can export the trace as HTML, while giving parallel agents separate cursor leases on one Mac.

In plain words
What is it for?
Use it for computer-use runs that need replayable evidence, screenshots, trace review, or coordinated desktop control between multiple agents.
Why use it?
It provides an inspectable record of what the agent clicked or ran and reduces conflicts when several agents share the same mouse and screen.

Skill for Claude Code

Written for Claude Code: disable-model-invocation in frontmatter. Also seen: mentions subagents.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is $AD trace export --out ./scratchpad/run.html # HTML một file cho người xem.

Good fit Use it for computer-use runs that need replayable evidence, screenshots, trace review, or coordinated desktop control between multiple agents.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/Rheinmir/setup
agentmods
npx agentmods add skills/rheinmir/setup/dym-agent-desktop-session

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-session

README.md
[![agentmods](https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-session/github.svg)](https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-session)
Your own site
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-session"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-session/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-session

Your own site · 80×15
<a href="https://agentmods.dev/skills/rheinmir/setup/dym-agent-desktop-session"><img src="https://agentmods.dev/badge/skills/rheinmir/setup/dym-agent-desktop-session.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 71 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,055 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. 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.00071 $0.01055
Opus 5.5 $0.00028 $0.00422
Sonnet 5.5 $0.00014 $0.00211
Haiku 4.5 $0.00007 $0.00105

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

Security

Grade A, and why

dym-agent-desktop-session 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 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.

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.

.overstack/doyourmagic/agent-desktop/skills/dym-agent-desktop-session/SKILL.md · 76 lines

How it starts

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

dym-agent-desktop-session

When to use

  • Một lượt thao tác desktop cần để lại biên lai: /br qc, /fdk-poc, hay bất kỳ verdict nào phải cãi lại được bằng log chứ không bằng lời model.
  • Nhiều agent chạy song song trên cùng một máy macOS (đúng bối cảnh Orca worktree) — chuột là tài nguyên dùng chung, cần lease và cần biết cursor nào của agent nào.
  • Chỉ chạy một lệnh đọc lẻ → bỏ qua skill này, session là thừa.

Steps

  1. Mở session một lần cho cả lượt việc (trace bật sẵn):
$AD session start --name br-frame-07        # → data.session_id, data.next
export AGENT_DESKTOP_SESSION=run-1788964205617-6007-0

Cần ảnh pre/post mỗi hành động để replay: session start --screenshots (artifacts: full) — nhạy cảm, coi như screenshot, đừng đẩy vào repo.

  1. Chạy việc bình thường — mọi lệnh trong scope tự ghi JSONL, không cần --trace từng lệnh. Segment nằm ở $AGENT_DESKTOP_HOME/sessions/<id>/trace/<pid>-<procTs>.jsonl.

  2. Đọc lại bằng chứng:

$AD trace show --limit 200                  # JSON gọn cho agent đọc
$AD trace export --out ./scratchpad/run.html   # HTML một file cho người xem

Đo thật: mỗi lệnh sinh command.start → sự kiện nghiệp vụ (vd snapshot.saved kèm ref_count, snapshot_id) → command.end kèm duration_ms, ok. Có ts_ms và seq đơn điệu theo tiến trình → ghép được thứ tự thật giữa nhiều tiến trình.

  1. Đóng và dọn:
$AD session end $AGENT_DESKTOP_SESSION
$AD session gc --ended --older-than 86400
  1. Nhiều agent song song (chưa kiểm chứng bằng chạy thật trong lượt này — theo doc của tool):
$AD session start --cursor --multi-agent    # một session dùng chung
AGENT_DESKTOP_AGENT_ID=frame-07 $AD click "@s..:e5"   # mỗi agent một ID ổn định
$AD cursor-overlay disable                  # tắt mọi cursor của session

Harness truyền cùng một session ID cho mọi subagent; mỗi subagent tự khai AGENT_DESKTOP_AGENT_ID (hoặc --agent-id, cờ thắng env). Ba ID khác nhau → ba con trỏ có màu/nhãn riêng. Thao tác UI bắt buộc có ID; quan sát/clipboard/quản trị thì không. Lease tuần tự hoá truy cập vào con trỏ OS dùng chung.

Read the full file on GitHub · 76 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 · 76 lines · 71 tokens per session scan A 7164db957f19

Subscribe to this mod's changes

dym-agent-desktop-session is a skill published in the GitHub repository Rheinmir/setup (11 stars, last pushed 20d ago), licensed MIT. It adds 71 tokens to every session and 1,055 once invoked, about $0.0003 per session on Opus 5.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-11-07.

Related

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

dym-agent-desktop-session next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
dym-agent-desktop-sessionRheinmir/setupSkill1120d agoMITA71Claude Code
interactive-loginyc-software/qmSkill16ktodayMITA46Claude Code, Codex
pinchtab-mcppinchtab/pinchtabSkill11k11d agoMITA52Claude Code, Codex
azure-messaging-webpubsub-javamicrosoft/skillsSkill3.2kyesterdayMITA43Claude Code
cua-driverdavidondrej/skillsSkill4.3kyesterdayMITA68Claude Code, Codex
open-design-browsercompozy/compozySkill2.9ktodayMITA56Claude Code, Codex
southwestborski/travel-hacking-toolkitSkill9062d agoMITA40Claude Code