{
  "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": {
    "downloadMode": "redirect",
    "downloadUrl": "/downloads/claude-code-control",
    "sourceDownloadUrl": "https://wry-manatee-359.convex.site/api/v1/download?slug=claude-code-control",
    "sourcePlatform": "tencent",
    "targetPlatform": "OpenClaw",
    "installMethod": "Manual import",
    "extraction": "Extract archive",
    "prerequisites": [
      "OpenClaw"
    ],
    "packageFormat": "ZIP package",
    "includedAssets": [
      "README.md",
      "SKILL.md",
      "examples/run-atlas-tests.js",
      "index-old.js",
      "index-shell.js",
      "index-v2.js"
    ],
    "primaryDoc": "SKILL.md",
    "quickSetup": [
      "Download the package from Yavira.",
      "Extract the archive and review SKILL.md first.",
      "Import or place the package into your OpenClaw setup."
    ],
    "agentAssist": {
      "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
      "steps": [
        "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."
      ],
      "prompts": [
        {
          "label": "New install",
          "body": "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."
        },
        {
          "label": "Upgrade existing",
          "body": "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."
        }
      ]
    },
    "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."
      ]
    },
    "downloadPageUrl": "https://openagent3.xyz/downloads/claude-code-control",
    "agentPageUrl": "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"
  },
  "agentAssist": {
    "summary": "Hand the extracted package to your coding agent with a concrete install brief instead of figuring it out manually.",
    "steps": [
      "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."
    ],
    "prompts": [
      {
        "label": "New install",
        "body": "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."
      },
      {
        "label": "Upgrade existing",
        "body": "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."
      }
    ]
  },
  "documentation": {
    "source": "clawhub",
    "primaryDoc": "SKILL.md",
    "sections": [
      {
        "title": "Claude Code Control",
        "body": "Control Claude Code programmatically through visible Terminal.app windows on macOS."
      },
      {
        "title": "How It Works",
        "body": "Uses AppleScript to:\n\nOpen Terminal.app and launch claude code in a project directory\nType commands via System Events keystrokes\nCapture screenshots of just the Terminal window (not full screen)\nRecord full sessions with timestamped logs"
      },
      {
        "title": "Requirements",
        "body": "macOS\nNode.js 18+\nClaude Code installed and authenticated\nAccessibility permissions for Terminal.app + Script Editor (System Settings → Privacy & Security → Accessibility)"
      },
      {
        "title": "Usage",
        "body": "const cc = require('./index');\n\n// Launch Claude Code visibly\nconst session = await cc.launch('/path/to/project');\n\n// Send a command (types it + presses Enter)\nconst result = await cc.send(session, 'write tests for app.py', 30);\n// result.screenshot → path to Terminal window screenshot\n\n// Save session recording\nawait cc.saveSession(session, './recording.json');\n\n// Close\nawait cc.close(session);"
      },
      {
        "title": "API",
        "body": "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"
      },
      {
        "title": "Pro Features (Coming Soon)",
        "body": "🎬 Video recording of sessions\n🤖 Multi-agent / multi-terminal orchestration\n📊 Session analytics\n🔄 Session replay\n🌐 Remote control via SSH"
      }
    ],
    "body": "Claude Code Control\n\nControl Claude Code programmatically through visible Terminal.app windows on macOS.\n\nHow It Works\n\nUses AppleScript to:\n\nOpen Terminal.app and launch claude code in a project directory\nType commands via System Events keystrokes\nCapture screenshots of just the Terminal window (not full screen)\nRecord full sessions with timestamped logs\nRequirements\nmacOS\nNode.js 18+\nClaude Code installed and authenticated\nAccessibility permissions for Terminal.app + Script Editor (System Settings → Privacy & Security → Accessibility)\nUsage\nconst cc = require('./index');\n\n// Launch Claude Code visibly\nconst session = await cc.launch('/path/to/project');\n\n// Send a command (types it + presses Enter)\nconst result = await cc.send(session, 'write tests for app.py', 30);\n// result.screenshot → path to Terminal window screenshot\n\n// Save session recording\nawait cc.saveSession(session, './recording.json');\n\n// Close\nawait cc.close(session);\n\nAPI\nFunction\tDescription\nlaunch(path, opts?)\tOpen Terminal + start Claude Code. Returns session ID\nsend(id, command, waitSec?)\tType command, wait, screenshot. Returns {screenshot, duration_ms}\nverifyScreen(id, desc)\tTake a verification screenshot\napproveSecurity(id)\tHandle \"trust this folder\" prompt\nhandleLogin(id)\tSend /login command\nsaveSession(id, path)\tSave session log to JSON\nclose(id) / closeAll()\tExit Claude Code gracefully\ntakeScreenshot(path?)\tCapture Terminal window\nfocusTerminal()\tBring Terminal to front\nPro Features (Coming Soon)\n🎬 Video recording of sessions\n🤖 Multi-agent / multi-terminal orchestration\n📊 Session analytics\n🔄 Session replay\n🌐 Remote control via SSH"
  },
  "trust": {
    "sourceLabel": "tencent",
    "provenanceUrl": "https://clawhub.ai/melichar-m/claude-code-control",
    "publisherUrl": "https://clawhub.ai/melichar-m/claude-code-control",
    "owner": "melichar-m",
    "version": "1.2.0",
    "license": null,
    "verificationStatus": "Indexed source record"
  },
  "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"
  }
}