Command Palette

Search for a command to run...

Назад к скиллам
скилл № 40031

Control Claude Code

Control skill for /app-control:drive: run Claude Code TUI with a plugin and record screenshots, video, stream-json (mods, skills, hooks, commands).

БесплатноЗапускает вложенные скрипты
melodic-softwareот melodic-software★ 34 звезды на GitHub

Установить Control Claude Code в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Об этом скилле

Control Claude Code

App: Claude Code, the claude on PATH, with the plugin at <plugin-dir> loaded for the session. Driving tool: driver/driver.mjs, a terminal driver for Claude Code's TUI. Runs attended or unattended, and drives only the session it launches; it never attaches to a Claude Code session it did not start.

The run uses the account Claude Code is already signed in with. It never signs in, signs out or switches accounts, and it never drives Claude Desktop (Gotchas).

In the commands below, <skill-dir> is this skill's folder; <plugin-dir> is the plugin directory the person names, else each line Launch's plugins prints, resolved from the directory the run starts in; <plugin> is the last segment of <plugin-dir>; <run-dir> is drive's run directory; <session> is one name for the whole run, 1 to 32 letters, digits, _ or -, not starting with - (a longer name exits 2); <file> is <plugin>, then the feature id with each / as -, then the entry point (context-budget-mods-band-01), so two plugins driving the same entry point keep separate evidence. The --timeout values come from timeouts in config/local.json, else config/defaults.json: stepMs for each wait-for, readyMs for Ready, logMs for logs. A step whose turn runs longer than stepMs, such as a skill that fans out to subagents, passes its own --timeout <ms> to that one wait-for. A run takes at most maxCaptures screenshots and videos together, and drives at most maxEntryPoints entry points across all its plugins, both from the same config; the driver caps only the plugins Launch lists, so the run keeps both counts. At a cap it takes no further capture, or drives no further entry point, and records each entry point it skipped as blocked: maxCaptures reached or blocked: maxEntryPoints reached.

Launch

node <skill-dir>/driver/driver.mjs plugins <changed files> prints one <plugin-dir> per line: the plugin each changed file sits in, once each, at most maxEntryPoints of them, each one left out named on stderr as blocked: maxEntryPoints reached: <dir>; with no changed file, the configured pluginDir. The driver launches one plugin per session, so each line runs in turn under the one <session>: Launch, Ready, its entry points, Cleanup, then the next line. Run plugins only when the run directory holds affected.json; otherwise <plugin-dir> is the one the person names, else pluginDir from config/local.json, else from config/defaults.json.

node <skill-dir>/driver/driver.mjs launch --plugin-dir <plugin-dir> --session <session>

Claude Code starts in <session>.cwd under the runtime directory (CCD_RUNTIME_DIR below), not the caller's shell directory; each launch empties that directory and makes it private. Add --cwd <dir> to start it in a directory the person names. --restricted keeps the file tools inside that working directory. Ready and logs run print mode in the directory the run starts in, so start them outside the checkout when a prompt may write. A launch under --in-sandbox (below) starts in the caller's own directory, since that sandbox is the boundary. Config isolation is the pr-verify capture's sandbox, which runs the broker with --in-sandbox: a local drive still uses the person's config directory (Data:).

The launch clears every API-key, gateway and provider variable and hides the working directory on the startup screen. An unattended run adds --unattended to launch, ready and log: the one variable that credentials.ci in config/defaults.json names and the job has set is kept, with CLAUDE_CODE_SUBPROCESS_ENV_SCRUB=1 set, and the session holder unsets it once claude starts; two set at once is refused before anything starts. A kept real credential is not proven out of the plugin under test's reach, so a CI job passes --unattended only with a dummy credential until the isolation probe of issue 8651 shows it is. The launch broker (driver/broker.mjs) is how a job does that: it runs launch, ready and log with --unattended where it runs, and hands the driver only a dummy ANTHROPIC_API_KEY that starts with ccd-dummy-; it refuses to start on any other key, or from any directory but the driver's. Its intended consumer is the pr-verify capture, which keeps the real key with a proxy outside the sandbox. Started with --in-sandbox, the broker adds --in-sandbox to every request: the launch then drops --restricted, so Bash is in the default tools, and sets no scrub, because the caller's own sandbox is the boundary and the scrub's nested sandbox cannot start inside it. Only a caller that runs the broker in such a sandbox passes it; a request cannot, and the driver refuses --in-sandbox on any launch that does not keep an unattended ccd-dummy- ANTHROPIC_API_KEY. With CCD_BROKER_SOCK naming the broker's socket, launch, ready and log go to the broker and the other commands run here; every line the broker relays start

Полный SKILL.md на GitHub

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

Вложенные файлы

  • cli/README.md
  • cli/account.mjs
  • config/.gitignore
  • config/defaults.json
  • driver/broker.mjs
  • driver/broker.test.mjs
  • driver/broker.test.sh
  • driver/driver.mjs
  • driver/driver.test.mjs
  • driver/driver.test.sh
  • driver/package-lock.json
  • driver/package.json
  • evals/evals.json
  • features/commands/slash/README.md
  • features/desktop/mod-harness/README.md
  • features/dialogs/permission/README.md
  • features/hooks/output/README.md
  • features/mods/band/README.md
  • features/mods/panel/README.md
  • features/mods/toast/README.md
  • features/skills/invoke/README.md

FAQ

Что делает скилл Control Claude Code?

Control skill for /app-control:drive: run Claude Code TUI with a plugin and record screenshots, video, stream-json (mods, skills, hooks, commands).

Как установить скилл Control Claude Code?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл Control Claude Code запускает скрипты?

Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.

Похожие скиллы

Сравнить Control Claude Code с