TabzChrome: Command for Claude Code

.claude/commands/ctthandoff.md

ctthandoff is a command for Claude Code from GGPrompts/TabzChrome. It costs 17 tokens per session (924 once invoked), scanned A, original, MIT.

A command that creates a concise summary of the current conversation for continuing work in another Claude Code session. It can copy the summary to the clipboard and, unless told to be quiet, play it through Tabz text-to-speech.

In plain words
What is it for?
Use it at the end of a coding session to prepare a practical handoff covering the task, current state, decisions, changes, context, and next actions.
Why use it?
It prevents important decisions, file changes, pending questions, and next steps from being lost when moving between sessions. The quiet option skips audio and only copies the summary.

Command for Claude Code

Written for Claude Code: $ARGUMENTS substitution. Also seen: mentions Claude Code.

This is GGPrompts/TabzChrome's own configuration. It tells Claude Code how to work on TabzChrome itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything TabzChrome configures →

Reuse

Borrowing it

Nothing to install: this file belongs to GGPrompts/TabzChrome. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/GGPrompts/TabzChrome/main/.claude/commands/ctthandoff.md
Clone the repo
git clone --depth 1 https://github.com/GGPrompts/TabzChrome

Made for: Claude Code.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ctthandoff

README.md
[![agentmods](https://agentmods.dev/badge/commands/ggprompts/tabzchrome/ctthandoff.svg)](https://agentmods.dev/commands/ggprompts/tabzchrome/ctthandoff)
Your own site
<a href="https://agentmods.dev/commands/ggprompts/tabzchrome/ctthandoff"><img src="https://agentmods.dev/badge/commands/ggprompts/tabzchrome/ctthandoff.svg" alt="Measured on agentmods" height="20"></a>
Per session 17 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 924 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00017 $0.00924
Opus 5 $0.00009 $0.00462
Sonnet 5 $0.00003 $0.00185
Haiku 4.5 $0.00002 $0.00092

Measured 7d ago against content hash 6bcf583b1ce0, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ctthandoff scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 7d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -s -X POST http://localhost:8129/api/audio/speak \
.claude/commands/ctthandoff.md · 120 lines

What it actually says

Arguments: $ARGUMENTS

  • If the user types /handoff quiet, skip audio playback and only copy to clipboard
  • If no arguments (empty), play audio after copying

Generate a concise handoff summary of our conversation that I can use to continue in a new Claude Code session.

Use this exact format:

## What we're working on
- [Primary task/topic]
- [Secondary items if applicable]

## Current state
- [Where we left off]
- [Any pending questions or decisions]

## Key decisions made
- [Important choices/conclusions from this conversation]

## Recent changes
- [Files modified, if any]
- [Commands run or actions taken]

## Important context
- [Facts, preferences, or constraints I mentioned]
- [Technical details that matter for continuing]

## Next steps
- [Immediate next action]
- [Follow-up tasks]

Requirements:

  • Be concise but complete - capture what's needed to continue without re-explaining
  • Focus on actionable state, not conversation history
  • Include file paths and technical specifics where relevant
  • Skip sections that don't apply (e.g., "Recent changes" if no files were modified)

After generating the summary, copy it to clipboard using this bash command:

# Detect environment and copy accordingly
if command -v clip.exe &> /dev/null; then
    # WSL with Windows clipboard
    cat <<'HANDOFF_EOF' | clip.exe
[INSERT THE GENERATED HANDOFF SUMMARY HERE]
HANDOFF_EOF
    echo "Handoff copied to clipboard (WSL/Windows)"
elif command -v xclip &> /dev/null; then
    # Linux with xclip
    cat <<'HANDOFF_EOF' | xclip -selection clipboard -i &>/dev/null &
[INSERT THE GENERATED HANDOFF SUMMARY HERE]
HANDOFF_EOF
    sleep 0.2
    echo "Handoff copied to clipboard (xclip)"
elif command -v xsel &> /dev/null; then
    # Linux with xsel
    cat <<'HANDOFF_EOF' | xsel --clipboard --input
[INSERT THE GENERATED HANDOFF SUMMARY HERE]
HANDOFF_EOF
    echo "Handoff copied to clipboard (xsel)"
elif command -v wl-copy &> /dev/null; then
    # Wayland
    cat <<'HANDOFF_EOF' | wl-copy
[INSERT THE GENERATED HANDOFF SUMMARY HERE]
HANDOFF_EOF
    echo "Handoff copied to clipboard (Wayland)"
else
    echo "No clipboard tool found. Manual copy required."
    echo ""
    cat <<'HANDOFF_EOF'
[INSERT THE GENERATED HANDOFF SUMMARY HERE]
HANDOFF_EOF
fi

Then display:

Handoff summary copied to clipboard!

To continue in a new session:
1. Start new Claude Code session: claude
2. Paste the handoff (Ctrl+V or Ctrl+Shift+V)
3. Add your next question/task after the handoff

Audio Playback via Tabz

Check $ARGUMENTS first:

  • If $ARGUMENTS contains "quiet" -> Skip audio entirely
  • If $ARGUMENTS is empty or doesn't contain "quiet" -> Play audio via Tabz TTS

When playing audio, use the Tabz backend TTS endpoint (plays through browser, not Windows):

curl -s -X POST http://localhost:8129/api/audio/speak \
  -H "Content-Type: application/json" \
  -d '{
    "text": "[INSERT PLAIN TEXT VERSION OF SUMMARY - no markdown, conversational]",
    "voice": "en-GB-SoniaNeural",
    "rate": "+20%",
    "volume": 0.8
  }' > /dev/null 2>&1 &

IMPORTANT:

  • Run the curl command in background (with &) so it doesn't block
  • Convert the summary to plain spoken text (no markdown formatting, bullet points become natural speech)
  • Keep it concise for audio - summarize the summary if needed (aim for 30-60 seconds of speech)

After triggering playback, tell the user: "Audio summary playing through Tabz!"

If quiet mode, just confirm: "Handoff copied to clipboard (audio skipped)"

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 7d ago First seen · 120 lines · 17 tokens per session scan A 6bcf583b1ce0

Subscribe to this mod's changes

ctthandoff is a command published in the GitHub repository GGPrompts/TabzChrome (146 stars, last pushed 14d ago), licensed MIT. It adds 17 tokens to every session and 924 once invoked, about $0.0001 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.