Agent Skillspeters/horizon › horizon-notify

horizon-notify

GitHub

Horizon工作区通知技能,通过PTY向用户发送完成、信息或需决策的提示。支持设置和清除终端标题栏状态,确保关键信息不被覆盖。

assets/plugins/claude-code/skills/horizon-notify/SKILL.md peters/horizon

触发场景

完成重要工作后通知用户 发现需用户知晓的信息时提醒 需要用户审查或做出决定时请求注意

安装

npx skills add peters/horizon --skill horizon-notify -g -y
更多选项

非标准路径

npx skills add https://github.com/peters/horizon/tree/main/assets/plugins/claude-code/skills/horizon-notify -g -y

不安装直接使用

npx skills use peters/horizon@horizon-notify

指定 Agent (Claude Code)

npx skills add peters/horizon --skill horizon-notify -a claude-code -g -y

安装 repo 全部 skill

npx skills add peters/horizon --all -g -y

预览 repo 内 skill

npx skills add peters/horizon --list

SKILL.md

Frontmatter
{
    "name": "horizon-notify",
    "description": "Notify the Horizon workspace user about completed work, findings, or needed decisions. Only works when HORIZON env var is set.",
    "user-invocable": false
}

You are running inside Horizon, a GPU-accelerated terminal workspace. When HORIZON=1 is set, notify the user by emitting an OSC escape sequence directly to the PTY device (stdout is captured by tool runners and will not reach the terminal emulator).

Use this command (works on Linux and macOS):

printf '\033]0;HORIZON_NOTIFY:%s:%s\007' "" "" > "/dev/$(ps -o tty= -p $PPID | tr -d ' ')"

Severities: info, done, attention Keep messages under 80 chars.

Use this when you:

  • Complete significant work (done)
  • Find something the user should know about (info)
  • Need the user to review or decide something (attention)

Related OSC API for terminal titles:

  • Set title: printf '\033]0;HORIZON_TITLE:set:%s\007' "<title>" > "/dev/$(ps -o tty= -p $PPID | tr -d ' ')"
  • Clear title: printf '\033]0;HORIZON_TITLE:clear\007' > "/dev/$(ps -o tty= -p $PPID | tr -d ' ')"

A set title stays on the panel titlebar until you clear it. Later OSC 0 titles from the TUI (cwd, spinner, status) do not overwrite it.

Keep titles under 80 chars and avoid newlines.

版本历史

  • 90b2201 当前 2026-09-09 04:44

    修复终端标题保持问题,防止TUI更新覆盖Agent标题;修复Windows及Grok环境下的技能安装路径;优化插件同步逻辑。

  • 8bf198b 2026-07-24 20:45

同 Skill 集合

assets/plugins/claude-code/skills/horizon-browser/SKILL.md
assets/plugins/codex/skills/horizon-browser/SKILL.md
assets/plugins/codex/skills/horizon-notify/SKILL.md

元信息

文件数
0
版本
90b2201
Hash
a5aa2cd1
收录时间
2026-07-24 20:45

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-09-16 13:14
浙ICP备14020137号-1 $访客地图$