Michael Melichar

Claude Code Control

开发编程v1.2.0
作者:Michael Melichar更新于 2026-05-18共 2 个版本 · 最新版本发布于 2026-02-22claude-code-control@clawhub_melichar-m/claude-code-control
代码生成脚本工具

据 AlphaMoat 统计,截至 2026-10,Claude Code Control 累计下载 5,195 次、获 1 个星标,按累计下载量在本次参与排名的 5,109 个 AI 技能中排名第 2,700 位,在「开发编程」分类(560 个)中排名第 300 位。

列表默认按累计下载量排序,也可按星标排序;详情页排名按累计下载量计算。

累计下载
5,195
星标
1
全站下载量排名
#2,700
全站前 53% · 「开发编程」前 54%
平台累计下载星标评论
ClawHub ↗5,1951-
SkillHub ↗3,7281—

各平台的计数口径不同,统计时间不一致。

这个技能是做什么的

通过 AppleScript 编程控制 macOS 终端可见窗口中的 ClaudeCode,执行命令输入、截图、会话日志和终端管理。

月度数据趋势

累计下载5,195
9643,2365,5082026-03 · 累计下载 1,2772026-05 · 累计下载 2,7072026-06 · 累计下载 2,9272026-07 · 累计下载 3,8462026-08 · 累计下载 4,6302026-09 · 累计下载 4,9982026-10 · 累计下载 5,19526-0326-0926-10
星标1
0122026-03 · 星标 12026-05 · 星标 12026-06 · 星标 12026-07 · 星标 12026-08 · 星标 12026-09 · 星标 12026-10 · 星标 126-0326-0926-10

2026-09 起统计方法调整:同名技能按作者分别统计,并覆盖全部技能。图中虚线为调整前的月份,与之后的数据不直接比较,也不计算跨越调整的增长。

月份累计下载环比星标
2026-105,195—1
2026-094,998—1
2026-084,630+20.4%1
2026-073,846+31.4%1
2026-062,927+8.1%1
2026-052,707—1
2026-031,277—1

SKILL.md 原文

以下是作者发布的原始文件,按纯文本显示,本站未做修改或审核;其中的链接不可点击,命令请核实后再运行。抓取于 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)
展开全部(共 60 行)
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

「开发编程」分类下的热门技能

数据月份:2026-10 · 下载/星标数聚合自公开技能注册库(ClawHub、SkillHub),按月更新。口径说明见数据方法。