Requirements
- Target platform
- OpenClaw
- Install method
- Manual import
- Extraction
- Extract archive
- Prerequisites
- OpenClaw
- Primary doc
- SKILL.md
Programmatically control Claude Code in visible macOS Terminal windows via AppleScript for command input, screenshots, session logging, and terminal management.
Programmatically control Claude Code in visible macOS Terminal windows via AppleScript for command input, screenshots, session logging, and terminal management.
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
I downloaded a skill package from Yavira. Read SKILL.md from the extracted folder and install it by following the included instructions. Then review README.md for any prerequisites, environment setup, or post-install checks. Tell me what you changed and call out any manual steps you could not complete.
I downloaded an updated skill package from Yavira. Read SKILL.md from the extracted folder, compare it with my current installation, and upgrade it while preserving any custom configuration unless the package docs explicitly say otherwise. Then review README.md for any prerequisites, environment setup, or post-install checks. Summarize what changed and any follow-up checks I should run.
Control Claude Code programmatically through visible Terminal.app windows on macOS.
Uses AppleScript to: Open Terminal.app and launch claude code in a project directory Type commands via System Events keystrokes Capture screenshots of just the Terminal window (not full screen) Record full sessions with timestamped logs
macOS Node.js 18+ Claude Code installed and authenticated Accessibility permissions for Terminal.app + Script Editor (System Settings โ Privacy & Security โ Accessibility)
const 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);
FunctionDescriptionlaunch(path, opts?)Open Terminal + start Claude Code. Returns session IDsend(id, command, waitSec?)Type command, wait, screenshot. Returns {screenshot, duration_ms}verifyScreen(id, desc)Take a verification screenshotapproveSecurity(id)Handle "trust this folder" prompthandleLogin(id)Send /login commandsaveSession(id, path)Save session log to JSONclose(id) / closeAll()Exit Claude Code gracefullytakeScreenshot(path?)Capture Terminal windowfocusTerminal()Bring Terminal to front
๐ฌ Video recording of sessions ๐ค Multi-agent / multi-terminal orchestration ๐ Session analytics ๐ Session replay ๐ Remote control via SSH
Code helpers, APIs, CLIs, browser automation, testing, and developer operations.
Largest current source with strong distribution and engagement signals.