Skip to content
Documentation
Hook

Hooks

What fluencyloop runs automatically, and when. A hook is a command Claude Code fires at a fixed moment, without you asking for it.

From plugin
fluencyloop
476 skills1 hook

Claude Code

> /plugin marketplace add baokhang83/fluencyloop
> /plugin install fluencyloop@fluencyloop

What fires, and when

SessionStart

Fires once when a session begins, and again after a context compaction. It is where a plugin sets up its environment, or restores state the compaction dropped.

  • Matchesstartupplugin_root="${PLUGIN_ROOT:-${CLAUDE_PLUGIN_ROOT:-}}"; if [ -n "$plugin_root" ]; then hook="$plugin_root/hooks/refresh-marketplace.sh"; if [ ! -f "$hook" ] && [ -n "${PLUGIN_ROOT:-}" ]; then case "$plugin_root" in */plugins/cache/*/*/*) for candidate in "${plugin_root%/*}"/*/hooks/refresh-marketplac
Read hooks/hooks.json

Where it lives

  • hooks/refresh-marketplace.ps1GitHub
    Read the script
    # Root-level entry point for Claude Code. The marketplace entry for this plugin declares
    # `"source": "."`, so CLAUDE_PLUGIN_ROOT resolves to the repo root and Claude Code only ever
    # discovers hooks/refresh-marketplace.ps1 here - never under plugins/fluencyloop/, which is the
    # Codex bundle's own plugin root. Delegate to that bundle's implementation so there is exactly
    # one copy of the refresh logic to maintain; this file's only job is to exist at the path
    # Claude Code looks for.
    
    Set-StrictMode -Version Latest
    $ErrorActionPreference = 'Stop'
    
    $canonical = Join-Path $PSScriptRoot '..\plugins\fluencyloop\hooks\refresh-marketplace.ps1'
    if (Test-Path -LiteralPath $canonical -PathType Leaf) {
        & $canonical
    }
    exit 0
    
  • hooks/refresh-marketplace.shGitHub
    Read the script
    #!/usr/bin/env bash
    # Root-level entry point for Claude Code. The marketplace entry for this plugin declares
    # `"source": "."`, so CLAUDE_PLUGIN_ROOT resolves to the repo root and Claude Code only ever
    # discovers hooks/hooks.json here — never under plugins/fluencyloop/, which is the Codex bundle's
    # own plugin root. Delegate to that bundle's implementation so there is exactly one copy of the
    # refresh logic to maintain; this file's only job is to exist at the path Claude Code looks for.
    set -euo pipefail
    
    here="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
    canonical="$here/../plugins/fluencyloop/hooks/refresh-marketplace.sh"
    
    if [ -f "$canonical" ]; then
        exec bash "$canonical" "$@"
    fi
    exit 0
    

Read the script before you install anything that runs on your machine. This is the one part of a plugin that acts without being asked.

@baokhang83
Ships withfluencyloop

:star: AI-assisted development workflow that produces understanding alongside code. Teach, capture decisions, document, assemble reviews.

Stars on GitHub

Momentum

stars in total
47
Star history of baokhang83/fluencyloop on GitHub, a chart by star-history.com

More plugins that ship hooks.

claude-code-mastery

claude-code-mastery

Gives you a guide to setting up Claude Code, covering global instructions, MCP servers, custom commands, hooks and skills, plus tools for generating commit messages and auditing code for security issues. This version is marked obsolete, with a newer starter kit recommended instead.

2 skills+2558
@thedecipherist@thedecipherist
Install Plugin
claudeforge

claudeforge

Automatically creates, enhances and maintains CLAUDE.md files for Claude Code projects, so you don't have to write and update them by hand.

3 hooks+1434
@alirezarezvani@alirezarezvani
Install Plugin
scaccogatto-okf

scaccogatto-okf

Gives your coding agent skills to author, maintain, validate and visualize Open Knowledge Format bundles, portable markdown knowledge that both your team and your agents can read. Includes a backfill skill for building a bundle from an existing repository's git history and session transcripts.

4 skills+3430
@scaccogatto@scaccogatto
Install Plugin
reviewable-html-workbench

reviewable-html-workbe…

Turns design docs and plan drafts into HTML pages you can comment on inline. Fires when you ask to review a design, preview a plan, or render visual output.

3 skills1 hook302
@u-ichi@u-ichi
Install Plugin
filetree

filetree

A Claude Code plugin that maintains FILETREE.md, a one-line description per file with content hashes for staleness detection. Lets the LLM grasp repo layout in a few hundred tokens before touching code.

1 skill+2164
@nekocode@nekocode
Install Plugin
d2

d2

A Claude Code plugin that reads your codebase and draws its infrastructure and architecture with D2, then keeps those diagrams in step with the code as it changes. Command: /d2:diagram.

1 skill+218
@heathdutton@heathdutton
Install Plugin
trigger-tree

trigger-tree

Shows which docs your AI agent actually discovers, using local telemetry with no token cost. Includes a CI gate that fails a pull request with the affected file and a suggested fix.

1 skill4 hooks16
@hedde@hedde
Install Plugin

Questions about the hooks in fluencyloop.

Which coding agents can use the hooks in fluencyloop?
The hooks in fluencyloop install in Claude Code and Cursor: each runs Claude Code hooks from .claude/settings.json, so copy the hooks there.