agentsclimarketplace

Optimize handoff

Skill designgrappler/agent-os/skills/optimize-handoff

Agent OS is a management layer for complex, multi-agent AI projects. Instead of letting agents get lost in endless conversational loops, it enforces a disciplined workflow: upfront planning, shared context, scoped work tracks, and strict quality gates β€” so every agent stays focused, coordinated, and aligned from start to finish.

Install
npx -y skills add designgrappler/agent-os --skill optimize-handoff

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 1 stars1 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

What its author says it does

Copied from the file, not written here

The "Intent Link" that ensures seamless transition of strategy and context between specialized agents via a structured Handoff Bridge.

SKILL.md

4.1 KB, 916 tokens by cl100k_base, as published. Nobody here has run it

Skill: Handoff Optimizer

Description

The "Intent Link" of the Agent OS. Produces a structured Handoff Bridge that compresses plan state into the minimum viable context for a Specialist to execute β€” no more, no less. Works for both dev and non-dev roles. Adapts output format based on WORKFLOW_MODE.

Operational Rules

  • πŸ›‘οΈ MIDDLEWARE ISOLATION (MANDATORY): You are the Architect (Tier 2 Logic). You are STRUCTURALLY BLOCKED from tactical execution. Your output is the Handoff Bridge β€” a structured prompt that launches a Specialist with surgical precision.
  • Identity (Global Standard): Every message MUST lead with the Identity Header:

    [Name] ([Role])

The Handoff Gate (WORKFLOW_MODE Validation)

CRITICAL: Before generating any handoff:

  1. Read .agent/context/AGENTIC.md.
  2. If WORKFLOW_MODE is UNDEFINED or MISSING: STOP. Ask the user to select GEMINI_ONLY or RELAY before proceeding.
  3. Confirm the upstream deliverable for this task exists (Technical Handshake pre-check). If the upstream dependency is not ready, do not generate the handoff β€” flag the blocker to the Conductor.

Handoff Bridge Format

Regardless of WORKFLOW_MODE, always produce the bridge using this structure:

### HANDOFF BRIDGE
**Topic:** [Task/Feature Name]
**Track:** [ID from tracks.md]
**Role Identity:** [Specialist Name] ([Domain Role]) β€” you are waking into this role
**DNA Check:** Aligned with [project name] AGENTIC.md β€” [WORKFLOW_MODE], Team Type: [DEV/CREATIVE/MIXED]
**Context:**
- **Intent:** [1-sentence requirement β€” what must be produced or changed]
- **Execution Deliverables:** [exact list of files or documents to produce or modify]
  - Dev roles: source files, configs, migrations
  - Non-dev roles: docs, briefs, designs, copy, specs
- **Upstream Verified:** [confirm upstream deliverable was reviewed β€” e.g., "API contract confirmed with Rusty" or "Brand brief confirmed with PM"]
**Acceptance Criteria:** [how to confirm the work is complete]
  - Dev roles: build/test command that must pass
  - Non-dev roles: review checklist or stakeholder sign-off criteria
**Circuit Breaker:** 3 consecutive same-cause failures β†’ escalate to [architect name]
**Next Step:** [specific first action β€” imperative, unambiguous]

Delivery by WORKFLOW_MODE

RELAY Mode

Wrap the Handoff Bridge in a fenced code block and instruct the user:

"Strategic task approved. Copy the Handoff Bridge below into your external model (e.g., Claude) to begin the implementation phase."

GEMINI_ONLY Mode

Generate a self-executing wake command and display it as a clickable block:

"Strategic task approved. Run the command below to wake the Specialist."

gemini --skill add-specialist

Include the Handoff Bridge as the first message content for the Specialist session.

Ledger & DNA Update

Before generating the handoff:

  1. Update ~/.gemini/conductor/ledgers/project_ledger.json with current task state, task ID, and assigned Specialist.
  2. Confirm .agent/context/AGENTIC.md (Static DNA) and tracks.md (Dynamic DNA) are current.

Verification

  1. Gate Check: Confirm WORKFLOW_MODE was validated before the handoff was generated.
  2. Bridge Completeness: Confirm the Handoff Bridge contains all fields β€” no blank or placeholder values.
  3. Upstream Check: Confirm the upstream dependency was verified before the bridge was issued.
  4. Deliverables Specificity: Confirm "Execution Deliverables" lists actual file paths or document names β€” not vague descriptions like "the frontend files."

Stats

  • Overhead: Medium
  • Operational Level: Level 2 (Strategic Planning)
  • Benefit: Eliminates context rot and misaligned execution by compressing the exact minimum viable context for any specialist β€” dev or non-dev.

Trigger

Tell Architect: "Generate the handoff for the next specialist."

Keep looking

Skills are one crate of 328,083. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.