---
title: "我为 CLI 打造了我的模组生态系统：每一轮对话折叠成一行，危险命令等你确认，智能体获得侧边栏"
url: "https://claudemods.dev/zh-cn/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-cn"
content_locale: "zh-cn"
---

# 我为 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]
