Skip to content

feat(agents): add claude plugin hooks, handoff workflow, and token-saver command#275

Open
8nevil8 wants to merge 2 commits intomainfrom
feat/claude-plugin-hooks-and-token-saver
Open

feat(agents): add claude plugin hooks, handoff workflow, and token-saver command#275
8nevil8 wants to merge 2 commits intomainfrom
feat/claude-plugin-hooks-and-token-saver

Conversation

@8nevil8
Copy link
Copy Markdown
Collaborator

@8nevil8 8nevil8 commented May 4, 2026

Summary

Adds new lifecycle hooks and scripts to the Claude plugin, introduces a handoff workflow for session continuity, replaces the RTK auto-wrapper with an improved rewrite script, and adds a codemie-token-saver slash command.

Changes

  • New hooks: bash-ban-raw-tools.sh, cbm-code-discovery-gate.sh, cbm-mcp-marker.sh, cbm-session-reminder.sh
  • Handoff workflow: handoff-precompact.sh and handoff-session-resume.sh for session state persistence
  • RTK: Replace rtk-auto-wrapper.sh with rtk-rewrite.sh (improved rewriting logic)
  • Command: Add codemie-token-saver.md slash command
  • Config: Update hooks.json, plugin.json registrations
  • Fix: Add docs/superpowers/plans/ to gitleaks allowlist to suppress false-positive JWT in docs

Impact

Claude plugin hooks now cover more lifecycle events and support session handoff/resume. RTK rewriting is more robust.

Checklist

  • Code follows project conventions
  • No secrets or unsafe logging introduced
  • Gitleaks false positive resolved

8nevil8 and others added 2 commits May 4, 2026 09:55
…ver command

- Add bash-ban-raw-tools, cbm-code-discovery-gate, cbm-mcp-marker, cbm-session-reminder hooks
- Add handoff-precompact and handoff-session-resume scripts for session continuity
- Replace rtk-auto-wrapper with rtk-rewrite for improved RTK integration
- Add codemie-token-saver slash command
- Update hooks.json and plugin.json registrations
- Fix gitleaks false positive for example JWT in docs

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
…file

Generated with AI

Co-Authored-By: codemie-ai <codemie.ai@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant