Command Palette

Search for a command to run...

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

rehydrate

Read workflow state after a context break and restore the working context: the phase, the task progress, the capsule terms and the next step. Read-only: it…

БесплатноБез исполняемых скриптов
lvlup-swот lvlup-sw★ 19 звёзд на GitHub

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

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

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

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

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

Workflow Rehydrate Skill

Overview

Restore the workflow context after a context break, from the stored record and git. The skill is read-only. It makes two kinds of read and no write:

  1. remit describe -f <featureId> reads one stored workflow: its phase, workflow type, tasks, artifacts and recent events.
  2. remit capsule --stream-id <featureId> --capsule-version <n> reads a page of the prepared capsule: the task contexts and the terms that settlement judges.

Only remit prepare and remit settle write workflow state. The harness owns the session itself.

Triggers

Activate this skill when:

  • Restoring context after summarization (rehydrate <featureId>)
  • The agent has drifted after context compaction
  • Returning to a workflow after a break

Does this workflow exist?

The event store is the record of whether a workflow exists. A <featureId>.state.json file is not an existence signal: it can be absent for a workflow that exists.

Read workflowExists in the result of remit describe -f <featureId> --json. A read of an unknown feature ID returns workflowExists: false and appends nothing. Never infer existence from a file on disk. If the user did not name a feature ID, ask for it.

Step 1: Read the workflow

remit describe -f <featureId> --json

Read from the result:

  • phase and workflowType
  • the task roster and the count of tasks by status
  • the artifact map (design record, plan, RCA, report)
  • the recent events: their types show the last workflow.prepared and execution.settled records

Use the saved prepare and settle receipts if available. If either receipt is missing, read data.capsuleVersion and data.lastSettlement from the describe result. The latest settlement can refer to an earlier capsule. Compare its capsuleVersion with the current one before acting on its outcome. If lastSettlement.findingCounts includes critic-blocked, follow the blocked-critic row below. For a held worker deviation, use the saved settlement receipt or ask for it before making decisions.

Step 2: Read the capsule

When the workflow has a prepared capsule, read its task contexts and terms. Follow data.continuation until you hold every page:

remit capsule --stream-id <featureId> --capsule-version <capsuleVersion> --offset 0 --limit 10 --json

The read is read-only, and it reads the pinned custody of that exact capsule version.

Step 3: Compare with git

Compare the stored record with the work in git:

git worktree list
git log --oneline -10 <integration branch>

A task worktree with commits that no settlement judged is work in progress. A task head that is not on the integration ref has not landed.

Step 4: Restore the context

Render a compact summary:

## Workflow Rehydrated: <featureId>
**Phase:** <phase> | **Type:** <workflowType> | **Capsule:** v<capsuleVersion>

### Task Progress
<task table: id, title, status, worktree>

### Artifacts
- Design record: <path or "not created">
- Last settlement: <outcome, unresolved tasks>

### Next Step
<one step from the table below>
State Next step
workflowExists: false No workflow. Start one with the skill of its type (the first call is remit prepare)
Prepared, no settlement Continue the work of the capsule, then settle the batch
Last outcome corrective-capsule Fix the unresolved tasks, then settle a new batch on the same capsule
Last outcome deviation-pending with entries in pendingDeviations Ask a person to decide each pending deviation, then settle the same batch with the decisions
Finding critic-blocked Resolve the blocker, then submit the corrected critic claim with a new batchId
Last outcome recompile-required, or a design revision Prepare a compile continuation
Phase completed The workflow is complete. Continue with the harness steps after the boundary (PR, merge)

Keep the summary short. The full details stay in files and in the stored record.

Anti-patterns

Do not Do instead
Infer existence from a .state.json file Read workflowExists from remit describe
Remember state from before the break Read it from the stored record and git
Edit a state file to match git Correct the work with git, then settle again
Paste the current plan text in place of the capsule Read the capsule pages of the prepared version
Полный SKILL.md на GitHub

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

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

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

FAQ

Что делает скилл rehydrate?

Read workflow state after a context break and restore the working context: the phase, the task progress, the capsule terms and the next step. Read-only: it runs remit describe and remit capsule, and writes nothing. Use when the user says 'resume', 'rehydrate', 'where were we', or runs /rehydrate, or when the agent has drifted after context compaction. Do NOT use to change workflow state: only remit prepare and remit settle write it.

Как установить скилл rehydrate?

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

Скилл rehydrate запускает скрипты?

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

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

Сравнить rehydrate с