Products & LaunchesBreakthroughScore: 95

Claude Code's New /control Flag Lets You Delegate Mac Tasks While You Code

Claude Code now has a 'computer use' feature via the /control flag, letting you delegate OS tasks while keeping your terminal workflow intact.

GAla Smith & AI Research Desk·2d ago·4 min read·2 views·AI-Generated
Share:
Source: venturebeat.comvia hn_anthropic, medium_claudeSingle Source

What Changed — Direct OS Control via Claude Code

Anthropic has released a "computer use" feature for Claude, enabling it to directly control your Mac's operating system. For Claude Code users, this functionality is accessible through a new /control flag in the terminal. This isn't a separate app—it's integrated directly into the Claude Code workflow you already use for coding tasks.

The feature works by granting Claude temporary, permission-based access to perform actions like opening applications, navigating files, clicking UI elements, and executing system commands. It operates within a sandboxed environment with explicit user approval required for sensitive operations.

What It Means For Your Development Workflow

This fundamentally changes how you can structure your coding sessions. Instead of context-switching between your terminal and other apps, you can now delegate those tasks to Claude while you focus on core development.

Concrete examples for developers:

  • While debugging a Node.js server, have Claude open Chrome, navigate to localhost:3000, and click through your UI to reproduce an issue
  • During a complex refactor, tell Claude to "open the project in VS Code, find all imports of lodash, and show me the files in Finder"
  • When setting up a new project, delegate environment setup: "Check if Docker is running, launch PostgreSQL from Applications, and verify the port"

This follows Anthropic's March 2026 release of Claude Code Auto Mode and the /dream command for memory consolidation, continuing their push toward more autonomous developer tools.

How To Use It Safely Right Now

Installation & Setup:

# Update to the latest Claude Code version
claude code update

# Enable computer use with explicit permissions
claude code --enable-control --permissions-file ./claude-perms.json

Create a claude-perms.json file to limit access:

{
  "allowed_apps": ["Finder", "Chrome", "VS Code", "iTerm"],
  "allowed_folders": ["/Users/yourname/Projects", "/Users/yourname/Downloads"],
  "require_approval": ["system_preferences", "terminal_admin_commands"]
}

Sample workflow in action:

# Start a coding session with control enabled
claude code --control

# Then in the Claude Code interface:
> I need to test the login flow. Can you open Chrome to localhost:8080, 
> click the login button, and tell me what error appears?

# Claude will request permission for each action, then execute them
# while you continue working in another terminal tab

Critical safety practices:

  1. Always use the permissions file—never run with unrestricted access
  2. Start with specific folders—don't grant access to your entire home directory
  3. Monitor the approval prompts—Claude will ask before each new type of action
  4. Use separate project directories—keep sensitive files outside controlled folders

When This Beats Your Current Tools

This isn't about replacing your entire workflow—it's about strategic delegation:

Use /control when:

  • You're in deep focus mode and don't want to break concentration
  • You need repetitive UI testing across multiple browsers
  • You're working with unfamiliar system configurations
  • You want to document exact reproduction steps for bugs

Stick to manual control when:

  • Working with sensitive production data
  • Performing irreversible system operations
  • Speed is critical (manual is still faster for simple tasks)

The Bigger Picture: Agentic Development Environments

This release represents another step toward what we've been calling "agentic development environments"—where Claude Code handles not just your coding tasks but the entire surrounding workflow. As noted in our March 27 coverage of Satya Nadella's predictions about AI agents commoditizing traditional SaaS, the value is shifting to the orchestration layer. Claude Code with /control becomes that orchestration layer for your local development environment.

What makes this particularly powerful for developers is that it builds on the existing Claude Code infrastructure you're already using. The MCP (Model Context Protocol) servers you've configured for coding tasks can now be coordinated with OS-level actions, creating truly end-to-end automation workflows.

AI Analysis

**Immediate Action Items:** 1. **Update Claude Code today** and experiment with the `/control` flag in a safe, isolated directory first. Create a test project folder with no sensitive data. 2. **Build a permissions template** for your common project types. Have separate permission files for frontend work (browser access needed) vs. backend work (database/terminal access). 3. **Start with one repetitive task** you do daily. For most developers, this is opening multiple applications and setting window positions at the start of a work session. Delegate that first. **Workflow Changes:** - **Stop context-switching for simple OS tasks.** When you need to check something in another app while coding, try delegating it first. The mental overhead reduction is significant. - **Combine with existing MCP servers.** If you use the Playwright MCP server (as covered in our March 27 article "The 30-Minute Folder That Saves Your Playwright MCP Project"), you can now have Claude both write browser tests AND execute them in real browsers on your machine. - **Document your processes differently.** Instead of writing step-by-step instructions for onboarding or bug reproduction, write prompts that Claude can execute directly.
Enjoyed this article?
Share:

Related Articles

More in Products & Launches

View all