Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

cloud-handoff

БесплатноБез исполняемых скриптовНе проверен

Push the current task to a branch and continue it in a cloud session. Use when asked to "send this to a remote agent", to "run it in the cloud", or when the…

Chemaclassот Chemaclass★ 31 звезда на GitHub

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

cloud-handoff

Send the current task to a cloud session that goes on without this computer. Push the work first, then write down the goal, then launch. Claude Code can upload local files and history when the GitHub App is missing, so launch it only from the clean snapshot below.

When

  • Only when the user asks, or agrees after you offer. Never at session start, at session end, or on your own: it pushes code and starts paid work in the cloud.
  • To pass the task to the next local agent instead, with no push and no network call, use the handoff skill if it is installed.

Preflight

Check each of these before you change anything. If one fails, stop and say which one and what the user can do.

  1. git rev-parse --is-inside-work-tree prints true. Otherwise there is nothing to push.
  2. git remote get-url origin >/dev/null succeeds. Without a remote the cloud cannot clone the work. Keep the URL out of the output.
  3. command -v finds the launch command of the row you will use in the Launch table below.
  4. The row's other needs are met: a terminal wrapper for the Claude Code launch, a Codex environment id (saved in agnostic-ai.codex-cloud-env or given by the user in this session, as the Codex section says), or a gh sign-in for GitHub Copilot (gh auth status >/dev/null 2>&1 succeeds).
  5. The push and the launch need network access. In a sandbox without it, ask the user to allow it, or give them the lines to run, and stop.

Branch, commit, push

  1. Never push to the default branch (the one git symbolic-ref --short refs/remotes/origin/HEAD names, else main or master). On the default branch or a detached HEAD, create a new branch first, such as cloud/<short-task-slug>, and name it in your reply.
  2. Show git status --short. Stage only the files of this task, by path. Never stage a .env file, a key or certificate file, or anything else that looks like a secret; leave it out and say so.
  3. Commit with a short message that names the task. If the commit fails, for example a hook or signing fails, stop and show its output. Do not skip the hook. Do not change Git settings, such as signing, to get the commit through.
  4. Immediately before the push, record the branch from git symbolic-ref --quiet --short HEAD and its exact commit from git rev-parse "<recorded-branch>". Use git push -u origin <branch> with that recorded branch. If it fails, stop and show the error. Never force-push.
  5. After the push succeeds, keep those recorded values. Set and export CLOUD_BRANCH and CLOUD_COMMIT to them in the launch shell. Do not replace them with a later local HEAD. Include the commit in the prompt's Branch section.

Write the prompt

The prompt is all the cloud session knows. Write it like this:

<The goal, as one plain sentence.> [<branch>]

## Done
## Next step
## Agent and limits
## Branch
## Verify
  • First line: the goal in one plain sentence, with the branch name at the end in brackets. Some tools use it to make the session title.
  • Done: what this session finished, with paths relative to the project root.
  • Next step: the first thing to do, then what remains.
  • Agent and limits: when the next step calls for a named agent or skill, describe its job in ordinary words. Include any required independence, tool and path restrictions, and approval requirements. Name the relevant project instructions or skill paths if they exist at the pushed commit. Keep personal paths, chat history and secrets out of the prompt.
  • Tell the receiver to check its available agents, skills and tool permissions after setup. A different agent name is fine if its role and enforced restrictions match. If delegation is optional, the receiver can do the step itself under the same restrictions. If a required reviewer, skill or restriction is unavailable, stop before that step and report the gap. A prompt cannot enforce a tool restriction.
  • Branch: the pushed branch, that the work is committed on it, and that any pull request targets this branch, not the default branch.
  • Verify: give the exact check command, its working directory and the expected result. Ask for the diff or commit and the check result, or the first blocker.
  • Keep it under 60 lines. Never write secrets, tokens, or .env values.
  • Write it to a file through a quoted heredoc, so the shell expands nothing in it, then read the file into a variable. Keep the heredoc outside $( ): an older bash, such as macOS /bin/bash and /bin/sh, breaks on quotes and parentheses there. Set it and launch in one shell command: a variable does not survive to the next tool call, and the launch refuses an empty prompt. The file stays in the temp folder, which the system clears.
f=$(mktemp)
cat >"$f" <<'PROMPT'
Finish the parser error messages. [cloud/parser-errors]

## Done
The parser now reports the input line for an empty value.

## Next step
Review the change independently and return findings with file paths.

## Agent a
Полный SKILL.md на GitHub

Установить cloud-handoff в Claude Code и Claude Desktop

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

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

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

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

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

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

FAQ

Что делает скилл cloud-handoff?

Push the current task to a branch and continue it in a cloud session. Use when asked to "send this to a remote agent", to "run it in the cloud", or when the user is "closing my laptop".

Как установить скилл cloud-handoff?

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

Скилл cloud-handoff запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

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

Сравнить cloud-handoff с