# Send Claude Code Control to your agent
Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.
## Fast path
- Download the package from Yavira.
- Extract it into a folder your agent can access.
- Paste one of the prompts below and point your agent at the extracted folder.
## Suggested prompts
### New install

```text
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.
```
### Upgrade existing

```text
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.
```
## Machine-readable fields
```json
{
  "schemaVersion": "1.0",
  "item": {
    "slug": "claude-code-control",
    "name": "Claude Code Control",
    "source": "tencent",
    "type": "skill",
    "category": "开发工具",
    "sourceUrl": "https://clawhub.ai/melichar-m/claude-code-control",
    "canonicalUrl": "https://clawhub.ai/melichar-m/claude-code-control",
    "targetPlatform": "OpenClaw"
  },
  "install": {
    "downloadUrl": "/downloads/claude-code-control",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-control",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "packageFormat": "ZIP package",
    "primaryDoc": "SKILL.md",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/run-atlas-tests.js",
      "index-old.js",
      "index-shell.js",
      "index-v2.js"
    ],
    "downloadMode": "redirect",
    "sourceHealth": {
      "source": "tencent",
      "slug": "claude-code-control",
      "status": "healthy",
      "reason": "direct_download_ok",
      "recommendedAction": "download",
      "checkedAt": "2026-05-01T11:28:08.259Z",
      "expiresAt": "2026-05-08T11:28:08.259Z",
      "httpStatus": 200,
      "finalUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-control",
      "contentType": "application/zip",
      "probeMethod": "head",
      "details": {
        "probeUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-control",
        "contentDisposition": "attachment; filename=\"claude-code-control-1.2.0.zip\"",
        "redirectLocation": null,
        "bodySnippet": null,
        "slug": "claude-code-control"
      },
      "scope": "item",
      "summary": "Item download looks usable.",
      "detail": "Yavira can redirect you to the upstream package for this item.",
      "primaryActionLabel": "Download for OpenClaw",
      "primaryActionHref": "/downloads/claude-code-control"
    },
    "validation": {
      "installChecklist": [
        "Use the Yavira download entry.",
        "Review SKILL.md after the package is downloaded.",
        "Confirm the extracted package contains the expected setup assets."
      ],
      "postInstallChecks": [
        "Confirm the extracted package includes the expected docs or setup files.",
        "Validate the skill or prompts are available in your target agent workspace.",
        "Capture any manual follow-up steps the agent could not complete."
      ]
    }
  },
  "links": {
    "detailUrl": "https://openagent3.xyz/skills/claude-code-control",
    "downloadUrl": "https://openagent3.xyz/downloads/claude-code-control",
    "agentUrl": "https://openagent3.xyz/skills/claude-code-control/agent",
    "manifestUrl": "https://openagent3.xyz/skills/claude-code-control/agent.json",
    "briefUrl": "https://openagent3.xyz/skills/claude-code-control/agent.md"
  }
}
```
## Documentation

### Claude Code Control

Control Claude Code programmatically through visible Terminal.app windows on macOS.

### How It Works

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

### Requirements

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

### Usage

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

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

### Pro Features (Coming Soon)

🎬 Video recording of sessions
🤖 Multi-agent / multi-terminal orchestration
📊 Session analytics
🔄 Session replay
🌐 Remote control via SSH
## Trust
- Source: tencent
- Verification: Indexed source record
- Publisher: melichar-m
- Version: 1.2.0
## Source health
- Status: healthy
- Item download looks usable.
- Yavira can redirect you to the upstream package for this item.
- Health scope: item
- Reason: direct_download_ok
- Checked at: 2026-05-01T11:28:08.259Z
- Expires at: 2026-05-08T11:28:08.259Z
- Recommended action: Download for OpenClaw
## Links
- [Detail page](https://openagent3.xyz/skills/claude-code-control)
- [Send to Agent page](https://openagent3.xyz/skills/claude-code-control/agent)
- [JSON manifest](https://openagent3.xyz/skills/claude-code-control/agent.json)
- [Markdown brief](https://openagent3.xyz/skills/claude-code-control/agent.md)
- [Download page](https://openagent3.xyz/downloads/claude-code-control)