/k-chan:k-chanfrom k-chan
Manages a desktop mascot (k-chan) in herdr-core terminal: switches character states (testing, error, etc.), updates settings (background, opacity, animations, voice), and shows status summaries. Useful for long-running tasks or errors needing user attention.
Ships in k-chan. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
None: SKILL.md is the whole skill.
k-chan 是桌面上的一隻角色(herdr-essentials 的 k-chan),跟著 herdr-core 的 agent 狀態動:
idle / working / blocked / done 是 herdr-core 自動給的,你不用喊。
你能做的是把自己的 terminal 切到角色包自己定義的狀態(例如 testing、error),讓角色換動畫和台詞;
有些狀態會讓角色跳出來找使用者(states 列表裡標 [pops up] 的)。
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs states # 這隻角色有哪些狀態
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs state <名字> [--line "一句話"] [--voice 錄好的.mp3] # 切過去(--voice:你能產生語音時,用它說這句)
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs state --clear # 回到跟著 herdr-core
使用者要先在 Herdr 側欄對這個 Space 按右鍵 → Enable Chan,角色才會理這個 Space 的 terminal;沒開也可以喊(指令照常成功),只是畫面上不會有反應。
states 列的是你目前資料夾所在那個 Space 的狀態(Space 可以自己加狀態,在 Chan config… 裡設)。
states,只從列出來的挑(標 (herdr) 的四個不要自己喊)。每個角色不一樣,不要猜名字;
沒定義的名字會回錯(exit 1)並列出可用的。— 後面那句)判斷什麼時候用。常見:
testing)error),--line 用一句話說哪裡壞state --cleardone 前的狀態:herdr-core 的狀態一變(例如你回完話變成 done),你喊的狀態就自動結束;
10 分鐘沒再喊也會自動結束。--line 會顯示在使用者桌面(可能在分享螢幕):一句短話,不要放密鑰、token、完整路徑、客戶資料。HC_TERMINAL_ID(不在 herdr-core terminal 裡)→ 指令會回錯(exit 2),這時不用 k-chan,照常工作。這個 plugin 有個 Stop hook:你每次回完話,回覆的第一句(去掉 markdown,最多 40 字)會存成這個 terminal 的短回話; 你的 terminal 變成 done、角色跳出來時,泡泡顯示的就是這句(有開語音就唸這句),不是角色預設台詞。所以:
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs say "一句短話"(這輪優先用它)。使用者在 Chan config 視窗的「請 agent 幫你設定」打字,會以 [k-chan 設定] … 送到你這裡;在終端機直接請你改也一樣。
設定是這個 Space 的(你目前資料夾所在那個),改完設定視窗和角色會自己更新。
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs get # 先看現況(JSON:背景、透明度、每個狀態)
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set --background "#dbeafe" --bg-opacity 70 --char-opacity 100 --fade-behind off
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set-state testing --describe "跑測試時" --popup off --notify off --lines '{name} 在跑測試…\n測試跑起來囉'
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set-state testing --anim ./art/testing.webp --frames 8 --fps 12 # 動作:.webp/.png/.gif
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set-state done --voice ./art/done.ogg # 聲音:.ogg/.wav/.mp3/.m4a
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set-state testing --unset anim # 改回預設圖 / 預設說話聲(voice)
node ${CLAUDE_PLUGIN_ROOT}/watch.mjs set-state testing --remove # 刪掉自己加的狀態(herdr 的四個不能刪)
hc exec --on laptop -- node "…/watch.mjs" get --space "back/sp…",設定在使用者的另一台機器)時,照那個寫法跑,set / set-state 也一樣接在後面;這時動作 / 聲音檔在那台,請使用者在設定視窗選檔。--bg-opacity 是背景,0 = 只剩角色和對話框;--char-opacity 是角色本身,最低 10。
--fade-behind on = 使用者正在用的視窗跟它重疊時整窗淡化(預設關)。-、_;台詞一行一句(\n 分行),{name} 會換成 terminal 名字,最多 20 句。--popup on 會讓角色在進到這個狀態時跳出來打斷使用者,只給真的需要人看的狀態。What SKILL.md sets; muted values are Claude Code's defaults
Three short reads, in order
npx claudepluginhub kirinchen/herdr-essentials --plugin k-chan2 skills in this plugin
Other plugins' skills for the same job