Michael Melichar

Claude Code Control

Developmentv1.2.0
By Michael MelicharUpdated 2026-05-182 versions · latest released 2026-02-22claude-code-control@clawhub_melichar-m/claude-code-control
Code GenerationScripting

According to AlphaMoat, as of 2026-10, Claude Code Control has 5,195 downloads and 1 stars — ranked by downloads #2,700 among 5,109 AI skills in this ranking, and #300 of 560 in Development.

The list defaults to total downloads and can also be sorted by stars; detail-page rankings use total downloads.

Downloads
5.2K
Stars
1
Overall download rank
#2,700
Top 53% overall · Top 54% in Development
PlatformDownloadsStarsComments
ClawHub ↗5.2K1-
SkillHub ↗3.7K1—

Platforms count differently and update at different times.

What this skill does

Programmatically control Claude Code in visible macOS Terminal windows via AppleScript for command input, screenshots, session logging, and terminal management.

Monthly Trend

Downloads5.2K
9643.2K5.5K2026-03 · Downloads 1.3K2026-05 · Downloads 2.7K2026-06 · Downloads 2.9K2026-07 · Downloads 3.8K2026-08 · Downloads 4.6K2026-09 · Downloads 5.0K2026-10 · Downloads 5.2K26-0326-0926-10
Stars1
0122026-03 · Stars 12026-05 · Stars 12026-06 · Stars 12026-07 · Stars 12026-08 · Stars 12026-09 · Stars 12026-10 · Stars 126-0326-0926-10

The counting method changed in 2026-09: skills with the same name are now counted separately by author, and the full catalog is covered. Dashed lines show months before the change; they are not compared with later months, and no growth is computed across the change.

MonthDownloadsMoMStars
2026-105.2K—1
2026-095.0K—1
2026-084.6K+20.4%1
2026-073.8K+31.4%1
2026-062.9K+8.1%1
2026-052.7K—1
2026-031.3K—1

SKILL.md (original)

The author’s original file, shown as plain text without edits or review by AlphaMoat. Links are not clickable; check commands before running them. Fetched 2026-10-23.

1.8 KB · ClawHub v1.2.0
# 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)
Show all (60 lines)
4. Record full sessions with timestamped logs

## Requirements

- macOS
- Node.js 18+
- Claude Code installed and authenticated
- Accessibility permissions for Terminal.app + Script Editor (System Settings → Privacy & Security → Accessibility)

## Usage

```javascript
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);
```

## API

| 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 |

## Pro Features (Coming Soon)

- 🎬 Video recording of sessions
- 🤖 Multi-agent / multi-terminal orchestration
- 📊 Session analytics
- 🔄 Session replay
- 🌐 Remote control via SSH

Popular in Development

Data as of 2026-10. Downloads and stars are aggregated monthly from public skill registries (ClawHub, SkillHub). See data methodology.