handoff
Create a detailed HANDOFF CONTEXT summary for continuing work in a new Grok session.
Skill by mihazs
Install
Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.
npx agentmarket install skill/mihazs-handoff
Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.
Get the weekly diff
The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.
About
Use cases: agent-building
Reviews
Write a reviewNo reviews yet. Installed it? Reviews come from verified installers only. How reviews work
Permissions
What this skill can do and what it asks for, from its SKILL.md. Checked Oct 25, 2026.
- Tools
- No tools found
- Secrets
- None asked for
- Install scripts
- None found
Network hosts it talks to 1
codeload.github.com· found in install command
Files it touches
~/.claude/skills/handoff
What's inside
- Skill name
handoff- Description
- Create a detailed HANDOFF CONTEXT summary for continuing work in a new Grok session. Use when the user says /handoff, handoff, context too long, fresh session, compaction, or wants a paste-ready continuation prompt. Ported from oh-my-openagent /handoff.
- License
- MIT
- Instructions
- 189 lines in SKILL.md · view on GitHub
Files (1)
- SKILL.md
SKILL.md (first lines)
# Handoff Command
## Purpose
Use `/handoff` when:
- The current session context is getting too long and quality is degrading
- You want to start fresh while preserving essential context from this session
- The context window is approaching capacity
This creates a detailed context summary that can be used to continue work in a new session.
---
## PHASE 0: VALIDATE REQUEST
Before proceeding, confirm:
- [ ] There is meaningful work or context in this session to preserve
- [ ] The user wants to create a handoff summary (not just asking about it)
If the session is nearly empty or has no meaningful context, inform the user there is nothing substantial to hand off.
---
## PHASE 1: GATHER PROGRAMMATIC CONTEXT
Execute these tools to gather concrete data:
1. **Session history** — use this conversation (Grok has no `session_read`; rely on the thread plus any artifacts you wrote)
2. **Todos** — current `TodoWrite` list; optionally Read `.omg/todos/<sessionId>.json` if it exists
3. **oh-my-grok state** — Read when present:
- `.omg/boulder.json` and active `.omg/plans/*.md`
- `.omg/ralph-loop.local.md` (active Ralph / ultrawork loop)
4. **Git** (when the workspace is a repo):
```bash
git diff --stat HEAD~10..HEAD
git status --porcelain
```
5. **AGENTS.md** — Read at workspace root if it exists (constraints only)
Suggested order: todos → `.omg/` files → git → AGENTS.md.
Analyze the gathered outputs to understand:
- What the user asked for (exact wording)
- What work was completed
- What tasks remain incomplete (include todo state)
- What decisions were made
- What files were modified or discussed (git diff/stat + status)
- What patterns, constraints, or preferences were established
---
## PHASE 2: EXTRACT CONTEXT
Write the context summary from first person perspective ("I did...", "I told you...").
Focus on:
- Capabilities and behavior, not file-by-file implementation details
- What matters for continuing the work
- Avoiding excessive implementation details (variable names, storage keys, constants) unless critical
- **USER REQUESTS (AS-IS)** must be verbatim (do not paraphrase)
- **EXPLICIT CONSTRAINTS** must be verbatim only (do not invent)
Questions to consider when extracting:
- What did I just do or implement?
- What instructions did I already give which are still relevant?
- What files did I tell you are important or that I am working on?
- Did I provide a plan or spec that should be included?
- What did I already tell you that is important (libraries, patterns, constraints, preferences)?
- What important technical details did I discover (APIs, methods, patterns)?
- What caveats, limitations, or open questions did I find?
---
## PHASE 3: FORMAT OUTPUT
Generate a handoff summary using this exact format:
```
HANDOFF CONTEXT
===============
USER REQUESTS (AS-IS)
---------------------
- [Exact verbatim user requests - NOT paraphrased]
GOAL
----
[One sentence describing what should be done next]
WORK COMPLETED
--------------
- [First person bullet points of what was done]
- [Include specific file paths when relevant]
- [Note key implementation decisions]
CURRENT STATE
-------------
- [Current state of the codebase or task]
- [Build/test status if applicable]
- [Any environment or configuration state]
PENDING TASKS
-------------
- [Tasks that were planned but not completed]
- [Next logical steps to take]
- [Any blockers or issues encountered]
- [Include current todo state]
KEY FILES
---------
- [path/to/file1] - [brief role description]
- [path/to/file2] - [brief role description]
(Maximum 10 files, prioritized by importance)
- (Include files from git diff/stat and git status)From mihazs/oh-my-grok, MIT.
More from mihazs/oh-my-grok
- 0.542score
agent-skill-gate
mihazs
MANDATORY before code changes, debugging, planning, or multi-step implementation in ANY repository.
SkillCFreshness: C★ 11Claude Code +9 - 0.542score
ralph-loop
mihazs
Start a Ralph Loop — autonomous work-until-done via Stop-hook continuations.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
ast-grep
mihazs
Structural code search and rewrite via the bundled ast_grep MCP server.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
hashline-edit
mihazs
Hash-anchored StrReplace edits using LINE#ID tags from Read output.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
lsp
mihazs
Language Server Protocol tools via the bundled lsp MCP server — diagnostics, navigation, symbols, and rename.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
prometheus-plan
mihazs
Strategic planning mode (/plan): interview, gap analysis, write work plans under .omg/plans/, optional review, then /start-work to activate boulder execution.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
ulw-loop
mihazs
Start an ULTRAWORK loop — Ralph loop plus mandatory Oracle verification before exit.
SkillCFreshness: C★ 11Claude Code +9 - 0.537score
cancel-ralph
mihazs
Cancel an active Ralph or Ultrawork loop.
SkillCFreshness: C★ 11Claude Code +9 - 0.517score
finishing-a-development-branch
mihazs
Use when implementation is complete, all tests pass, and you need to decide how to integrate the work - guides completion of development work by presenting…
SkillCFreshness: C★ 11Claude Code +9 - 0.516score
requesting-code-review
mihazs
Use when completing tasks, implementing major features, or before merging to verify work meets requirements
SkillCFreshness: C★ 11Claude Code +9 - 0.516score
subagent-driven-development
mihazs
Use when executing implementation plans with independent tasks in the current session
SkillCFreshness: C★ 11Claude Code +9 - 0.516score
writing-plans
mihazs
Use when you have a spec or requirements for a multi-step task, before touching code
SkillCFreshness: C★ 11Claude Code +9
Signals
- Stars
- 11
- Forks
- 5
- Open issues
- 0
- Last commit (this folder)
- Jun 2, 2026 (4 months ago)
- Last release
- Jun 3, 2026 (4 months ago)
From GitHub (fetched Oct 24, 2026).
Details
- License
- MIT
- Repository
- github.com/mihazs/oh-my-grok
- Website
- github.com/mihazs/oh-my-grok
- First seen
- Oct 24, 2026
- Last checked
- Oct 24, 2026
- Source
- GitHubgithub-graphql
More from mihazs
- 0.542score
agent-skill-gate
mihazs
MANDATORY before code changes, debugging, planning, or multi-step implementation in ANY repository.
SkillCFreshness: C★ 11Claude Code +9 - 0.542score
ralph-loop
mihazs
Start a Ralph Loop — autonomous work-until-done via Stop-hook continuations.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
ast-grep
mihazs
Structural code search and rewrite via the bundled ast_grep MCP server.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
hashline-edit
mihazs
Hash-anchored StrReplace edits using LINE#ID tags from Read output.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
lsp
mihazs
Language Server Protocol tools via the bundled lsp MCP server — diagnostics, navigation, symbols, and rename.
SkillCFreshness: C★ 11Claude Code +9 - 0.539score
prometheus-plan
mihazs
Strategic planning mode (/plan): interview, gap analysis, write work plans under .omg/plans/, optional review, then /start-work to activate boulder execution.
SkillCFreshness: C★ 11Claude Code +9
Cite this page
handoff skill. Agent Mart. https://agentmart.dev/skills/mihazs-handoff (last updated 2026-10-24)