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.
Run automatically on Claude Code events. Claude doesn't decide.
2 cautions to review before installing
A hook runs when Claude uses the Bash tool
A hook runs when Claude writes or edits files
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.
Legacy fallback. Claude Code 2.1.295 and later reports status to Fut natively over OSC 7501 and needs no plugin. This plugin remains for older Claude Code versions. It does not help inside tmux, which drops OSC 7501 and runs outside the Fut terminal's process tree.
This first-party Claude Code plugin reports lifecycle state for the Claude Code session running in a Fut terminal. It has no commands, skills, agents, or MCP servers. It never changes Claude Code decisions or controls prompts, tools, permissions, terminal layout, output, or worktrees.
Add Fut's GitHub repository as a marketplace, then install the lifecycle plugin:
claude plugin marketplace add mikker/fut
claude plugin install fut@fut-integrations
For development from a local Fut checkout, load the plugin directly instead:
claude --plugin-dir "$PWD/integrations/claude-code"
Inside Claude Code, /hooks shows the handlers with source Plugin. During
plugin development, /reload-plugins reloads them. Claude Code documents
--plugin-dir as its supported local plugin testing mechanism in
Create plugins.
The adapter is inert unless both FUT_SOCKET and FUT_TERMINAL_ID are present,
as they are for a process spawned inside Fut. The fut binary must be on
PATH, and the installed Fut must provide:
fut agent report STATE --source SOURCE \
[--agent-session-id ID] [--turn-id ID]
The daemon validates the inherited terminal ID against the reporting process
tree. Integrations omit --terminal-id; that option is reserved for external
controllers intentionally reporting for another terminal.
Every handler has a two-second Claude Code timeout, suppresses Fut output, and returns success when Fut is absent or rejects a report. Reporting cannot block or alter Claude Code behavior.
The adapter consumes only documented command-hook JSON and sends the documented
session_id as --agent-session-id. Claude Code does not expose a turn ID in
the common hook input, so the adapter does not invent one.
| Fut state | Authoritative Claude Code evidence |
|---|---|
idle | SessionStart for startup, resume, clear, or fork |
working | UserPromptSubmit; PostToolUse; PostToolUseFailure; PermissionDenied; ElicitationResult |
blocked | Notification with permission_prompt, elicitation_dialog, or agent_needs_input; StopFailure |
completed | Stop; Notification with idle_prompt |
exited | SessionEnd |
These events and inputs come from the official
Hooks reference: UserPromptSubmit
runs before Claude processes a prompt, Stop runs when the main agent finishes
responding, StopFailure replaces it for API failures, and notification types
identify permission, elicitation, input, and idle waits. Plugin hook placement,
${CLAUDE_PLUGIN_ROOT}, exec-form arguments, and handler timeouts follow the
same reference.
Stop does not fire for a user interrupt. idle_prompt, when Claude emits
it, settles that case; otherwise the next prompt or session event corrects
the state.agent_needs_input describes background sessions only while agent view is
open. It is still native evidence that the Claude activity in that terminal
is waiting for input./hooks or the
plugin manager's Errors view to verify loading.python3 integrations/claude-code/tests/test_adapter.py
claude plugin validate integrations/claude-code
The first command needs only Python's standard library. The second uses Claude Code's official plugin schema validator.
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.
Plugins from other owners that cover similar ground