atr-computer
Control the desktop (mouse, keyboard, screen, windows, apps) cross-platform via ATR. Take screenshots, click at coordinates, type text, drag, manage windows, launch and quit apps. Includes 'atr computer ask' — an in-process LLM agent that takes a natural-language instruction and drives the desktop end-to-end. Use for native UI testing, desktop automation, multi-monitor flows, or anything outside the browser. Pairs with atr-browser for combined web + desktop workflows.
What this skill does
> **Companion skill — `atr-browser`** controls Chromium for any in-page operation (navigate, click on web elements, fill forms, scrape). Load both when: > > - You need to drag a file from the OS file manager into a browser upload zone. > - Authentication or a native dialog (1Password, system file picker) is part of the flow. > - You're delegating a high-level task that touches both — `atr computer ask "..."` can shell out to `atr browser ...` and vice versa. > > Computer daemon listens on port 9334; browser daemon on 9333. Both can run simultaneously. # ATR Desktop Computer-Use Skill This skill provides cross-platform desktop control through ATR's computer daemon. Mouse, keyboard, screen capture, window management, app launch, and an in-process LLM agent (`atr computer ask`) — all driven from the same `atr` CLI that powers `atr-browser`. ## Architecture ``` Claude Code --> atr CLI --> ATR Computer Daemon --> robotgo (X11 / macOS / Windows) ``` The daemon enforces a configurable safety countdown before every action so the user can intervene with Ctrl+C. Read-only operations (screenshot, position, list windows) skip the countdown. When the daemon is started without `--no-gui` it also surfaces the countdown in a small native overlay so MCP/Claude-Code clients (which don't see the daemon's terminal) can still interrupt visually. On Linux the overlay uses `zenity` (full Cancel button — clicking it aborts the action with `ErrAborted`); when only `notify-send` is available it falls back to a one-shot desktop notification (visual only — abort still works via Ctrl+C in the daemon terminal). On macOS it uses `osascript display notification`; on Windows it uses a PowerShell toast. If no backend can initialize, the daemon logs a warning and continues with terminal-only countdown. > **Linux:** X11 only in v1. Wayland is not supported yet. > **GUI overlay:** install `zenity` for an abortable dialog (`apt install zenity`); fall back to `libnotify-bin` for visual-only notifications. ## Getting Started ### Step 1: Check status and start if needed ```bash atr computer status ``` If not running: ```bash atr computer start # default: per-request 3s countdown atr computer start --countdown-mode per-app # countdown only on first action per app atr computer start --countdown-mode off # no countdown (trusted batch runs) atr computer start --countdown 1 # 1-second countdown ``` State and logs: - State: `~/.atr/computer.state` - Daemon log (where countdown messages appear): `~/.atr/computer.log` ### Step 2: Take a screenshot ```bash atr computer screenshot --output /tmp/desk.png atr computer screenshot --output /tmp/region.png --region 0,0,800,600 ``` ### Step 3: Drive mouse and keyboard ```bash atr computer click 800 50 atr computer click 800 50 --double atr computer click 800 50 --button right atr computer move 100 100 atr computer drag --from 200,300 --to 1200,400 atr computer scroll --dy -3 atr computer hover 500 500 atr computer type "Hello, world" atr computer key enter atr computer chord ctrl+shift+t ``` ### Step 4: Manage windows ```bash atr computer --json window list # enumerate atr computer window active # focused window atr computer window focus --title "Firefox" # by title or app name atr computer window minimize --title "Slack" atr computer window maximize --title "Code" atr computer window restore --id 12345 atr computer window close --title "Calculator" atr computer window move --id 12345 --to 100,100 atr computer window resize --id 12345 --size 800,600 ``` ### Step 5: Launch / quit apps ```bash atr computer app launch firefox atr computer app launch xclock atr computer app quit firefox ``` ### Step 6: Stop the daemon ```bash atr computer stop ``` ## Safety countdown modes | Mode | Behavior | |---------------|---------------------------------------------------------------------------| | `per-request` | Default. Every gated action shows a countdown. | | `per-app` | First action against an app prompts; subsequent actions auto-approve. | | `off` | No countdown. Explicit opt-in for trusted batches. | Aborting: press Ctrl+C in the daemon's terminal during a countdown. The action returns `aborted by user`. ## Combined workflow with `atr-browser` ATR can drive both desktop and browser in one flow. Example: end-to-end drag-and-drop between the OS file manager and a browser upload zone. ```bash atr browser start atr browser navigate https://example.com/upload atr computer start --countdown-mode off atr computer app launch nautilus atr computer window focus --title "Files" atr computer drag --from 200,300 --to 1200,400 # drag file into browser atr browser screenshot --output /tmp/dnd.png ``` For browser-only workflows, see the `atr-browser` skill. For combined workflows, both daemons can run simultaneously on different ports (browser: 9333, computer: 9334). ## Asking the agent (`atr computer ask`) Instead of issuing one command at a time, you can describe a desktop task in plain language and let an agent loop drive the screenshots, clicks, and keystrokes: ```bash atr computer ask "open xclock and tell me what time it shows" atr computer ask "list the open windows that contain 'chrome' in the title" atr computer ask --max-steps 30 --timeout 10m "open the GNOME calculator and compute 17 * 23" ``` The agent uses the LLM backend configured for ATR (`backend: gemini-api | vertex-ai | claude-cli` in `~/.atr/config.yaml`). Default model aliases: | Tier | Model | |-------|--------------------------------| | flash | `gemini-3.1-flash-preview` | | pro | `gemini-3.2-pro-preview` | Override per-run with the global `--model` flag (e.g. `atr --model pro computer ask "..."`). With `backend: claude-cli`, the model flag is ignored and Claude CLI is invoked as a subprocess. **Tools the agent can call** (curated subset): - Perception: `computer_screenshot` (image fed back to the LLM), `computer_displays`, `computer_active_window`, `computer_list_windows`, `computer_position` - Actuation: `computer_click`, `computer_type`, `computer_press_key`, `computer_key_chord`, `computer_focus_window`, `computer_window_state` (minimize/maximize/restore/close), `computer_launch_app` **Limits and gotchas:** - The agent **cannot type passwords** — if a sudo / polkit prompt appears, it stops and reports the blocker. - Each screenshot sent to the LLM costs vision tokens; with `--model pro` a 10-step task is measurable spend. - The countdown gate inherits whatever the daemon was started with. For ask runs you usually want `atr computer start --countdown-mode per-app` so the first action against an app prompts and subsequent ones auto-approve. ## Coordinates and multi-monitor ATR uses **root coordinates** as the public API for clicks, moves, drags, and window positions. Root coords have a single bounding-box origin at (0, 0) covering all monitors — every visible coordinate is non-negative, matching `xrandr` and the X11 root window. `atr computer --json window list` and `atr computer displays` both return root coords. For interactive use it's often easier to think in display-local pixels. Every mouse command accepts `--display N`, which interprets `x` and `y` as pixels relative to that display's top-left: ```bash # Display 0 is primary (whose root origin may NOT be (0, 0) on multi-monitor setups) atr computer click --display 0 100 200 # display-local atr computer click 1540 200 # root coords (equivalent on a setup where primary is at root (1440, 0)) ``` `atr computer screenshot --region X,Y,W,H` is always display-local within the chosen `--display`. A common workflow: ```bash atr computer displays # see each display's ro
Related in Design
contribute
IncludedLocal-only OSS contribution command center. Auto-refreshes the user's in-flight PR and issue state on invoke so conversations start with full context — no need to brief Claude on what's in flight. Helps the user find issues to contribute to on GitHub, builds per-repo dossiers of what each upstream expects (CLA, DCO, branch convention, AI policy, draft-first, review bots, issue templates), runs deterministic gates before any external action so AI-assisted contributions don't reach maintainers as slop. State is markdown-only: candidate files at ~/.contribute-system/candidates/, repo dossiers at ~/.contribute-system/research/, append-only event log at ~/.contribute-system/log.jsonl. No database, no cloud calls. Use when the user asks about their PRs / issues / contributions, wants to find new work to take on, claim an issue, build/refresh a repo's dossier, or draft a Design Issue or PR. Trigger with "/contribute", "what's my PR status", "find a contribution", "claim issue X", "draft a Design Issue for Y", "refresh dossier for Z".
architectural-analysis
IncludedUser-triggered deep architectural analysis of a codebase or scoped subtree across eight modes — information architecture, data flow, integration points, UI surfaces, interaction patterns, data model, control flow, and failure modes. This skill should be used when the user asks to "diagram this codebase," "map the architecture," "show the data flow," "give me an ERD," "trace control flow," "find the integration points," "verify the layout pattern," "audit the UX architecture," or any similar request whose primary deliverable is mermaid diagrams plus cited reports under docs/architecture/. Dispatches haiku/sonnet sub-agents in parallel for per-mode exploration, then verifies every citation mechanically before any node lands in a diagram. Not for one-off prose explanations of code (use code-explanation) or for high-level system design from scratch (use system-design).
mcp
IncludedModel Context Protocol (MCP) server development and tool management. Languages: Python, TypeScript. Capabilities: build MCP servers, integrate external APIs, discover/execute MCP tools, manage multi-server configs, design agent-centric tools. Actions: create, build, integrate, discover, execute, configure MCP servers/tools. Keywords: MCP, Model Context Protocol, MCP server, MCP tool, stdio transport, SSE transport, tool discovery, resource provider, prompt template, external API integration, Gemini CLI MCP, Claude MCP, agent tools, tool execution, server config. Use when: building MCP servers, integrating external APIs as MCP tools, discovering available MCP tools, executing MCP capabilities, configuring multi-server setups, designing tools for AI agents.
react-native-skia
IncludedDesign, build, debug, and optimise high-polish animated graphics in React Native or Expo using @shopify/react-native-skia, Reanimated, and Gesture Handler. Use when the user wants canvas-driven UI, shaders, paths, rich text, image filters, sprite fields, Skottie, video frames, snapshots, web CanvasKit setup, or performance tuning for custom motion-heavy elements such as loaders, hero art, cards, charts, progress indicators, particle systems, or gesture-driven surfaces. Also use when the user asks for fluid, glow, glass, blob, parallax, 60fps/120fps, or GPU-friendly animated effects in React Native, even if they do not explicitly say "Skia". Do not use for ordinary form/layout work with standard views.
plaid
IncludedProduct Led AI Development — guides founders from idea to launched product. Six capabilities: Idea (discover a product idea), Validate (pressure-test the idea against fatal flaws, problem reality, competition, and 2-week MVP feasibility), Plan (vision intake + document generation), Design (translate image references into a design.md spec), Launch (go-to-market strategy), and Build (roadmap execution). Use when someone says "PLAID", "plaid idea", "help me find an idea", "product idea", "idea from my business", "idea from my expertise", "plaid validate", "validate my idea", "pressure-test", "is this idea good", "find fatal flaws", "validate the problem", "plan a product", "define my vision", "generate a PRD", "product strategy", "plaid design", "design from image", "translate image to design", "create design.md", "extract design tokens", "plaid launch", "go-to-market", "launch plan", "GTM strategy", "launch playbook", "plaid build", "build the app", "start building", or "execute the roadmap".
nextjs-framer-motion-animations
IncludedAdds production-safe Motion for React or Framer Motion animations to Next.js apps, including reveal, hover and tap micro-interactions, whileInView, stagger, AnimatePresence, layout and layoutId transitions, reorder, scroll-linked UI, and lightweight route-content transitions. Use when the user asks to add, refactor, or debug Motion or Framer Motion in App Router or Pages Router codebases, especially around server/client boundaries, reduced motion, LazyMotion, bundle size, hydration, or route transitions. Avoid for GSAP-style timelines, WebGL or 3D scenes, heavy scroll storytelling, or CSS-only effects unless Motion is explicitly requested.