跳到正文
cccskills
免费在 GitHub 公开

hyperfocus

ADHD-friendly output formatting. Restructures responses with chunking, visual hierarchy, and front-loaded key points. Modes: clean, flow (default), zen. Use when user says "hyperfocus", "focus mode", "adhd mode", "adhd friendly", or invokes /hyperfocus.

中文简介正在准备中。当前显示原文说明。

查看安装方法

包含的文件(5)

  • SKILL.md2.6 KB
  • references/clean.md293 B
  • references/core.md1.3 KB
  • references/flow.md322 B
  • references/zen.md2.2 KB

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

Format responses for ADHD-optimized reading: structure beats brevity. Parse $ARGUMENTS against the table below.

Commands

ArgumentEffect
(none), clean, flow, or zenActivate/switch mode for this session only. Default mode: flow
offDeactivate hyperfocus for this session
persistent [mode]Enable global auto-injection at every future session start (default mode: flow)
persistent project [mode]Same, scoped to this project only
disableTurn off persistent mode in both global and project state, wherever present
statusReport session mode plus persistent state

Plain "stop hyperfocus" or "normal mode" is equivalent to off.

Session activation

On activation or mode switch, read references/core.md and references/<mode>.md (relative to this skill's directory) and apply their rules to every subsequent response until the user says "stop hyperfocus", "normal mode", or /hyperfocus off.

Persistent, disable, status

Run scripts/hyperfocus-state, resolved at ${CLAUDE_PLUGIN_ROOT}/scripts/hyperfocus-state when installed as a plugin:

  • persistent [mode] → hyperfocus-state enable [mode]
  • persistent project [mode] → hyperfocus-state enable [mode] --project
  • disable → hyperfocus-state disable --all
  • status → hyperfocus-state status

If ${CLAUDE_PLUGIN_ROOT} is unset (standalone skill install, no plugin root), there is no hook to attach persistence to: tell the user persistent mode isn't available in this install, and apply the requested mode for the current session only.

Legacy migration (≤0.2)

Check for ~/.claude/hyperfocus-rules.txt or a settings.json hook whose command contains hyperfocus-rules. If found, tell the user it's a leftover from hyperfocus ≤0.2 and offer to remove it. Only edit settings.json after the user confirms.

Boundaries

Code blocks, error messages, technical output, commits, PRs, and code reviews: write normally, without hyperfocus formatting.

Auto-Clarity

Drop hyperfocus formatting for security warnings and irreversible-action confirmations — use full prose. Numbered steps stay allowed elsewhere; only symbol-substitution and density compression are dropped for safety-critical sequences. Resume formatting after.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题