obie/auto-handoff

★ 99⑂ 3

Claude Code plugin that writes a handoff document before an idle session's prompt cache goes cold

About obie/auto-handoff

obie/auto-handoff is an open-source project on GitHub, mainly written in TypeScript. Claude Code plugin that writes a handoff document before an idle session's prompt cache goes cold It currently holds 99 stars and 3 forks with 0 open issues, and was last pushed on an unknown date (repository created unknown).

Project Overview

AI Homed tracks it on the Today's Trending board, currently at rank #85 with 0 new stars today.

GitHub Repository Details

Repository obie/auto-handoff · default branch - · size 0 KB · watchers 0 · source: GitHub REST API and repository README

README

auto-handoff

A Claude Code plugin that writes a handoff document when you walk away from a session.

Claude Code keeps a session's context in a prompt cache that expires an hour after the last request. A turn sent inside that hour reads the conversation back at a fraction of the usual input price. Once the hour is up, the next turn pays full price to read everything again, and on a long session that is slow and expensive.

auto-handoff watches the gap. When a session has sat idle for 50 minutes it runs a handoff command while the cache is still warm, so the state of your work lands in a file that a fresh session can resume from.

Install

/plugin marketplace add obie/auto-handoff
/plugin install auto-handoff@auto-handoff

The plugin loads at the next session start.

It is built on the function hooks plugin API, which is early access and may change between Claude Code releases. Development and testing happened on Claude Code 2.1.289.

How it behaves

The bundled skill

The default command is /auto-handoff:handoff, a skill that ships with the plugin. You can run it by hand too.

It writes docs/handoffs/-.md, covering the goal, status, decisions, dead ends, files, verification commands, next steps and open questions. To do that it runs date and git status, then writes that one file. Nothing gets committed.

Nobody is there to answer a permission prompt when it runs, so the skill pre-approves those tools for itself through allowed-tools. It completes in the default permission mode.

Configuration

| Option | Default | Meaning | | --- | --- | --- | | minutes | 50 | Idle time before the command runs | | command | auto-handoff:handoff | Slash command to run, without the slash |

Set them with /plugin configure auto-handoff inside Claude Code, or from a shell:

echo '{"command": "my-plugin:my-handoff"}' | claude plugin configure auto-handoff@auto-handoff --values-stdin

A command of your own has to get through an unattended run. Give it allowed-tools for whatever it calls, or run your sessions in a permission mode that lets it write.

Limits

Development

git clone https://github.com/obie/auto-handoff ~/projects/auto-handoff
ln -s ~/projects/auto-handoff ~/.claude/skills/auto-handoff

Claude Code loads the linked folder as auto-handoff@skills-dir at the next session start and reloads the hooks module when you save a file.

claude plugin validate .
claude plugin test .

The pieces:

License

MIT

GitHub Stars & Activity

99Stars
3Forks
0Open issues
TypeScriptLanguage

GitHub Popularity

GitHub stars99
Forks3
Open issues0
Primary languageTypeScript
License-
Stars gained today0
Created-
Last pushed-

Trending History

Daily boardrank #85 · ▲ 0 stars

Related AI Projects

1

deepseek-ai / deepseek-harness

TypeScript★ 245,133⑂ 0
→
2

n8n-io / n8n

TypeScript★ 206,820⑂ 0
→
3

firecrawl / firecrawl

TypeScript★ 189,447⑂ 0
→
4

langgenius / dify

TypeScript★ 158,032⑂ 0
→
5

anthropics / claude-code

TypeScript★ 149,748⑂ 25,718▲ 161 stars
→
6

thedotmack / claude-mem

TypeScript★ 97,602⑂ 8,594▲ 578 stars
→
7

twentyhq / twenty

TypeScript★ 58,039⑂ 9,468▲ 74 stars
→
8

garrytan / gbrain

TypeScript★ 30,646⑂ 4,596▲ 40 stars
→

More AI Rankings