skills/claude-code-control/SKILL.md
# Claude Code Control Control Claude Code programmatically through visible Terminal.app windows on macOS. ## How It Works Uses AppleScript to: 1. Open Terminal.app and launch `claude code` in a project directory 2. Type commands via System Events keystrokes 3. Capture screenshots of just the Terminal window (not full screen) 4. Record full sessions with timestamped logs ## Requirements - macOS - Node.js 18+ - Claude Code installed and authenticated - Accessibility permissions for Terminal.a
npx skillsauth add aaaaqwq/agi-super-team skills/claude-code-controlInstall this skill globally with one command. Works with Claude Code, Cursor, and Windsurf.
3 of 9 scanners reported clean
Some scanners were skipped, did not run, or reported a non-clean status. Review each row below.
Control Claude Code programmatically through visible Terminal.app windows on macOS.
Uses AppleScript to:
claude code in a project directoryconst cc = require('./index');
// Launch Claude Code visibly
const session = await cc.launch('/path/to/project');
// Send a command (types it + presses Enter)
const result = await cc.send(session, 'write tests for app.py', 30);
// result.screenshot → path to Terminal window screenshot
// Save session recording
await cc.saveSession(session, './recording.json');
// Close
await cc.close(session);
| Function | Description |
|---|---|
| launch(path, opts?) | Open Terminal + start Claude Code. Returns session ID |
| send(id, command, waitSec?) | Type command, wait, screenshot. Returns {screenshot, duration_ms} |
| verifyScreen(id, desc) | Take a verification screenshot |
| approveSecurity(id) | Handle "trust this folder" prompt |
| handleLogin(id) | Send /login command |
| saveSession(id, path) | Save session log to JSON |
| close(id) / closeAll() | Exit Claude Code gracefully |
| takeScreenshot(path?) | Capture Terminal window |
| focusTerminal() | Bring Terminal to front |
development
Technology-agnostic prompt generator that creates customizable AI prompts for scanning codebases and identifying high-quality code exemplars. Supports multiple programming languages (.NET, Java, JavaScript, TypeScript, React, Angular, Python) with configurable analysis depth, categorization methods, and documentation formats to establish coding standards and maintain consistency across development teams.
tools
Expert-level browser automation, debugging, and performance analysis using Chrome DevTools MCP. Use for interacting with web pages, capturing screenshots, analyzing network traffic, and profiling performance.
data-ai
Prompt for creating detailed feature implementation plans, following Epoch monorepo structure.
tools
Interactive prompt refinement workflow: interrogates scope, deliverables, constraints; copies final markdown to clipboard; never writes code. Requires the Joyride extension.