---
title: "我為 CLI 打造了我的外掛生態系統：每一輪對話折疊成一行，危險命令等你確認，代理獲得側邊欄"
url: "https://claudemods.dev/zh-tw/builds/i-built-my-mod-ecosystem-for-the-cli-every-turn-folds-to-one-fc68f2"
source: "https://github.com/v-amorim/moonlight-claude-mods"
source_type: "github"
repo: "https://github.com/v-amorim/moonlight-claude-mods"
author: "vamorim"
author_handle: "vamorim"
stars: 0
category: "儀表板與 HUD"
categories: ["hud"]
tags: ["hooks", "plugins", "safety-confirmation", "sidebar", "terminal-ui"]
permission_level: null
scan_complete: false
added: "2026-10-22T02:45:46.348Z"
updated: "2026-10-22T02:45:55.279Z"
locale: "zh-tw"
content_locale: "zh-tw"
---

# 我為 CLI 打造了我的外掛生態系統：每一輪對話折疊成一行，危險命令等你確認，代理獲得側邊欄

一篇 Reddit r/ClaudeCode 貼文，展示了「moonlight-claude-mods」，這是一組 13 個免費開源（MIT）的 Claude Code 外掛，共享同一視覺風格。亮點包括 Transcript（聊天氣泡，並將每一輪折疊為可點擊的一行）、Blast Radius（暫停 rm -rf 或 force push 等危險 shell 命令，直到確認）、用於代理/技能/提示/檔案的側邊欄面板，以及 Wrap Up（工作階段交接或 /compact 填充）。透過外掛市集安裝，並帶有首次執行設定卡片；需要 Claude Code 2.1.287+，已在 Windows Terminal 和 iTerm2 上測試。

## Description

作者介紹了一個面向 Claude Code CLI 的 13 外掛生態系統，所有外掛共享統一外觀，並且各自獨立運作。值得注意的模組：Transcript 渲染聊天氣泡，並將每個已完成的輪次折疊為可點擊的一行；Blast Radius 暫停危險 shell 命令（rm -rf、force push、DROP TABLE），等待使用者批准；Progress、Skills、Prompts 和 Files 為代理、技能、過往提示和已觸及檔案提供側邊欄面板；Wrap Up 將工作交接給新的工作階段，或用需要保留的內容填充 /compact。安裝透過命令 `claude plugin install mod-manager --marketplace v-amorim/moonlight-claude-mods` 完成，隨後在提示上方出現設定卡片，可在其中切換並套用模組而無需重新啟動。作者指出，Claude Code 編寫了 hooks、測試套件（1,286 個測試）、設計探索和並行審計。除非啟用，否則沒有模組會在背景呼叫模型；mod-manager 追蹤 7 天支出。全部 13 個模組均免費、採用 MIT 許可、需要 Claude Code 2.1.287+，並已在 Windows Terminal 和 macOS iTerm2 上測試（Linux 未測試）。存儲庫：https://github.com/v-amorim/moonlight-claude-mods

## Original README

I use Claude Code all day and kept wanting things the terminal doesn't have, so I built them as plugins, with Claude Code doing most of the writing and testing. 13 mods, one shared look, and each one works without the others. What they do Transcript: chat bubbles, and every finished turn folds to one line you click to open. Blast Radius: a risky shell command (rm -rf, force push, DROP TABLE) waits until you answer. Progress, Skills, Prompts, Files: sidebar panels for your agents, skills, past prompts and the files Claude touched. Wrap Up: one click hands the work to a fresh session, or fills /compact with what to keep. The rest are in the repo. Setup In your terminal: claude plugin install mod-manager --marketplace v-amorim/moonlight-claude-mods Start Claude Code. A card above the prompt says "Claude Code mods are in". Click Open setup, tick the mods you want, click Apply. No restart. How Claude Code helped Code: each mod is a plugin that draws its own UI through Claude Code's plugin hooks. Claude Code wrote the hooks, and I steered the design and the look. Tests: every mod ships a test suite that runs with claude plugin test , 1,286 tests across the 13. Claude Code wrote a failing test first for most bugs, then the fix. Design choices: before building a new look, Claude Code drew 2 or 3 versions as a board in a terminal tab, and I picked one. Checking it for real: Claude Code drove a hidden Claude Code session with the mods loaded, took screenshots and read them, which caught bugs the tests missed (a toast that never showed, text cut at a card edge). Audits: Claude Code ran subagents in parallel to find what a new user would see without my setup, which is where the first-run card and the empty-state messages came from. Costs: no mod calls a model in the background unless you turn that on. Wrap Up uses one when you click it, to write the handoff. Three more can call one, each behind its own setting: a heads-up check, next-step suggestions and an explanation of a held command. mod-manager shows what each one spent over the last 7 days. Free: all 13 are free and open source (MIT). There is no paid tier. Needs Claude Code 2.1.287 or newer. Tested on Windows Terminal and macOS iTerm2. Linux is untested, so reports are welcome. https://github.com/v-amorim/moonlight-claude-mods   submitted by   /u/vamorim   to   r/ClaudeCode [link]   [comments]
