Drops the shell count and the agents shortcut hint from the prompt footer

A Claude Code mod (function hooks) that drops low-value parts from the footer line under the prompt (PromptHint).
· and the following parts are removed:N shell / N shells: the background-jobs-band mod already shows the same information above the prompt.← for agents: a reminder of a key binding. The ← key itself still works.2 shells running elsewhere is kept.auto mode on is drawn by a separate component and is not affected.claude plugin validate claude/mods/prompt-hint-trim
claude plugin test claude/mods/prompt-hint-trim
MIT
hooks/register.ts 17 lines1import type { Register } from 'claude-code'
2
3const HIDDEN_PARTS = [/^\d+ shells?$/, /^← for agents$/]
4
5const trim = (hint: string) =>
6 hint
7 .split(' · ')
8 .filter(part => !HIDDEN_PARTS.some(pattern => pattern.test(part)))
9 .join(' · ')
10
11export const register: Register = on => {
12 on('ui.render', { component: 'PromptHint' }, ($, e, next) => {
13 const hint = trim(e.props.hint)
14 return hint === e.props.hint ? next(e) : next({ ...e, props: { ...e.props, hint } })
15 })
16}
17