close
БесплатноЗапускает вложенные скриптыНе проверенUse when the user says to close yourself, close your pane or tab, or that you're done, and when your dispatch prompt says to close once the PR is open. Closes…
от bendrucker★ 18 звёзд на GitHubОб этом скилле
Close
Get a finished session out of the user's way without losing work. The pane closes. The worktree and branch stay on disk, where the nightly prune removes them once the PR merges. An open PR keeps a watcher: a new background session, started once this session's process exits, that keeps CI green and conflicts resolved until the PR merges or closes.
Context
- Session:
${CLAUDE_SESSION_ID}
Arguments
--target <name>: close the pane of a session this one dispatched, by its dispatchname. Default: this session's own pane.
Close This Pane
!sh "${CLAUDE_PLUGIN_ROOT}/scripts/bin-path-check.sh" claude-dispatch-close
- Leave the worktree, branch, and any
tmp/output in place, and make no extra commits. - Write a summary of one to three lines: what is done, and what is left on disk.
- Find the open PR or MR for this branch, and read its CI with
gh pr checks <url>orglab ci status. - Tell the user in one line what happens to the pane, and where the work continues.
- Run the command for the branch's condition, as one plain command:
- No PR or MR:
claude-dispatch-close close --session ${CLAUDE_SESSION_ID} --summary "<summary>" - Every check passed:
claude-dispatch-close close --handoff --session ${CLAUDE_SESSION_ID} --pr <url> --summary "<summary>" - A check pending or failing:
claude-dispatch-close park --session ${CLAUDE_SESSION_ID} --pr <url> --summary "<summary>", then continue under Parked.
- No PR or MR:
close is the last tool call of the session. On success it never returns, because closing the pane ends this session. When it returns, the pane is still open: report the error it printed and stop. When park refuses, run the command its error names.
Parked
park minimizes the pane, and this session keeps running.
- Run
pull-request:babysit <url>in this session. - Once every check passes, run the
close --handoffcommand above. - When a failure needs the user's judgment, run
claude-dispatch-close restore --session ${CLAUDE_SESSION_ID}, then ask withAskUserQuestion.restoreshows the pane without taking focus and marks its tab unread.
Close a Child Pane
Run claude-dispatch-close close --target <name>. It refuses a pane this session did not dispatch. This session keeps running.
Gotchas
- herdr refuses to close a pane whose workspace leads a group of linked worktree workspaces.
close.tsreports it and leaves the pane for the user. - herdr App terminals (
HC_TERMINAL_ID) are not supported yet.close.tssays so, and the user closes the pane. parkworks in Rex only, and in a Rex tab with another visible pane.
Ledger
Every close and park appends a row to the dispatch ledger. claude-dispatch-close report --count counts them per event. claude-dispatch-close report --left-behind lists closed sessions that left uncommitted or unpushed work. A failed handoff logs to close-resume-<session>.log in the dispatch data directory and appends an ended row whose summary starts with resume failed:.
Установить close в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Bash(claude-dispatch-close:*)Bash(sh "${CLAUDE_PLUGIN_ROOT}/scripts/bin-path-check.sh":*)Вложенные файлы
FAQ
Что делает скилл close?
Use when the user says to close yourself, close your pane or tab, or that you're done, and when your dispatch prompt says to close once the PR is open. Closes this session's Rex or herdr pane and starts a background session to watch an open pull request, or minimizes the pane while CI is still running. Also closes a child pane this session dispatched.
Как установить скилл close?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл close запускает скрипты?
Да, скилл несёт исполняемые скрипты. Проверь исходник перед установкой.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub