Continue In Background
Hand the task to a fresh detached background agent (claude --bg or --cloud) that continues it now from a save-point. Use when the user is going AFK and…
от melodic-software★ 34 звезды на GitHub
Установить Continue In Background в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
Continue in background
Arguments. [--unattended] [--cloud] [file|prompt] [topic] [purpose...]. e.g., /continue-in-background, /continue-in-background prompt, /continue-in-background file phase-3 finish the migration unattended, /continue-in-background --cloud prompt fix-flaky-test
Context. Gather first
Take session-id, branch, status, and recent-commits at -5. Probe commands, the
one-command-per-call and treat-failure-as-unknown rules, and the $-expansion rationale:
${CLAUDE_PLUGIN_ROOT}/reference/gather.md.
This block only colors the save-point; nothing here is the dirty-tree gate. That gate runs its
own commands at delivery step 1 and reads a git failure as a reason not to launch, never carry this
block's shrug, or its non--uall git status output, into it.
Purpose
The user is stepping away but the work should keep moving. This skill produces the same save-point
the sibling /session-flow:handoff skill produces, then, instead of asking the user to
/clear-and-paste, launches a fresh background agent seeded with the resume prompt, so the task
continues now, detached from this session and from the user's presence.
Same save-point engine as handoff, different delivery: handoff delivers a manual
/clear-then-paste resume for later; this skill delivers a background continuation for now.
Hard gate. Launch only on explicit user intent
Launching a detached session is a side effect the user must have asked for. Launch only when the
user explicitly requested background delegation: they invoked this skill by name, or asked in words
("continue this in the background", "keep it moving while I'm away"). Never self-elected: the user
merely going AFK, context being heavy, or this skill being model-invoked on a description match is
not authorization. When invoked without that explicit request, produce the save-point, emit the
rails resume prompt with the standard /clear-then-paste instruction, state that no agent was
launched because background delegation was not explicitly requested, and stop. The user can ask
for the launch or run /session-flow:continue-in-background themselves.
Arguments
$ARGUMENTS carries [--unattended] [--cloud] [file|prompt] [topic] [purpose...], all optional,
the non-flag tokens positional. --unattended, anywhere in the arguments, is the caller declaring
that nobody is present (it governs the offer under "Boundary") and is consumed first; the bare word
in a purpose is purpose text. A leading --cloud selects the cloud delivery below and is consumed before the rest parses. The
rest has the same semantics as handoff: method (file | prompt) recognized only as the first token,
otherwise auto-detect; topic is the kebab slug for the save-point filename, inferred when omitted;
everything after the topic token is optional natural-language purpose text ("what will the next
session be used for?"), no quoting, no new syntax, invocations without it parse exactly as
before, and its emphasis-only tailoring rules are owned by the engine doc ("The purpose argument
tailors emphasis only"). Parse purpose from $ARGUMENTS in place, never pre-compute. Before the
resolved topic is embedded anywhere (filename, --name flag), sanitize it to [a-z0-9-] only,
strip or replace every other character, so a crafted slug cannot smuggle quotes or extra flags
into the launch command. Purpose text is never embedded in the launch command at all. It shapes
the save-point's content, and the agent receives only the /goal payload.
Produce the save-point
The save-point machinery, destination resolution, locating the position, full-vs-prompt-only
choice, the mandatory redaction pass, the handoff-file write, and the rails resume prompt, lives
in the shared engine doc
${CLAUDE_PLUGIN_ROOT}/reference/save-point.md.
Walk it top to bottom; do not restate or improvise any of its steps. On the full path the file is
the shape new writes: save_point.py validate <file> must exit 0 before anything launches (an
unfinished skeleton, one still carrying <!-- FILL slots, fails there and cannot be launched
from).
When the request asks to carry what an earlier handoff in the handoffs directory says, read that
section by name with save_point.py read <file> --section "<name>", which follows a section moved
to the archive file, and put what it holds into the save-point.
When the request names a topic rather than a section, also read the Observations section that way, or open each - Moved: pointer's archive file with Read, before you report the handoff says nothing on that topic.
The launched session has its own session id, so hand it this session's worktree claims exactly as
the sibling handoff skill's "Hand worktree claims to the resuming session" does. On the full
path the payload ends at the Read @ directive, so the file carries the handover: the Environment
to
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
Вложенные файлы
- evals/evals.json
- reference/cloud-delivery.md
- reference/denial-probe.md
- reference/goal-probe.md
- reference/native-surfaces.md
FAQ
Что делает скилл Continue In Background?
Hand the task to a fresh detached background agent (claude --bg or --cloud) that continues it now from a save-point. Use when the user is going AFK and explicitly asks to 'continue in the background'. Launches only on that request, never self-elected.
Как установить скилл Continue In Background?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Continue In Background запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…