Available in
Marketplaces, most starred first
Tags
Add to README
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Marketplaces, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
By willseltzerv1.0.0MITIn 1 marketplace
Writes a HANDOFF.md capturing the goal, progress, failed approaches and resume steps so another AI coding agent can pick up the task. Resume checks whether the repo has drifted since the handoff was written, then continues from it.
Trending plugins
7-day copy clicks
You run one by typing its /name in Claude Code.
No risk signals detected
Nothing flagged in this plugin's hooks, MCP servers or commands. Other components are not analyzed.
Static checks of hooks, mods, MCP servers and commands. Not a security audit.
1 marketplace, most starred first
Shows its components, always-on context cost and install status, kept current. Add ?tokens=0 to hide the cost.
Create handoff documents that let any AI coding agent continue your work.
Run these commands inside Claude Code:
/plugin marketplace add willseltzer/claude-handoff
/plugin install handoff
AI sessions have limited context. When you switch tools, take a break, or hit a context limit, the next agent starts from scratch. Handoffs solve this by capturing:
| Command | Description |
|---|---|
/handoff:create | Full handoff with complete context |
/handoff:quick | Minimal handoff - just the essentials |
/handoff:resume | Continue from an existing handoff |
When you're done (or switching agents):
/handoff:create
This generates HANDOFF.md with:
For simple tasks:
/handoff:quick
In a new session (Claude Code or any AI):
/handoff:resume
The agent will:
Just tell them:
"Read HANDOFF.md and continue the work"
The format is agent-agnostic.
# Handoff: [Task Title]
**Generated**: 2024-01-15 14:30
**Branch**: feature/auth
**Status**: In Progress
## Goal
Add user authentication with OAuth2.
## Completed
- [x] Set up OAuth2 provider config
- [x] Created login endpoint
## Not Yet Done
- [ ] Add token refresh logic
- [ ] Handle logout
## Failed Approaches (Don't Repeat These)
Tried passport.js first - it conflicted with our Express middleware.
`req.user` was always undefined because passport's session middleware
ran after our custom auth check. Switched to oauth4webapi which works
directly with fetch and doesn't touch Express.
## Key Decisions
| Decision | Rationale |
|----------|-----------|
| oauth4webapi over passport | Lighter weight, no middleware conflicts |
| Store refresh token in httpOnly cookie | More secure than localStorage |
## Current State
**Working**: Login flow returns valid tokens
**Broken**: Refresh endpoint returns 500 - `TokenExpiredError` at refresh.ts:42
## Code Context
// Hook signature - src/hooks/useAuth.ts
function useAuth(): {
user: User | null;
login: (email: string, password: string) => Promise<void>;
logout: () => void;
isLoading: boolean;
}
// POST /api/auth/login response
{ "accessToken": "eyJ...", "expiresIn": 3600 }
// Refresh token set as httpOnly cookie, not in response body
## Resume Instructions
1. Fix refresh endpoint: the JWT verify call at `refresh.ts:42` uses wrong secret
- Expected: Returns new access token
- Current: Throws TokenExpiredError even for valid tokens
2. Add logout: clear the httpOnly cookie, POST /api/auth/logout
3. Test full flow:
- Login with [email protected] / testpass123
- Wait 5 seconds, trigger refresh (or manually call /api/auth/refresh)
- Expected: New token returned, no errors
## Setup Required
- `OAUTH_CLIENT_SECRET` env var must be set (see .env.example)
- Test user exists: [email protected] / testpass123
## Warnings
- OAuth provider sandbox resets daily at midnight UTC
- Don't use `localStorage` for tokens - we decided httpOnly cookies only
claude-handoff/
├── .claude-plugin/
│ └── plugin.json
├── commands/
│ ├── create.md # /handoff:create
│ ├── quick.md # /handoff:quick
│ └── resume.md # /handoff:resume
├── skills/
│ └── handoff/
│ └── SKILL.md # Auto-detection
└── README.md
Failed approaches are mandatory - This is the most valuable part. "Tried X, it didn't work because Y" saves hours.
Show code, don't describe - "Created a hook" is useless. Show the signature so the next agent knows how to use it.
Test steps need expected outcomes - Not "verify it works" but "POST to /api/X, expect 200 with { status: 'ok' }".
Include the actual error messages - "It threw an error" vs "TokenExpiredError at line 42" - huge difference.
Use /handoff:quick for simple tasks - Not everything needs 10 sections.
MIT
Built from public signals: copy clicks on this site, GitHub stars and activity, the README and the manifest. Not a security audit or an endorsement.
npx claudepluginhub willseltzer/claude-handoff --plugin handoffPlugins from other owners that cover similar ground