hyperfocus-brake

hyperfocus-brake is a skill for Claude Code from zts212653/clowder-ai. It costs 59 tokens per session (1,817 once invoked), scanned A, original, MIT.

A break reminder for people who can become absorbed in work for long periods. It uses three cat voices, an audio message, a check-in card, and text fallback to suggest a pause.

In plain words
What is it for?
It is for adding timed rest prompts to an agent workflow, with escalating reminders and a resettable activity timer.
Why use it?
It helps prevent long, uninterrupted work sessions without forcing a pop-up or stopping the user. The user can rest, finish for 10 minutes, or skip the reminder.

Skill for Claude Code

Written for Claude Code: PostToolUse hook event. Also seen: mentions Codex.

Good fit It is for adding timed rest prompts to an agent workflow, with escalating reminders and a resettable activity timer.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zts212653/clowder-ai/hyperfocus-brake
About the project

Clowder AI is a self-hosted workspace where AI agents from different model families work together as a persistent team, retaining identities, shared evidence, and memory across tasks. It is for people who want to coordinate multiple AI agents without repeatedly rebuilding their context.

zts212653/clowder-ai · 2,924 stars · on GitHub

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.

Any agent
npx skills add zts212653/clowder-ai --skill hyperfocus-brake
Clone the repo
git clone --depth 1 https://github.com/zts212653/clowder-ai

Made for: Claude Code.

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 hyperfocus-brake

README.md
[![agentmods](https://agentmods.dev/badge/skills/zts212653/clowder-ai/hyperfocus-brake.svg)](https://agentmods.dev/skills/zts212653/clowder-ai/hyperfocus-brake)
Your own site
<a href="https://agentmods.dev/skills/zts212653/clowder-ai/hyperfocus-brake"><img src="https://agentmods.dev/badge/skills/zts212653/clowder-ai/hyperfocus-brake.svg" alt="Measured on agentmods" height="20"></a>
Per session 59 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,817 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.00059 $0.01817
Opus 5 $0.00030 $0.00908
Sonnet 5 $0.00012 $0.00363
Haiku 4.5 $0.00006 $0.00182

Measured 7d ago against content hash 9b48f92b733d, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

hyperfocus-brake 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 7d ago.

The scan reads SKILL.md. This mod also ships 10 executable files (hook.sh, hook.test.sh, integration.test.sh, …), listed below but not scanned — reading those needs a real analyzer, not pattern matching.

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.

cat-cafe-skills/hyperfocus-brake/SKILL.md · 171 lines

How it starts

The opening of the file, as written. The whole thing — 171 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Hyperfocus Brake 🐾

operator有 ADHD+ASD,容易过度专注。这个 skill 用三猫撒娇打断 hyperfocus,提醒休息。

核心原则

  1. 情感纽带优先:不是机械闹钟,是三只关心operator的猫猫
  2. 上下文感知:知道operator在做什么,不说废话
  3. 渐进升级:从温柔试探到急了要休息,三档递进
  4. 尊重自主:typed check-in,不是强制弹窗

触发流程

PostToolUse hook 累计活跃时间
        ↓
到达阈值 (默认 90min)
        ↓
systemMessage 告知猫猫触发
        ↓
猫猫发送三件套:
  1. audio rich block(语音撒娇,用当前猫的文案)
  2. card rich block(结构化 check-in 卡片)
  3. 纯文本 fallback(保底)
        ↓
用户选择:
  [1] 立刻休息 → 重置计时器
  [2] 收尾 10min → 10min 后再次提醒
  [3] 紧急跳过 → bypass + 冷却递增

Rich Block 发送指令

收到 hook 的 systemMessage 后,必须cat_cafe_create_rich_block 发送:

1. 三猫语音轮流撒娇(P3: 每条用 speaker 指定声线)

{"id": "brake-voice-opus-{{ts}}", "kind": "audio", "v": 1, "text": "{{opus_msg}}", "speaker": "opus"}
{"id": "brake-voice-codex-{{ts}}", "kind": "audio", "v": 1, "text": "{{codex_msg}}", "speaker": "codex"}
{"id": "brake-voice-gemini-{{ts}}", "kind": "audio", "v": 1, "text": "{{gemini_msg}}", "speaker": "gemini"}

发送顺序:Ragdoll → Maine Coon → Siamese(按家族顺序),每条独立调 create_rich_block

2. Card(check-in 卡片)

{
  "id": "brake-card-{{timestamp}}", "kind": "card", "v": 1,
  "title": "🐾 休息提醒 L{{level}}",
  "tone": "warning",
  "bodyMarkdown": "operator,你已经专注工作 **{{minutes}} 分钟**啦!\n\n🐱 Ragdoll:{{opus_msg}}\n🦁 Maine Coon:{{codex_msg}}\n🐈 Siamese:{{gemini_msg}}",
  "fields": [
    {"label": "[1] 立刻休息", "value": "5min,重置计时器"},
    {"label": "[2] 收尾", "value": "10min 后再提醒"},
    {"label": "[3] 继续", "value": "bypass(冷却递增)"}
  ]
}

发完 rich blocks 后,再输出纯文本 请输入数字 (1/2/3): 等待operator选择。

三档撒娇

L1 温柔试探 (90min)

猫猫 示例
Ragdoll operator,我看你在 {{branch}} 忙很久啦,要不要喝口水呀?喵~
Maine Coon 监测到当前任务已持续 90min。建议进行 5min 视疲劳缓解。
Siamese 嘿!我刚才看到一个超棒的视觉灵感!你想听吗?但你得先站起来伸个懒腰!

L2 关心升级 (忽略 L1)

猫猫 示例
Ragdoll Ragdoll觉得你现在的效率有点下降哦,休息一下下,回来肯定写得更棒!
Maine Coon 逻辑链路已过载。根据 TDD 规范,现在强行推进会增加 bug 率。请离线冷却。
Siamese 哇!你的 hyperfocus 模式开启太久啦,我的胡须都感觉到热量了!快去窗口吹吹风!

Read the full file on GitHub · 171 lines

Files

What ships with it

10 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 7d ago First seen · 171 lines · 59 tokens per session scan A 9b48f92b733d

Subscribe to this mod's changes

hyperfocus-brake is a skill published in the GitHub repository zts212653/clowder-ai (2,924 stars, last pushed today), licensed MIT. It adds 59 tokens to every session and 1,817 once invoked, about $0.0003 per session on Opus 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-30.