ClaudeMods
☰
ZH-TW
● 0 人在線上 · 瀏覽 0 次
贊助提交作品
GitHub 儲存庫 · 發布者 Shifty-Eye-Games

kb-health

kb-health 是 Shifty-Eye-Games/claude-mods 私有市集中的 Claude Code 外掛,透過 function hook 在狀態列顯示 KB 快照的健檢結果,以及 kb-serve 是否正在執行磁碟上的程式碼;沒有執行 KB 快照工作的機器會保持安靜。

Shifty-Eye-Games@Shifty-Eye-Games

Shifty-Eye-Games/claude-mods/tree/main/plugins/kb-health

已翻譯

關於這個 mod

kb-health 是 Shifty-Eye-Games/claude-mods 私有市集內的 Claude Code 外掛。它透過 function hook,在每個工作階段的狀態列顯示 kb-intelligence 快照的判定結果,以及 kb-serve 是否正在執行磁碟上的程式碼;沒有執行 KB 快照工作的機器不會顯示任何內容。

安裝方式:

claude plugin marketplace add Shifty-Eye-Games/claude-mods
claude plugin install kb-health@claude-mods

接著可在 /plugin 的 Marketplaces 畫面開啟 auto-update,或在 ~/.claude/settings.json 的 extraKnownMarketplaces 下設定 autoUpdate。由於市集是私有的,每台機器都必須事先設定免互動的 GitHub 存取(SSH key 或 gh auth setup-git)。如果先前是從本機資料夾載入,請從 CLAUDE_CODE_PLUGIN_DIRS 移除,避免重複載入。

安裝

請先查看作者 README,確認 marketplace 與外掛名稱;指令可能隨儲存庫結構而變動。

claude plugin marketplace add Shifty-Eye-Games/claude-mods
claude plugin install kb-health
原文 / README

claude-mods

Private Claude Code marketplace for Tuncer's mods: function-hook plugins that run inside every Claude Code session on his machines (MacBook Pro, MacBook Air, therig, the 5090 PC).

| Plugin | What it does | | --- | --- | | memory-guards | Refuses the footgun commands Claude's memory notes warn about (for example impeccable update --help, routing shiftyeyegames.com DNS through cloudflared, /logout before cswap add) and says why, with the safe alternative. | | kb-health | Shows KB health in the status line on the machine that runs the KB. It stays quiet on machines without the KB snapshot job. | | machine-tag | Prefixes session titles with the machine's emoji tag (💻 MBP, 🪶 Air, 🎮 Rig, 🔥 5090), so pinned sessions show which computer they run on. /machine-tag <emoji> <word> overrides it per machine. |

Install on a machine

claude plugin marketplace add Shifty-Eye-Games/claude-mods
claude plugin install memory-guards@claude-mods
claude plugin install kb-health@claude-mods
claude plugin install machine-tag@claude-mods

Then turn on auto-update: in /plugin, open Marketplaces, pick claude-mods and enable auto-update, or set it in ~/.claude/settings.json:

"extraKnownMarketplaces": {
  "claude-mods": {
    "source": { "source": "github", "repo": "Shifty-Eye-Games/claude-mods" },
    "autoUpdate": true
  }
}

Each session start then pulls main. No versions are set, so every commit is an update.

The repo is private, so each machine needs GitHub access without a prompt: an SSH key GitHub knows (Claude Code tries ssh -T [email protected] first), or stored HTTPS credentials (gh auth login then gh auth setup-git, or Git Credential Manager on Windows). Without them the clone and the updates fail silently and the machine keeps its last copy.

Machines that loaded these mods from local folders before must drop those folders from CLAUDE_CODE_PLUGIN_DIRS in ~/.claude/settings.json, or each mod loads twice.

Change a mod

  1. Edit it under plugins/<name>/.
  2. Check it: claude plugin validate plugins/<name> and claude plugin test plugins/<name>.
  3. Push to main. Versions are left unset on purpose, so each commit reaches every machine at its next session start.

How mods work, and the engine rules that bite, are in Claude's memory note on Claude Code mods.

Security

Auto-update is on, so whatever lands on main runs in every session on all four machines. Only org admins can push here (the org's default member permission is read). Keep it that way: never give anyone else write access.

更多類似作品