worktree-hints

by Pradeep Kumar Balakrishnan · ★ 0 · updated today

Promptvalidates

0

In a worktree session, tells Claude up front which commands the worktree guard refuses (heredoc and inline-script edits, multi-line scripts, cd to computed paths), so it uses Edit and plain commands instead of retrying.

install worktree-hints

Install

/plugin marketplace add pradyb/claude-mods
/plugin install worktree-hints@pradyb-mods

Then run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.

View source on GitHub

What it hooks into

From an automated scan with claude plugin validate, not a security review. Mods run with your permissions; read the code before installing.

Events
prompt.compose
API calls
$.session.repo$.session.root
Reach
level 0 of 3

Origin

How it got here
Automated scan of public GitHub repos, via the CC0 dataset awesome-claude-code-mods (scan of ).
Repository
github.com/pradyb/claude-mods
Path in repo
worktree-hints
Source commit
c68221a the exact code the scan read
Author
Pradeep Kumar Balakrishnan @pradyb
License
MIT
First published
Last pushed
First listed here

Name and description come from the mod's own manifest. We link to the code; we don't host it, and it stays under its author's license.

More from pradyb/claude-mods

focus-panel

pradyb/claude-mods

After each response, a panel above the prompt with what needs you, errors, the next action (with its task id), open to-dos and heads-ups.

★ 0BandsGuardsPrompt

handover

pradyb/claude-mods

/handover writes a handover note from the conversation (served from the prompt cache), saves it under ~/.claude/projects/ /handovers/ .md, clears the session and continues from the note in a fresh context. Suggests it when context passes a threshold.

★ 0ToastsCommandsPrompt

notify-router

pradyb/claude-mods

Rules for Claude Code alerts: when one is worth sending (done, blocked, error, usage limits) and where it goes (chime, macOS notification, ntfy, Slack, Discord or a JSON webhook).

★ 0GuardsPromptAudio

read-budget

pradyb/claude-mods

Stops Claude from re-reading the same large, unchanged file in full again and again in one session: past a limit it is pointed to Grep or a ranged Read instead.

★ 0GuardsAutomation

safety-guard

pradyb/claude-mods

Blocks destructive shell commands and access to secret files (.env, SSH keys, cloud credentials).

★ 0ToastsGuards

secret-scrub

pradyb/claude-mods

Catches API keys, tokens and private keys in the prompt you are about to send, and masks or blocks them before they reach the model.

★ 0ToastsPrompt

status-bar

pradyb/claude-mods

A status bar above the prompt with folder, git branch and state, 5-hour and 7-day usage bars, context with tokens, prompt-cache countdown, cost, session time, turns and clock. Desktop app only; the CLI keeps its own status line.

★ 0BandsPrompt