AGENT SKILL

cast-handoff

Package the current work so the next session or a teammate can continue without reading this thread. Writes the decisions, the direction, what is verified, open questions and ordered next steps as a shared doc, pins the state, and optionally forks, spawns or hands the work to a session. Use before stopping, before a long pause, or when handing work over.

License 许可
MIT
最近更新
2026-11-14
Stars
★ 48
Forks
6

01 前言 Front Matter

name
cast-handoff
description
Package the current work so the next session or a teammate can continue without reading this thread. Writes the decisions, the direction, what is verified, open questions and ordered next steps as a shared doc, pins the state, and optionally forks, spawns or hands the work to a session. Use before stopping, before a long pause, or when handing work over.
argument-hint
[--to <agent> | fork | spawn | <session-id> | <member>]

03 SKILL.md 正文

Git holds what changed. Write what git does not: why it changed, where it is going, and what to do first. The reader was not here and will not read the transcript, so the doc must stand alone.

Write it

Cover, in this order and only when true:

  • Goal in one sentence, and the task or plan it belongs to.
  • Decisions made and the reason for each; alternatives rejected and why.
  • What is verified, how (the exact command or the screenshot), and what is not. Test commands with their results, so nothing is rerun.
  • Open questions and what would resolve them.
  • Next steps in order; the first one concrete enough to start cold.
  • Live panes with the attach command, feature flags, credentials, flaky areas.

Skip history and activity. If a section would be empty, leave it out.

File it

cast doc create "Handoff: <goal>" -t note -l handoff -c - <<'DOC'
…the doc…
DOC
cast state --status <done|blocked|dormant> - <<'STATE'
<what this session was working on, standing alone>
Next: <first step>, handoff in doc:<id>
STATE

Record any decision the doc names with cast decisions add "<title>" --reason "<why>" so it is searchable outside the doc. If the work is bound to a task, cast task comment <id> with the doc id.

Hand it on

  • Another agent or model: cast handoff --to codex (or --to claude --model opus, --to gemini, --model sonnet for the same agent). The server writes a brief of this session, composes the new session's first prompt from it with the read commands for this transcript, starts the session in this directory as an inbox card linked both ways, binds it to this session's task or plan, and pins this session's state as done. Add -m "<direction>" (or -m - for stdin) to steer it; --dry-run prints the prompt and starts nothing. End your turn after it: the new session continues the work.
  • fork: cast fork --tip "<the first next step, naming doc:<id>>" keeps the history and continues in the human's inbox.
  • spawn: cast spawn - with a self contained brief that opens with the doc id; the new session has none of this context.
  • A session id: cast send <id> the doc id and the first step, one message.
  • A member: cast own <session> <member> on this session, then cast send is not needed; the state pin tells them where it stands.
  • No argument: the doc and the pin are the handoff. Stop.

04 同仓库更多 Skills

codecast-sh
codecast-sh/codecast

something-else-entirely

A skill whose frontmatter name disagrees with its directory name.

★ 48
codecast-sh
codecast-sh/codecast

unknown-field

Carries a field that is in neither the spec's six nor Claude Code's list.

开发工程师
★ 48
codecast-sh
codecast-sh/codecast

remotion-best-practices

Best practices for Remotion - Video creation in React

前端开发图像与多媒体
★ 48
codecast-sh
codecast-sh/codecast

overlength

xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx

★ 48
codecast-sh
codecast-sh/codecast

no-frontmatter

暂无简介

★ 48
codecast-sh
codecast-sh/codecast

improve

Survey any codebase as a senior advisor and produce prioritized, self-contained implementation plans for OTHER models/agents to execute. Strictly read-only on source code — never implements, fixes, or refactors anything itself. Use when asked to audit a codebase, find improvement opportunities (bugs, security, performance, test coverage, tech debt, migrations, DX), suggest features or where to take the project next (roadmap, product direction), or generate handoff plans for another agent to implement.

开发工程师产品经理Skill与智能体开发
★ 48