/essential:syncfrom essential
Write the outcome of finished work back to the external systems it came from: move each linked Linear, Jira, Notion, or other tracker task to its new status with any deviations, and update linked design documents to match what shipped. Use after a PR merges, at session end, or when asked to sync, update the ticket, or close the loop.
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.
Read when SKILL.md points to them.
Close the loop between delivered work and the external systems that described it. A PR or issue names its sources in fixed places: Context opens with the task it came from, Specification lists the governing spec first and then its ADRs and design documents, and Related lists everything else (coding:skills/pr/templates/message.md and coding:skills/issue/templates/body.md own those forms). Sync reads those links, works out what each external record should now say, and writes it through a connector the harness provides.
coding:pr sets; any governing specification, which essential:references/state-systems.md routes to its owning specification workflow (specification:sync-spec when installed); creating tasks or documents; reverting a task when a PR closes unmerged, which stays the user's decision.essential:references/state-systems.md. A subagent never runs it; the lease holder runs it when it reconciles the subagent's merge evidence.state.md, state/pr-monitor.md, and changes/) plus goal.md specification provenance;state.md or state/pr-monitor.md under <state-root>/works/ records the PR, it belongs to that work and step 1's lease check applies;--dry-run: plan, render, and report every write as planned without performing any, and write no receipt or journal line.Hold the lease. For each in-scope work, confirm this session holds its main-agent lease under essential:directions/lease.md before any external write. Report a work whose lease is held elsewhere as pending: lease and write nothing for it; its lease holder syncs it. A PR with no work stream syncs, and its receipt rows go in the final report instead of state/sync.md.
Collect references. For each delivery, read its current body and state through REST so the read also works where GitHub's GraphQL API is blocked: gh api repos/<owner>/<repo>/pulls/<n> --jq '{body,state,draft,merged_at,html_url}' or gh api repos/<owner>/<repo>/issues/<n> --jq '{body,state,html_url}'. Extract links from Context, Specification, Related, and an issue's Expected Behavior, recording the section each came from. Add the work's goal.md canonical specification. Deduplicate by URL; keep every delivery that cites each URL.
Classify each reference.
goal.md canonical specification — route to its specification workflow and record routed; never edit it here.skipped: not affected with the reason and bind no connector for it; otherwise step 6 decides after reading it. Never skip here a record whose kind is known only after reading it.Bind a connector per host under connectors.md. Queue every reference whose host has no connector that can read and write it; continue with the rest.
Plan task writes. For each source task, map the deliveries in scope to the tracker's own workflow, read live from the task:
For each cited task, read it and judge whether the merged deliveries finish it, advance it, or leave its status alone; plan a status change only when they do, and hold it for approval in step 9. Before completing any task, look for other open PRs that cite it — the PRs the tracker links when the connector shows them, and gh api -X GET search/issues -f q='"<task URL>" is:pr is:open' — and use the in-review state when any is found. Never move a task backwards or out of a completed or cancelled state. For every source and cited task with at least one merged delivery, draft its one sync comment from deviation-comment.md, sourcing deviations from each merged PR's Additional Notes, the work's changes/ departures, and plan revisions in state/revisions.md. Draft no comment while nothing has merged.
Plan document writes. For each external document, read it in full, record its revision or last-edited time, and compare each claim about behavior, interfaces, or decisions with the merged change. Decide whether it needs an update at all; record skipped: not affected with the reason when it does not. Draft section-level edits only where the document now contradicts what shipped; leave intent, history, and unaffected sections alone. Plan nothing for a document while no citing delivery has merged.
Check prior receipts. Read state/sync.md in each in-scope work and drop a planned write it already records as written or skipped: declined, where a row matches only when its Reference, Action (including any target status), and Delivery all match; retry the rest. Search each task's comments for its marker. An existing sync comment is edited, never duplicated: keep the deliveries, deviations, and follow-ups it already lists, add the new ones, and rewrite its outcome sentence so it still covers what every listed delivery made work. When the connector cannot edit comments, post a new comment only for a newly merged delivery, carrying the same marker.
Write tasks. Unless --dry-run, re-read each task, re-plan any whose status changed since step 5, then apply the source task's status change and post or edit each comment. Read the task back, confirm the comment kept its marker (switch to the template's plain marker when it did not), and append its receipt row before the next write. The source task's status and every comment go out without a preview because each reflects delivered work and is reversible.
Approve cited-task moves and document edits. Present them on one essential:discover board: per cited task, its current and proposed status with the delivered behavior that justifies the move and the open PRs step 5 found citing it; per document, a diff of current text against the proposed text and the shipped behavior that drives each change; each with an approve/change decision. Offer decline alongside approve for a cited-task move; record a declined move as skipped: declined, which step 7 honors in later runs. Before applying an approved move, re-read the task and rerun the open-PR search; when its status changed since the board, or the move completes the task and the search finds an open citing PR the board did not show, record pending: approval (task changed) and propose it again in the next run. Otherwise apply it, read it back, and append its receipt row. Before writing an approved edit, re-read the document; when its revision changed since step 6, record pending: approval (document changed) and plan it again in the next run instead of writing. Read each written document back and append its receipt row. A --dry-run renders the board, applies no decision, and continues to step 10.
Ask for missing connectors. Ask once, through the harness's question tool under essential:directions/questions.md, covering every queued host: what could not be synced, and how to install that system's connector. Offer: installed and retry now; leave pending for the next sync; update by hand. Retry only after the user reports the install.
Close the run. Unless --dry-run, append one sync journal line per work through state-write under the lease.
When no user is present to answer — a monitor wake, or a run between user turns — skip steps 9 and 10: record those items as pending: approval or pending: connector and present them at the user's next turn. A pending item never blocks the caller.
state/sync.md holds one table, newest last, with one row per run for each write — status, comment, or document edit — and for each in-scope reference with no planned write (skipped, routed, pending, or failed), so a later run can resume and skip finished writes:
| At | Reference | System | Delivery | Action | Result | Read-back |
| --- | --- | --- | --- | --- | --- | --- |
| 2026-11-11T12:30Z | [ENG-412](https://linear.app/acme/issue/ENG-412) | Linear | #412 | status → Done | written | Done |
| 2026-11-11T12:30Z | [ENG-412](https://linear.app/acme/issue/ENG-412) | Linear | #412 | comment | written | comment id 7f3c |
| 2026-11-11T12:31Z | [Retry design](https://www.notion.so/acme/Retry-design-1a2b3c) | Notion | #412 | 2 section edits | pending: approval | — |
Result is one of written, skipped: <reason>, routed: <owner>, pending: connector|approval|approval (document changed)|approval (task changed)|lease|user, or failed: <cause>; a --dry-run reports planned in place of a write's result and records no row.
failed, never written.--dry-run instead wrote nothing and reported each planned write as planned.Report, per reference: system, planned action, result, and read-back; then the pending items with what unblocks each, and the board path when one was rendered. Unless --dry-run, return state/sync.md and the journal in generated_files.
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./discoverAnswers every decision, explanation, and status question with an interactive board and discovers material unknowns before planning. Use for choosing between approaches, explaining anything, work status, blindspot passes, brainstorms, architecture and planning interviews, required pre-plan direction boards, reference semantics, disposable prototypes, readiness checks, finished-build accounts, or explaining recorded decisions or an ADR a change proposes./doctorDiagnose a structural issue observed while reading needed state files, including overview.md, or fulfill an explicit state diagnostic request. Check one affected stream by default; use the state-wide scope for an observed overview issue or explicit global investigation. Propose only repairs needed for the reading, with approval and an owning stream lease./handoffCreate or execute a context-complete cross-domain plan as an orchestrator. Use when another agent must continue without prior context, or when a multi-domain plan needs coordinated execution while this skill retains decision ownership. For coding-session persistence, use essential:handover./handoverPersist work stream state and update the global overview, both in the state root, so the session can pause and any later session resume from the files on disk. Use when pausing coding work; this skill records continuity and does not execute the work.Other plugins' skills for the same job