/essential:takeover [--revalidate]from essential
Resume paused work from the state root's `works/` (see essential:references/state.md). Offer incomplete streams, settle reviewing streams against applicable landing evidence, resolve pending decisions, select risk-appropriate implementation ownership, and drive one selected stream toward its charter. Promote durable results before non-coding completion; route coding publication through the relevant change-publication capability.
Ships in essential. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
Resume paused work streams. Resumption always reads the centralized work state under <state-root>/works/, then reads that tree's global <state-root>/overview.md for each stream's recorded source-checkout Location. Resumption resolves pending decisions and hands each selected stream to the relevant implementation skill, one hand-off per runnable next action. Resumption does not stop at that first hand-off: it surfaces the unblocked streams as the recommended next work, selects one-owner execution or governed coordination from the owning workflow's risk classification, and drives each selected stream toward its charter's success criteria. At completion it promotes every stable durable fact, recording evidenced not required when none exists, and for a coding stream delegates pull-request creation and monitoring to an executor agent running the relevant change-publication capability. State stays in the state root, persisted continuously by the state contract.
reviewing or completed — or record its phase plus a separate Blocked on: value before starting another.not required. A coding pull request need not contain a promoted document. The state root stays operational work memory, persisted continuously by the state contract.--revalidate: forces re-verification of each selected stream's recorded source anchor against the current checkout even when it already appears to match.<state-root>/works/, which every checkout resolves to; it resumes with no overview at all. It additionally reads the global <state-root>/overview.md for each stream's Location when that file exists, but a missing overview never blocks a resume. A specification is read from the work directory that carries it; a live source (such as a Notion-backed spec) is refreshed through the relevant specification-sync skill.A bootstrap charter may carry source kind pending, but that is not executable provenance. Resolve all seven goal.md specification fields before active execution. The global overview's ## State systems section records presence only; never use it as a substitute for stream anchors.
Before creating or materially rewriting a target-project artifact, read the absolute state.md path injected by Essential. If unavailable, stop artifact writes and report the missing contract. Reading overview.md and offering streams are the explicit takeover exception to global bootstrap ordering: they may run first because they do not touch a target project's artifacts.
The selected stream's <state-root>/works/<work-id>/ state already exists in the state root, so resume it there. No bootstrap, anchor application, or disposable tree is involved: there is nothing to reconstruct. When its recorded Location names a different source checkout, switch the working directory to that checkout only for source work; continue every state lookup and write through the same centralized state_root. A stream's identity is the one recorded in that centralized state; never mint a replacement.
Bootstrap remains required only when a resume must create work memory that does not exist — the resolver with that exact work ID and --bootstrap. A directory that is already present needs neither, because it already carries its own work state.
L1. Enumerate every incomplete work stream. Resolve state_root and read each <state-root>/works/<work-id>/state.md directly; the continuable ones (phase planned or working) are the resume candidates; Blocked on: is a separate field that determines whether a next action is runnable, not a phase. This on-disk state is the authority, and it is the same set whichever worktree or workspace this session started in — no overview is required to resume.
L2. Additionally read the global <state-root>/overview.md for each stream's Location — the checkout its code is worked in, with kind, label/path, and revision. It is only an index: treat works/ as authoritative and reconcile any overview row against it. If works/ lists no continuable and no reviewing stream, stop and report that nothing is resumable; if the user named a specific stream, say which work directory would have to be present (<state-root>/works/<work-id>/).
L2b. Settle every reviewing stream before offering the next task. A reviewing stream has finished executing and recorded its applicable submission. For coding work, check the recorded PR(s) with gh pr view <n> --json state,mergedAt; with no PR recorded, fall back to whether its changes are present on the default branch. For non-coding work, check for explicit acceptance naming the accepter, artifact, and revision, plus a promotion receipt listing every promoted durable path or evidenced not required. On applicable landing evidence, clear the submission-wait blocker, retain only an independently unresolved blocker with a concrete owner or durable carrier, set its phase to completed, reconcile its overview.md row, run essential:sync on the stream so a merge the PR monitor missed still reaches its external tasks and documents, and finish completion persistence in the order stream-completion.md owns — completion receipt, backlog triage, then retrospective — then use the graphical or structured user-input tool to ask whether to remove that stream's source tree from disk — routing any removal to coding:cleanup, which owns worktree inventory and per-target approval. Never run git worktree remove here, and never treat a merged branch alone as authorization to delete. A stream with no applicable landing evidence yet stays reviewing and is reported as such. Only then continue to L3.
L3. Offer the continuable streams through the graphical or structured user-input tool, grouped by the checkout each is worked in and defaulting to this one's streams; reviewing streams that L2b could not settle, plus completed streams, are not resumable, so exclude them and name them so the user sees why. Within each group, surface the unblocked streams first — those with a runnable next action and no decision still blocking it — as the recommended next work, and annotate a stream carrying Blocked on: with the decision it is waiting on so the user sees why it is not yet runnable. Because only one stream is worked at a time, take a single selection. If the chosen stream's Location is a different checkout, switch the working directory to that Git worktree or jj workspace root before continuing — the code is resumed from inside the checkout that owns it, even though the state is shared. Verify the selected stream's <state-root>/works/<work-id>/state.md exists and its on-disk phase is continuable, dropping any stale option.
L4. For each selected stream, follow complete-plan reads, then read its on-disk <state-root>/works/<work-id>/ state directly: state/working.md first when present, then state.md (including its ## Continuation section: current task, next owner, next action, and continuation intent), its linked detail files, decisions, and the materialized specification. Read goal.md's ## Specification provenance and verify all seven fields before active execution; a pending value remains a user question. For an external source, read spec/ only when its receipt matches the accepted base in goal.md; otherwise the main agent refreshes at the missing-or-mismatched evidence gate. From the state.md task table (and any state/*.md children), determine which tasks are runnable, which are blocked, the current owner, and the next action; there is no separate validation step. Treat repository and runtime evidence as authoritative over stale local memory. Before handing off, query the history and memory collections under local retrieval with the next action's terms, and read any archived stream, journal entry, or trap that bears on it. No anchor application, disposable tree, or bootstrap is needed — the work state is already present in the state root; the recorded Location affects only which source checkout is used for implementation.
L5. Verify each selected stream's source anchor against the current checkout before handing work off. Read the anchor from that stream's ## Continuation section and compare it with the checked-out revision. When they match, continue. When they diverge, do not check out a second revision inside a tree already holding other streams: report the exact revision the stream assumes and let the user bring this checkout to it or re-run takeover in a worktree at that anchor. When a stream records an approved patch or bundle under its artifacts/, name it as the means to reach that revision, and apply it only with explicit user approval. --revalidate forces this comparison even when the anchor already appears to match. An anchor mismatch stops that stream only — other selected streams continue.
L6. Reconcile a centralized work directory this session did not write before taking main-agent ownership. A lease.json left by another owner is never inherited: treat it as stale and claim the stream through the explicit takeover lease verb below, journaling the returned payload. Reconcile the stream's row into <state-root>/overview.md with its current Location, and leave its recorded identity untouched. If the directory's structure is damaged or its state.md unparseable, stop that stream and recommend essential:doctor rather than repairing it inline.
L7. Resolve decisions that block a selected stream's next action with the graphical or structured user-input tool; prepare records from the decision template and follow the decision lifecycle. Then continue into the shared hand-off at step 11 — step 10's decision reconciliation is already done.
Before the first main-agent write to any selected stream, hold its on-disk lease with the idempotent state-lease ensure verb (Essential's lease.md): it acquires a free lease and renews one this session already holds; contended means a live foreign main agent owns the stream — stop and report it, never write; takeover_required means the lease expired under another owner — claim it only with the explicit takeover verb and journal the returned payload as a lease event. Takeover does not run the structural doctor; if resuming surfaces evidence of structural damage (a resolver failure, an unparseable state.md), stop that stream and recommend essential:doctor instead of repairing inline.
Resolve decisions that block a selected stream's next action using the graphical or structured user-input tool. Prepare records from the decision template and follow the decision lifecycle. Leave deferred questions explicit with owner/deadline. (Step L7 already did this; do not repeat it.)
Classify, then resume the stream's current runnable next action. Use the owning workflow's risk model; for coding, use the Coding workflow's semantic tiers. A Tier 0/1 bounded action goes directly to one implementing owner with the task-specific context from delegate.md: next action, staged specification, work ID/root, resolved decisions, contradictions, and original user context. Tier 2 keeps one implementation owner and adds its independent review boundary. Only Tier 3, multiple dependent milestones, or multiple implementers first route planning to the relevant lead role, which returns a coordinated team or structured multi-phase workflow with task detail for each piece. Execute through the stream's declared continuation intent and hand off once per runnable next action — the drive-to-completion loop in step 13 re-enters this step for each subsequent runnable action, and a completed action is never re-handed. Because publication is delegated downstream at completion (step 12), instruct the implementation owner to defer its own publication: it saves work locally but does not open or update pull requests itself. The main agent keeps each stream's lease; delegates receive read paths and return state-system reconciliation deltas, never the lease or state-write permission. Choose each skill by mapping that stream's capability-level continuation-intent descriptor to the relevant implementation skill. The descriptor comes from the ## Continuation section of the on-disk state.md. When it is absent (state written before this field existed), derive the intent from on-disk evidence — specification-led implementation when a materialized specification governs the next action, generic coding implementation otherwise — rather than hard-rejecting. Reject only a source-contradictory descriptor, and never silently fall back to a fixed skill name.
When a selected stream finishes executing — every required executable leaf done — meet the completion obligations before moving on. State is already durable, the state contract persists it continuously, so this step only promotes, publishes, and parks the stream for review:
docs/ when documentation is the durable form. Record the paths in the closure promotion receipt. When the stream produced no stable durable fact, record evidenced not required; never promote transient task state merely to manufacture a document.direction-review draft publishes by peeling that draft, so the executor's brief names the peel-off and drift-check sections of coding:directions/staged-delivery.md. Confirm the capability is available before routing; if it is unavailable, report the equivalent action and the exact saved change to publish. Record the resulting PRs. A non-coding stream produces no pull request and is named as skipped. A coding PR does not require a promoted document; any independently required durable promotion remains evidenced by its receipt.reviewing. Set the stream's phase to reviewing, record the applicable submission in state.md, and reconcile its overview.md row. Finishing the work is not the same as the work having landed: only coding merge/default-branch evidence or non-coding explicit acceptance plus a promotion receipt listing durable paths or evidenced not required makes a stream completed, and L2b is where a later run collects it. Non-coding work also enters reviewing; having nothing to merge does not bypass explicit acceptance or the promotion receipt.Drive each selected stream toward completion. After a stream's hand-off returns, re-read its on-disk state.md: if its required executable leaves are done, run step 12 for it; if runnable work remains, continue it. Once the stream reaches reviewing, re-surface the next unblocked stream — the one with a runnable next action and no blocking decision — as the recommended next work and continue from step 10 for it. Repeat until every selected stream reaches reviewing/completed or hits a genuine blocker the user must resolve. The loop stays user-gated — selection and consequential decisions remain the user's — and bounded: stop and report when no selected stream makes progress or an escalation is unresolved, rather than looping without advance. Do not start another stream here; offer it as a fresh run instead.
Return every created or materially rewritten path in generated_files, including durable promotion paths when any were required. Follow output-manifest.md for the manifest and writer-owned work-Markdown size obligations.
completed streams were excluded and named, and only the user-selected stream was resumed.reviewing stream was settled before the next task was offered: its applicable landing evidence was checked, a landed stream became completed with its overview.md row reconciled and its open backlog items triaged with the user, and any source-tree removal was offered to the user and routed to coding:cleanup rather than run here.<state-root>/works/, used overview.md only for each stream's Location, switched the working directory to the checkout owning the chosen stream, and continued from on-disk state without bootstrap, anchor application, or a disposable tree.takeover verb and its overview.md row reconciled to its current Location, with its recorded identity untouched.state.md is complete and links the main-agent-owned, current-focus-only state/working.md; each selected implementation skill received exact read paths and returned proposed state-system deltas without receiving the lease.not required; the state root stayed operational work memory.takeover verb and journaled.Prefix the unchanged implementation-skill reports with the workspace root, the selected source checkout, the selected streams and each one's centralized work directory, any divergent-anchor streams deferred to a re-run, the implementation skill and risk topology chosen per stream, any lead role and team/workflow used for a qualifying coordinated stream, contradictions, decisions, materialized spec paths, durable promotion paths or evidenced not required, the pull requests the executor opened per completed coding stream (URLs and single-PR-or-stack shape, with non-coding streams named as skipped), any claimed foreign leases, and generated_files. On rejection, name the invalid overview entry, stream, or source, and recommend essential:doctor when the on-disk state itself is damaged.
What SKILL.md sets; muted values are Claude Code's defaults
npx claudepluginhub alvis/.agents --plugin essential13 skills in this plugin
/autoresearchRun a metric-driven research loop: define a metric, evaluator, baseline, and target; evolve candidate solutions; score and adversarially verify them; then mutate survivors until the target, budget, or plateau ends the run. Use for measurable optimization of prompts, code, experiments, or creative variants; use deep-research for fact-finding./deep-researchConduct comprehensive multi-source research with AI-assisted analysis, adversarial claim verification, and explicit source synthesis. Use when investigating complex topics, comparing evidence, gathering current information, or producing a fact-finding report with citations and uncertainty notes. Do not use for metric-driven candidate optimization./discoverOther plugins' skills for the same job