computer

computer is a command for Claude Code from gettalon/talon-plugins. It costs 40 tokens per session (1,842 once invoked), scanned A, original, MIT.

A macOS desktop-control command set that can take screenshots and operate the mouse, keyboard, windows, displays, clipboard, and scrolling.

In plain words
What is it for?
Use it to click buttons, type text, press keys, drag items, scroll, manage windows, copy or paste, and capture full-screen, window, display, or selected-region screenshots.
Why use it?
It lets an agent inspect what is on screen, perform native desktop actions, and take another screenshot to check the result. It requires macOS, Node.js 18 or newer, and Accessibility permission.

Command for Claude Code

Written for Claude Code: allowed-tools in frontmatter.

Part of the talon plugin — 8 skills, 11 commands shipped together

Good fit Use it to click buttons, type text, press keys, drag items, scroll, manage windows, copy or paste, and capture full-screen, window, display, or selected-region screenshots.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/gettalon/talon-plugins/computer
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.

Clone the repo
git clone --depth 1 https://github.com/gettalon/talon-plugins

Made for: Claude Code.

Or install talon, the plugin that ships this one along with the rest of its 8 skills, 11 commands.

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 computer

README.md
[![agentmods](https://agentmods.dev/badge/commands/gettalon/talon-plugins/computer/github.svg)](https://agentmods.dev/commands/gettalon/talon-plugins/computer)
Your own site
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/computer"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/computer/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 computer

Your own site · 80×15
<a href="https://agentmods.dev/commands/gettalon/talon-plugins/computer"><img src="https://agentmods.dev/badge/commands/gettalon/talon-plugins/computer.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 40 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 1,842 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.00040 $0.01842
Opus 5.5 $0.00016 $0.00737
Sonnet 5.5 $0.00008 $0.00368
Haiku 4.5 $0.00004 $0.00184

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

Security

Grade A, and why

computer 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.

plugins/talon/commands/computer.md · 221 lines

How it starts

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

Computer Use

Control the macOS desktop using the usecomputer CLI. 17 commands for mouse, keyboard, screenshots, windows, displays, clipboard, and coordinate mapping.

Setup

npm install -g usecomputer

Requirements: macOS, Accessibility permissions enabled for your terminal, Node.js 18+.

Core Workflow

  1. Screenshot → see what's on screen
  2. Analyze → find the target coordinates
  3. Act → click, type, or press keys (use --coord-map from screenshot)
  4. Verify → screenshot again to confirm

Commands (17 total)

Screenshot

usecomputer screenshot /tmp/screen.png --json
usecomputer screenshot /tmp/region.png --region 0,0,800,600 --json
usecomputer screenshot /tmp/win.png --window 1234 --json
usecomputer screenshot /tmp/screen.png --display 1 --json
usecomputer screenshot /tmp/annotated.png --annotate --json

Options: --region x,y,w,h, --display N, --window ID, --annotate, --json Returns JSON: path, coordMap, desktopIndex, imageWidth, imageHeight, hint

Always pass --coord-map from screenshot output when clicking/hovering/dragging.

Click

usecomputer click -x 500 -y 300 --coord-map "0,0,1792,1120,1568,980"
usecomputer click -x 500 -y 300 --button right --coord-map "..."
usecomputer click -x 500 -y 300 --count 2 --coord-map "..."
usecomputer click -x 500 -y 300 --modifiers ctrl,shift --coord-map "..."

Options: --button left|right|middle, --count N, --modifiers ctrl,shift,alt,meta, --coord-map

Hover — Move cursor without clicking

usecomputer hover -x 500 -y 300 --coord-map "..."

Mouse Move

usecomputer mouse move -x 500 -y 300 --coord-map "..."

Mouse Down / Up — Press and hold / release

usecomputer mouse down --button left
usecomputer mouse up --button left

Options: --button left|right|middle

Mouse Position

usecomputer mouse position --json

Type

usecomputer type "Hello world"
usecomputer type "slow text" --delay 20
cat file.txt | usecomputer type --stdin --chunk-size 4000 --chunk-delay 15
usecomputer type "limited" --max-length 1000

Options: --delay ms, --stdin, --chunk-size N, --chunk-delay ms, --max-length N

Read the full file on GitHub · 221 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 First seen · 221 lines · 40 tokens per session scan A 47972dddb6cd

Subscribe to this mod's changes

computer is a command published in the GitHub repository gettalon/talon-plugins (6 stars, last pushed 6mo ago), licensed MIT. It adds 40 tokens to every session and 1,842 once invoked, about $0.0002 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-08-31.