rohitg00

AI Computer Use — AI skill for Claude Code

AI community

A tool that allows Claude to control Mac and iOS devices through the Anthropic API.

How to install AI Computer Use

This entry records only its repository, not the path inside it, so there is no exact command to give. Open rohitg00/ai_computer_use and copy the folder into ~/.claude/skills/, or the file into ~/.claude/agents/.

What AI Computer Use does

A tool that allows Claude to control Mac and iOS devices through the Anthropic API.

Alternatives in AI

  • Agentboard — Web GUI for tmux optimized for AI agent TUIs, with support for iOS safari and mac w/ keyboard shortcuts 410 ★
  • Claude Hub — by Claude Did This - A webhook service that connects Claude Code to GitHub repositories, enabling AI-powered c 393 ★
  • Zhigeng — 知更 — 本地 AI 的上下文与记忆层 389 ★

README

Mac & iOS Anthropic Control

A tool that allows Claude to control Mac and iOS devices through the Anthropic API.

Acknowledgments

This project builds upon and was inspired by the excellent [Anthropic Computer Use Demo](https://github.com/anthropics/anthropic-quickstarts/tree/main/computer-use-demo). The original demo provides a robust foundation for computer control through Claude, and we've extended it to support native macOS and iOS automation.

We highly recommend checking out the original demo to understand the core concepts and implementation patterns.

Features

  • Control Mac OS through native commands and GUI automation
  • Control iOS devices through Appium/XCUITest
  • Streamlit-based interface for interaction
  • Support for multiple LLM providers (Anthropic, Bedrock, Vertex)
  • Automatic screen resolution scaling
  • File system interaction capabilities

Prerequisites

  • macOS Sonoma 15.7 or later
  • Python 3.12+
  • Homebrew
  • Xcode and iOS Simulator/Device
  • Node.js and npm (for Appium)

Installation

  1. Install system dependencies:
# Install Homebrew if not installed
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"

# Install required packages
brew install python@3.12 cliclick node

# Install Appium and dependencies
npm install -g appium
npm install -g appium-xcuitest-driver
  1. Install Python dependencies:
python -m venv venv
source venv/bin/activate
pip install -r requirements.txt
  1. Configure environment:
cp .env.example .env
# Edit .env with your settings

Usage

  1. Start the Streamlit interface:
streamlit run src/ui/streamlit_app.py
  1. Access the interface at http://localhost:8501

Environment Variables

  • ANTHROPIC_API_KEY: Your Anthropic API key
  • API_PROVIDER: anthropic/bedrock/vertex
  • SCREEN_WIDTH: Display width (default: 1280)
  • SCREEN_HEIGHT: Display height (default: 800)
  • IOS_DEVICE_ID: iOS device UDID (optional)

Sec