agentleFS
OpenAgentsIncOpenAgentsInc/openagents/.agents/skills/session-handoff/SKILL.md

session-handoff

Skill469 starsChanged 6 days agoApache-2.0View on GitHub

Use when a long conversation hits ~4-6 context compactions, completes a major milestone, or needs to hand off cleanly to a fresh chat or another agent without losing state or repeating dead ends.

164 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ascii-diagram, research-fleet and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • SethGammonSkill

    ascii-diagram

    Generate perfectly aligned ASCII diagrams — architecture, flow, sequence, box-and-arrow. Uses a programmatic character-grid approach so alignment is guaranteed by math, not token prediction. Includes post-render verification.

    Also in 4 projects that use this

  • SethGammonSkill

    research-fleet

    Parallel research using Fleet wave mechanics. Spawns multiple scout agents, each investigating a different angle of the same question. Findings are compressed between waves. Produces a unified research brief from multiple independent perspectives.

    Also in 3 projects that use this

  • ferocknewSkill

    doc-reader

    当用户要求"读取 Word 文档"、"解析 DOCX 文件"、"将 Word 转换为 Markdown"、"提取文档内容"、"读取 docx"时,或者需要在 JavaScript/Node.js 环境中读取 Microsoft Word 文档(.docx)并转换为 Markdown、HTML 或纯文本格式时使用此 skill。

    Also in 3 projects that use this

  • vicoa-aiSkill

    live-preview

    Start a local app in the current user project, expose it through a tunnel, and return preview details in structured Markdown. Use when the user asks for a preview URL, public URL, shareable localhost, mobile/web preview, or tunnel setup.

    Also in 4 projects that use this

  • mcabreradevSkill

    bug-diagnosis

    Use when something is broken, failing or intermittent. Diagnose before fixing: a command that goes red on this bug first, then falsifiable hypotheses.

    Also in 4 projects that use this

  • botlearn-aiSkill

    doc-gen

    Also in 4 projects that use this

The file

We split this skill into the rules it gives an agent

1 rule. 0 are common, 1 is distinctive, and 0 are very specific to this project.

  • 0

    Common

    Most of the 140 edited versions we read keep these.

  • 1

    Distinctive

    This author's own choices. Worth a look.

  • 0

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Write and update a compact ledger in your scratch/artifact directory after every sprint:

    line 14

“Common” is measured: kept by at least 6 in 10 of the 140 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Compact Session Handoff Protocol

Long threads beyond 6–8 compactions burn time and tokens on post-compaction re-reads, stale edit_file targets, and forgotten invariants. Maintain a scratch ledger during /goal runs and emit this compact handoff at milestone boundaries.

During Long /goal Runs (Anti-Amnesia Ledger)

Write and update a compact ledger in your scratch/artifact directory after every sprint:

  • baseline: exact command, binary/commit SHA, and numeric metrics.
  • iterations: 1 row per sprint (change, commit/diff, verified metric delta, keep/revert).
  • ruled_out: approaches tried and rejected with exact reason (prevents post-compaction retries).
  • next: single next concrete experiment.

Fresh-Chat Handoff Template (<= 25 Lines)

### Handoff Summary
- **Goal:** <1 sentence + exact acceptance criteria>
- **Branch / Worktree:** `<branch>` @ `<short-sha>` (worktree `<path>` or cleaned up)
- **Shipped Commits (on origin/main):** `<sha1> <subject>`, `<sha2> <subject>`
- **Verified Checks (real outputs):** `<exact command>` -> `<pass count / metric>`
- **Remaining Work:**
  1. <concrete next item with exact file path & symbol>
  2. <remaining verification gate>
- **Pitfalls Not To Repeat:**
  - <dead end / trap already discovered>
- **Exact Next Command:** `<command to run first in fresh chat>`

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.