setup-refocus

setup-refocus is a command for Claude Code from kat3samsin/claude-code-plugins. It costs 13 tokens per session (117 once invoked), scanned A, original, MIT.

A command that configures clickable notifications to bring your attention back to the terminal when a task finishes. It supports iTerm2, Ghostty, and Terminal.app.

In plain words
What is it for?
Use it to set up terminal notifications, choose a notification sound, configure the completion hook, and send a test notification.
Why use it?
It reduces the need to keep checking a running task manually, especially during longer agent or build operations.

Command for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the refocus plugin — 1 skill, 1 command shipped together

Good fit Use it to set up terminal notifications, choose a notification sound, configure the completion hook, and send a test notification.

Compare 6 commands from other repositories ↓
Install with agentmods
npx agentmods add commands/kat3samsin/claude-code-plugins/setup-refocus
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Clone the repo
git clone --depth 1 https://github.com/kat3samsin/claude-code-plugins

Made for: Claude Code.

Or install refocus, the plugin that ships this one along with the rest of its 1 skill, 1 command.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for setup-refocus

README.md
[![agentmods](https://agentmods.dev/badge/commands/kat3samsin/claude-code-plugins/setup-refocus/github.svg)](https://agentmods.dev/commands/kat3samsin/claude-code-plugins/setup-refocus)
Your own site
<a href="https://agentmods.dev/commands/kat3samsin/claude-code-plugins/setup-refocus"><img src="https://agentmods.dev/badge/commands/kat3samsin/claude-code-plugins/setup-refocus/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for setup-refocus

Your own site · 80×15
<a href="https://agentmods.dev/commands/kat3samsin/claude-code-plugins/setup-refocus"><img src="https://agentmods.dev/badge/commands/kat3samsin/claude-code-plugins/setup-refocus.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 13 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 117 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00013 $0.00117
Opus 5.5 $0.00005 $0.00047
Sonnet 5.5 $0.00003 $0.00023
Haiku 4.5 $0.00001 $0.00012

Measured 2mo ago against content hash ba3621d3ecb9, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

setup-refocus scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

plugins/refocus/commands/setup-refocus.md · 19 lines

What it actually says

Base directory for this skill: {{plugin_dir}}/skills/setup-refocus

Run the setup script to configure Refocus:

bash "{{plugin_dir}}/skills/setup-refocus/setup-refocus.sh"

This will:

  1. Ask which terminal you use (iTerm2, Ghostty, or Terminal.app)
  2. Ask your preferred notification sound
  3. Create the notification handler script
  4. Configure the Stop hook in settings
  5. Send a test notification
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 19 lines · 13 tokens per session scan A ba3621d3ecb9

Subscribe to this mod's changes

setup-refocus is a command published in the GitHub repository kat3samsin/claude-code-plugins (2 stars, last pushed 8mo ago), licensed MIT. It adds 13 tokens to every session and 117 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

setup-refocus compared with commands from other repositories

setup-refocus next to 6 commands from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
setup-refocuskat3samsin/claude-code-pluginsCommand28mo agoMITA13Claude Code
wsdanielmiessler/LifeOSCommand20k2d agoMITA0Claude Code
cancel-ralphanthropics/claude-plugins-officialCommand46ktodayApache-2.0A4Claude Code
engage.actionshypnguyen1209/offensive-claudeCommand41416d agoMITA11Claude Code
focusData-Wise/claude-pluginsCommand72d agoMITA0Claude Code
stuckData-Wise/claude-pluginsCommand72d agoMITA0Claude Code
quickstartorq-ai/assistant-pluginsCommand63d agoMITA23Claude Code