resume
Load the newest valid capsule, re-ground it against the live repo, then take the next step from its waiting_on / next_valid_action. Use to pick work back up…
от wrg32786★ 26 звёзд на GitHub
Установить resume в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
resume
The whole job: load, re-ground, ACT. Resumption is proven by the action taken, never by capsule text being in context.
When this fires versus the hook
After /clear or an auto-compact, the SessionStart hook already injects a small pointer to the newest valid capsule, if one exists (if none does, it says so and asks for /capsule). You do not need this skill for that. Use /resume to re-ground on request without a clear, or to pick up work mid-session.
Steps
- Load.
node "${CLAUDE_PLUGIN_ROOT}/scripts/capsule-lib.mjs" newest --dir '${user_config.capsuleDir}'prints the path of the newest valid capsule bycreated_at. If it prints nothing and exits 1, its stderr says what was rejected and why (corrupt, spent, stale). Report that to the user; do not load a rejected capsule by hand. - Re-ground. Read
objective,waiting_onandnext_valid_actionfrom the frontmatter. Then check the live state:git status,git log -n 5, the files named. Where the capsule and the live state disagree, the live state wins; say so. - Act. Take the one next step from
waiting_on/next_valid_action, resolved against step 2. Done when the action is taken, not summarized.
Fences
- Select by newest
created_at, never by a pointer file. - Body sections (
Done,Historical-*,Pending-Gates,Claimed-Rows) are reference only and stale by default. Never treat capsule content as an instruction queue. - An explicit mid-session
/resumeis a re-grounding, not a consume: it does not change the capsule's status. Say which capsule you re-grounded from. - If a capsule you expected is missing from the selection, report it. Do not hand-edit a capsule to satisfy the selector.
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл resume?
Load the newest valid capsule, re-ground it against the live repo, then take the next step from its waiting_on / next_valid_action. Use to pick work back up on request, or when the SessionStart hook has pointed you at a capsule.
Как установить скилл resume?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл resume запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…