본문으로 건너뛰기
TakoAPI
스킬로 돌아가기

claude-code-control

melichar-m 제작

CLI Utilities
817clawskills.sh가 보고한 다운로드 수
1스타
0조회수
좋아요 0개로그인하면 이 스킬에 좋아요를 누를 수 있습니다
—아직 평가 없음
내 평가

요약

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

설명

이 스킬이 하는 일

Programmatically controls Claude Code through visible Terminal.app windows on macOS using AppleScript. Sends commands via keystrokes, captures screenshots of the Terminal window, and records full sessions with timestamped logs.

Controls Claude Code without a headless or API approach, keeping the Terminal window visible for monitoring while still enabling full programmatic automation.

사용 시점

  • Automating repetitive Claude Code prompts across multiple projects
  • Recording Claude Code sessions for review or documentation
  • Running Claude Code in CI-like scripts without manual input
  • Capturing screenshots of Claude Code output for reports
  • Orchestrating Claude Code from a parent Node.js script

예시 워크플로

입력

User asks: automate running Claude Code to write tests for a Python project

에이전트
  1. 1

    Call launch() with the project directory path to open Terminal and start Claude Code

  2. 2

    Call send() with the command 'write tests for app.py' and a wait timeout

  3. 3

    Receive the result object containing a screenshot path and duration_ms

  4. 4

    Call saveSession() to write the full session log to a JSON file

  5. 5

    Call close() to exit Claude Code gracefully

출력

Session JSON log saved to disk with timestamped commands and a Terminal window screenshot of the completed test-writing step

요구 사항

  • Claude Code installed and authenticated
  • Accessibility permissions granted for Terminal.app and Script Editor in macOS System Settings → Privacy & Security → Accessibility

설치

clawhub install melichar-m/claude-code-control

CLI 명령을 실행하거나, 프롬프트를 Claude Code, Cursor, Codex 등 사용하는 코딩 에이전트에 붙여넣으세요.

링크