worktree-hints
by Pradeep Kumar Balakrishnan · ★ 0 · updated 6 days ago
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
/plugin marketplace add pradyb/claude-mods/plugin install worktree-hints@pradyb-modsThen run /reload-plugins or start a new session. Requires Claude Code 2.1.287+.
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 1 of 3 reads files
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
15efe5dthe 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
fireteam
pradyb/claude-mods
Military-shooter HUD theme for the desktop app: radar, operator card with ammo and fuel gauges, a subagent squad, tracers fired when you send a prompt, scorestreaks you call, kill feed, daily challenges, loadout with perks, weapon mastery and five colour packs, all earned from Claude's real tool calls
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.
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.
justice-league
pradyb/claude-mods
Dark hero-team theme: a night city with a caped flier, a cowled watcher, a lasso warrior and a scarlet runner on the left, an orbital station, a green ring-bearer, a half-machine hero and a sea king on the right; clicks, turn starts and turn ends each set off an animation
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).
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.
safety-guard
pradyb/claude-mods
Blocks destructive shell commands and access to secret files (.env, SSH keys, cloud credentials).
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.
snippets
pradyb/claude-mods
Text replacement for your prompts: type ;name and it is expanded to the saved text when you press Enter, before the model sees it. Add, list and remove snippets with /snip; they live in ~/.claude/snippets.json.
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.
turn-summary
pradyb/claude-mods
After each turn, a dim summary under the prompt: how long it took, how many tools were called and how many subagents (and background agents) were started. Stays until your next prompt.
Related mods
Other mods in Prompt, close to this one by stars.