rynhardt81/forgeFlow/tree/main/mods/forge-band
forge-band
프롬프트 캐시 카운트다운, 설치된 버전, 다음 ready task, registry drift와 /reflect, /create-pr, /run-epic 원터치 버튼을 프롬프트 위에 테두리 상태 밴드로 표시하는 Claude Code function hooks 플러그인 mod입니다.
이 mod 소개
forge-band는 Claude Code mod이자 function hooks 플러그인(Claude Code v2.1.287+)으로, 프롬프트 위에 테두리 상태 밴드를 그립니다. 밴드에는 cache 카운트다운(만료까지 남은 예상 분, 녹색 >15m, 노란색 ≤15m, 빨간색 ≤5m), forge version에서 가져온 설치된 Forge Flow 버전, forge task ls --ready --json의 첫 번째 ready task, consistency-banner.py --json의 drift 수가 표시됩니다. 버튼은 /reflect status|resume|handoff를 실행하고, 브랜치에 open PR이 있으면 /create-pr review <PR#>를 실행하며, /run-epic <epic of next task>도 실행합니다(10s 안에 한 번 더 눌러 확인해야 함). 해당 스킬이 설치되지 않은 버튼은 숨깁니다. 밴드의 refresh는 파일만 읽고 절대 쓰지 않습니다. ~/.claude/settings.json의 CLAUDE_CODE_PLUGIN_DIRS로 불러오면 모든 세션에서 사용하고, claude --plugin-dir .claude/mods/forge-band로 한 세션에서만 실행할 수 있습니다. claude plugin validate로 검증하고 `claude plugin test로 테스트합니다.
설치
먼저 작성자의 README에서 marketplace와 플러그인 이름을 확인하세요. 저장소 구조에 따라 명령어가 달라질 수 있습니다.
claude plugin marketplace add rynhardt81/forgeFlow claude plugin install forge-band
원문 / README
forge-band
A Claude Code mod (a plugin of function hooks, Claude Code v2.1.287+) that draws a bordered band above the prompt:
╭──────────────────────────────────────────────────────────────────────────────────────────╮
│ ◆ forge v4.8.0 ● 42m cache · 180k ctx ▸ T313 · E16 · 7 ready ✓ in sync [Status] [Resume] [Handoff] [Review PR #89] [Run E16] × │
╰──────────────────────────────────────────────────────────────────────────────────────────╯
- Cache — minutes left before the prompt cache lapses, counted 60 minutes from the last main-thread reply (an estimate: the mod cannot read the real TTL, which drops to 5 minutes under usage overage). Green > 15m, yellow ≤ 15m, red ≤ 5m; one toast at 5m.
- Version — installed Forge Flow version from
forge version(hidden on pre-4.2 installs that have noVERSIONfile). - Next task — first entry of
forge task ls --ready --json. - Drift — finding count from
consistency-banner.py --json(check only, no--fix). - Buttons —
/reflect status|resume|handoff,/create-pr review <PR#>(only whengh pr viewfinds an open PR for the current branch) and/run-epic <epic of next task>. Run needs a second press within 10s. A button whose skill is not installed is hidden. /forge-bandprints the same line as text;/forge-band showunhides the band.
The band's own refresh only reads: it never writes a file or task state. Its buttons are
different — a press runs that skill, and /run-epic or /reflect handoff can change files,
task state and git history, which is why Run needs a confirming second press.
Python settings hooks stay the floor: mods can be switched off
(disableAllHooks, --safe-mode, an organisation's allowManagedModsOnly).
Load
Refresh copies this folder to <project>/.claude/mods/forge-band/; in the framework repo
it lives at mods/forge-band/. Claude Code does not load it on its own.
Every session — add the folder to the env block of ~/.claude/settings.json
(a project's settings are not read for this), then restart Claude:
"env": { "CLAUDE_CODE_PLUGIN_DIRS": "/absolute/path/to/forge-band" }
The path must be absolute (~ allowed); separate several with :. One copy serves
every project: the band finds Forge Flow under .claude/ or at the repo root, and outside
a Forge Flow project it shows the cache alone.
One session only — the flag lasts until you exit:
claude --plugin-dir .claude/mods/forge-band # mods/forge-band in the framework repo
Develop
claude plugin validate mods/forge-band
cd mods/forge-band && claude plugin test
