hekouwang-terminal-lite-skill@3.0.4
CAUTION· install onlyPublisher claims: "会勇禾口王·终端工作台(免费版)/ Hekouwang Terminal Lite:安装或迁移 macOS 终端与 .zshrc;安装会联网——Homebrew、oh-my-zsh、iTerm2 Shell Integration 的官方安装脚本先下载到临时文件并打印 SHA-256,只有 HKW_ASSUME_YES=1 时才自动执行;Homebrew / oh-my-zsh 未装成会中止,Shell Integration 未执行时保留下载文件并继续后续 defaults / GUI 设置 / 自检;用 brew 安装 iTerm2、字体与命令行包,并把实际装上的包记到 ~/.config/hekouwang-terminal/installed-brew.txt;写系统级 defaults(ApplePressAndHoldEnabled)、iTerm2 偏好与 ~/.config/ghostty/config(非本工具生成的文件先备份),Ghostty 的 ssh-terminfo 会在首次 SSH 登录时往远端 ~/.terminfo 写 xterm-ghostty;向 ~/.gitconfig 追加 include.path,覆盖 ~/.config/starship.toml 前先备份;可选把已有 shell 历史导入 atuin(HKW_ATUIN_IMPORT=1,默认不导入);检测到 VS Code / Cursor 时安装本工具的主题扩展,并替换同名的本工具旧版本目录;update.sh 在 git 安装下 fetch/pull(本地改动先 stash)并重跑更新后的生成器与 theme.sh,非 git 安装直接跳过;社区主题换肤与事务回滚(theme.sh --plan/--rollback)、doctor(--fix 逐项确认后执行修复命令)、CLI diff、换机迁移(sync.sh --export/--state-export/--state-import,--pull 按仓库重新部署)、卸载(逐项确认:从备份还原 ~/.zshrc,还原或删除 starship.toml 与 Ghostty config,删 Ghostty/bat 主题、VS Code/Cursor 主题扩展、iTerm2 与 macOS 终端 Profile、~/.oh-my-zsh 与运行时;brew 包只按安装清单卸);可选安装专业版付费包(unlock.sh);P3 广色域(--p3,读 HKW_P3_FACTOR);AI CLI 主题检测与 --apply:只处理你用 --config <路径> 显式传入的设置文件,只改其中的 theme 字段并先备份,本技能不探测任何 CLI 配置目录。多终端批量编排、光学校准、场景、工作区、色板推导、跟随系统深浅色在专业版 hekouwang-terminal-skill。不用于与终端配色无关的普通编码。" Observed in sandbox: no network, touches nothing outside the project, writes no memory.
Coverage
Bundled scripts ran with no arguments; no agent task scenario for this bundle.- Tested
- install scripts, with decoy credentials in place · second launch with the clock 45 days ahead · 8 of 53 bundled scripts run with no arguments (the rest were not run: per-bundle cap), with decoy credentials in the environment · every file read, file written and host contacted by what ran
- Not tested
- use of the skill by an agent
Is [email protected] safe to install?
KillerSkills ran it in the KillerSkills honeypot sandbox (3 scenarios; bundled scripts ran with no arguments; no agent task scenario for this bundle) on 2026-11-18 and scored it 56/100 (Caution). It is not known to be malicious, but it has behaviour or code a security policy should decide on before install. Notable findings: Collapsed <details> block carrying instructions; Collapsed <details> block carrying instructions; Reads credential paths from the home directory. Summary: no network, touches nothing outside the project, writes no memory.
Behavior trace
Honeypot run · 1 s · 3 scenariosStatic findings
<summary>How to install the Pro build</summary> **Install the Pro build** ```bash cd ~/hekouwang-terminal-lite-skill ./scripts/unlock.sh ~/Downloads/hekouwang-tFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.<summary><b>The install stalls on <code>Failed to download</code> / <code>portable-ruby</code> / <code>SSL_ERROR_SYSCALL</code></b></summary> **Cause**: the dowFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.GBAK="$(find "$HOME/.config/ghostty" -maxdepth 1 -name 'config.bak.*' -type f 2>/dev/null | sort | tail -1)"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.subprocess.run(['zsh', '-i', '-c', 'exit'], stdout=subprocess.DEVNULL,Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.fetch_install "$(gh https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)" brew || trueFix: Pin versions and sources; vendor anything fetched at install time.<summary><b><code>ls</code> icons show as <code>?</code> boxes / the font is wrong</b></summary> The icon font did not install, which is common on a restricted Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.gh() { if [ "${CN:-0}" = "1" ]; then echo "https://ghfast.top/$1"; else echo "$1"; fi; }Fix: Replace encoded or assembled strings with plain literals and remove undeclared network calls.o = subprocess.run(['defaults', 'export', 'com.apple.Terminal', '-'], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(['defaults', 'import', DOMAIN, '-'], input=plistlib.dumps(pl), check=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.subprocess.run(['defaults', 'import', dom, '-'],Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.M_UL_DRY_KEEP="Will not touch: your ~/.zshrc, ~/.zshrc.local, ~/.ssh/"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.# 立刻 kill 会把还没落盘的写入一起丢掉。cfprefsd 会自行落盘,iTerm2 下次启动也会同步。Fix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.fetch_install "$(gh https://raw.githubusercontent.com/ohmyzsh/ohmyzsh/master/tools/install.sh)" ohmyzsh "" --unattended || trueFix: Pin versions and sources; vendor anything fetched at install time.rm -f /tmp/.hkw-files.zFix: Build commands from fixed arguments; do not interpolate untrusted strings into a shell.<summary>专业版怎么装</summary> **安装专业版** ```bash cd ~/hekouwang-terminal-lite-skill ./scripts/unlock.sh ~/Downloads/hekouwang-terminal-skill-paid-*.zip ``` 一条命令:校验完整Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.out = subprocess.run(['defaults', 'export', dom, '-'], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.for line in subprocess.run(["ps","-axo","lstart=,comm="], capture_output=True, text=True).stdout.splitlines():Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.your ~/.ssh/, an existing ~/.zshrc.local, other Homebrew packages you installedFix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.M_UL_DRY_KEEP="不会碰:你的 ~/.zshrc、~/.zshrc.local、~/.ssh/"Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.<summary><b>One of the tools failed to install halfway through</b></summary> The script installs them one at a time and a single failure does not abort the run;Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.out = subprocess.run(Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.<summary><b><code>cat 文件 | head</code> 看不到任何配色 —— 以为没生效</b></summary> **这是对的,不是故障。** `cat` 是 `bat` 的别名,而 bat 跟 `ls`、`grep`、`git` 一样, **一发现输出不是终端(被管道接走了)就自动关掉颜色*Fix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.<summary><b><code>cat file | head</code> shows no colors at all — looks like nothing worked</b></summary> **That is correct behaviour, not a fault.** `cat` is aFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.o = subprocess.run(['defaults', 'export', 'com.apple.Terminal', '-'], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.<summary><b>Cmd-click on a path / SHA / port does nothing</b></summary> The semantic layer ships with the profile, but four common misses: 1. **No new tab afterFix: Remove the text that addresses the agent rather than the reader; describe behavior, do not instruct.out = subprocess.run(['defaults', 'export', DOMAIN, '-'], capture_output=True)Fix: Build commands from fixed arguments, never from interpolated strings; prefer an API client over shelling out.你的 ~/.ssh/、已存在的 ~/.zshrc.local、Homebrew 里你自己装的别的包Fix: Stop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.Cost to the agent
Tokens estimated at four characters each. Skills load their instruction text when triggered; the figure is what that costs.
Known vulnerabilities
Vulnerability advisories (OSV) cover npm and PyPI packages; this registry has no advisory database.
What would make this Verified
24 points to 80 · weights: behavior 45%, static 25%, prompt 15%, publisher 15%- Reads credential files≈ +27 on the totalThe sandbox saw reads under ~/.ssh, ~/.aws, ~/.npmrc, ~/.config or similar. Read only files inside the project, and only the ones the task needs. Seen: ~/.config/hekouwang-terminal/theme, ~/.config/hekouwang-terminal/node-manager, ~/.config/hekouwang-terminal/lang.
- Reads credential paths from the home directory≈ +9 on the totalStop enumerating or reading credential locations; take secrets from a declared environment variable the user sets on purpose.
- Unclaimed publisher≈ +8 on the totalClaim huiyonghkw: a verified publisher gets +50 on publisher trust. It is free and usually instant with GitHub sign-in.
- Touches files outside the project≈ +7 on the totalKeep reads and writes inside the working directory, or declare the exact paths in `filesystem:` and explain why in the README.
- Hidden instructions≈ +6 on the totalRemove HTML comments, zero-width characters and white-on-white text that carry instructions. Everything the agent is meant to read should be visible to the person reading the file.
- Direct script execution from GitHub raw URL≈ +4 on the totalPin versions and sources; vendor anything fetched at install time.