jev-desktop

jev-desktop is a skill for Claude Code, Codex from lahfir/agent-desktop. It costs 125 tokens per session (4,225 once invoked), scanned A, original, Apache-2.0.

A desktop-automation tool that carries out plain-language goals in an application by reading the screen and performing actions such as clicking, typing, scrolling, and waiting. It avoids placing the application's accessibility tree—a structured description of screen elements—into the agent's context.

In plain words
What is it for?
Use it to open folders, enter text, select controls, expand or scroll through views, or complete another desktop-app task from a stated goal.
Why use it?
It lets an agent automate a desktop app without filling its working context with a large element tree, while still checking the screen after each action.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is node scripts/jev/run.mjs --app Finder "open the Applications folder".

Good fit Use it to open folders, enter text, select controls, expand or scroll through views, or complete another desktop-app task from a stated goal.

Compare 6 skills from other repositories ↓
About the project

agent-desktop is a command-line tool that lets AI agents inspect and control desktop applications through operating-system accessibility data instead of screenshots or pixel matching. It is used to automate applications such as Finder, Safari, Xcode, and Slack with structured JSON commands and results.

lahfir/agent-desktop · 26,015 stars · on GitHub

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/lahfir/agent-desktop
agentmods
npx agentmods add skills/lahfir/agent-desktop/jev-desktop

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 jev-desktop

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/lahfir/agent-desktop/jev-desktop"><img src="https://agentmods.dev/badge/skills/lahfir/agent-desktop/jev-desktop.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 125 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,225 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.00125 $0.04225
Opus 5.5 $0.00050 $0.01690
Sonnet 5.5 $0.00025 $0.00845
Haiku 4.5 $0.00013 $0.00422

Measured 1mo ago against content hash 9149311fdb56, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

jev-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 1mo ago.

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/jev-desktop/SKILL.md · 286 lines

How it starts

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

jev-desktop

This skill requires a clone of the agent-desktop repository (the scripts live in scripts/jev/ and ship in no installed package) and a TYPESAFE_API_KEY.

Two entry points over the same screen reading. run.mjs takes a goal and drives until it is met. act.mjs takes one step and hands the plan back to you. Neither puts the tree in your context.

The loop

node scripts/jev/run.mjs --app Finder "open the Applications folder"
node scripts/jev/run.mjs --app TextEdit --cursor --text "A line to write." "write the supplied sentence into the document"

Each turn reads the screen, asks for one operation and a target for that operation in the same request, carries it out, and reads again. It prints one JSON line per turn and one when it stops (shown trimmed).

{"turn":{"step":1,"operation":"CLICK","target":"treeitem \"Applications\"",
         "confidence":1,"ok":true,"delivery":"delivered_verified","changed":true}}
{"stop":"done","confidence":0.96}

The operations are CLICK, TYPE_TEXT, CHECK, UNCHECK, EXPAND, COLLAPSE, SCROLL, DRILL, WIDEN, WAIT, DONE and BLOCKED. Only the ones something on screen can receive are offered: DRILL for a region that reports it holds more, WIDEN only after a DRILL. SCROLL always scrolls down. delivery is waited for WAIT and looked for DRILL and WIDEN.

The target is asked once per operation. click_target is chosen from the elements that advertise Click, type_text_target from those that advertise SetValue, and so on. Only the head matching the chosen operation is read, so a target can never be incompatible with the verb that acts on it.

Looking is an operation. A window is read with --skeleton first, so a dense document costs the same first look as a small panel. A region that was cut off reports how much it holds, and DRILL pins it as the root for later turns. WIDEN gives the whole window back.

CHECK and UNCHECK instead of a toggle. Both are idempotent: a box already in the wanted state stays there.

Read the full file on GitHub · 286 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. 1mo ago Changed · +45 lines · +16 tokens per session 9149311fdb56
  2. 1mo ago Changed · +7 lines a8c5d94979ef
  3. 1mo ago Changed · +8 lines 3f3b83c24461
  4. 2mo ago Changed · +22 lines 92ee97aebc33
  5. 2mo ago First seen · 204 lines · 109 tokens per session scan A f1b9a40d348f

Subscribe to this mod's changes

jev-desktop is a skill published in the GitHub repository lahfir/agent-desktop (26,015 stars, last pushed 9d ago), licensed Apache-2.0. It adds 125 tokens to every session and 4,225 once invoked, about $0.0005 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-09-18.

Related

jev-desktop compared with skills from other repositories

jev-desktop next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
jev-desktoplahfir/agent-desktopSkill26k9d agoApache-2.0A125Claude Code, Codex
tauri-pilotmpiton/tauri-pilotSkill90yesterdayMITB52Claude Code, Codex
kwin-desktop-automationisac322/kwin-mcpSkill8822d agoMITA140Claude Code
hatch3r-browser-verifyhatch3r/hatch3rSkill262mo agoMITA83Claude Code
openeyesyangpeng366/openeyesSkill2yesterdayMITB108Claude Code, Codex
pursr0xheycat/pursrSkill24mo agoMITA85Claude Code, Codex
computer-usePlocr/Reasonix-computer-useSkill436d agoMITA23Claude Code