task-banner
FreeRuns bundled scriptsNot checkedSet up (or toggle) a macOS desktop banner that appears whenever Claude Code finishes a task, showing a one-line summary of what was done. Use when the user…
by OpenClaudia★ 754 GitHub starsAbout this skill
task-banner
Show a large, always-on-top desktop banner when Claude Code finishes a turn — with a one-line summary of what was actually completed. Works even when macOS Notification Center silently drops osascript display notification calls (a common problem: the CLI has no Notification Center registration, so the command exits 0 but nothing shows).
The banner is a borderless Cocoa overlay window drawn by mac-overlay.js (a JXA script adapted from peon-ping), so no notification permissions are needed.
Requirements
- macOS (the overlay uses Cocoa via JXA /
osascript -l JavaScript) - Claude Code with hooks support
Setup
Copy
mac-overlay.jsfrom this skill directory to~/.claude/scripts/mac-overlay.js.Merge a
Stophook into~/.claude/settings.json(read the file first and preserve existing hooks):
{
"hooks": {
"Stop": [
{
"matcher": "",
"hooks": [
{
"type": "command",
"command": "m=$(cat /tmp/claude-banner-msg 2>/dev/null); rm -f /tmp/claude-banner-msg; [ -f ~/.claude/banner.off ] || osascript -l JavaScript ~/.claude/scripts/mac-overlay.js \"${m:-Task done}\" blue \"\" 0 4 2>/dev/null || true",
"async": true
}
]
}
]
}
}
- To make the banner show what was finished (instead of the generic "Task done"), add this to your global agent instructions file (
~/.claude/CLAUDE.mdorAGENTS.md):
After finishing each task, write a short summary of what was completed to
/tmp/claude-banner-msg(e.g.printf 'Typecheck fixed and committed' > /tmp/claude-banner-msg). Identify the actual task; never use a generic "task done".
The Stop hook displays the message and deletes the file. If the file is absent, it falls back to "Task done".
Toggle (mute / unmute)
The hook checks a sentinel file — no config editing needed:
touch ~/.claude/banner.off # mute the banner
rm -f ~/.claude/banner.off # unmute
When the user asks to mute/unmute the banner, run the matching command and report the resulting state.
How it works / notes
mac-overlay.js <message> <color> <icon> <slot> <dismiss_seconds>— color isblue/yellow/red, dismiss0means persistent-until-click.- The hook consumes
/tmp/claude-banner-msgeven while muted, so no stale summary pops up later when unmuted. - On recent macOS the JXA bridge constant
NSTextAlignmentCenterevaluates to the legacy AppKit value (2), which the unified runtime treats as right-aligned — the bundled script hardcodes alignment1(center) to compensate. /tmp/claude-banner-msgis shared across parallel Claude sessions; if two finish in the same instant one banner may show the other's summary. Use a per-session file path if that ever matters.
Install task-banner in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
FAQ
What does the task-banner skill do?
Set up (or toggle) a macOS desktop banner that appears whenever Claude Code finishes a task, showing a one-line summary of what was done. Use when the user says "notify me when Claude is done", "desktop notification on completion", "set up the task banner", "mute the banner", or "unmute the banner".
How do I install the task-banner skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the task-banner skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
by Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
by Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
by Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
by Anthropic