---
title: "每个 Claude Code 用户都必须安装 /stack……说真的！"
url: "https://claudemods.dev/zh-cn/builds/every-claude-code-user-needs-to-install-stack-seriously-save-921a9c"
source: "https://x.com/i/status/2113026278504755415"
source_type: "x"
author: "Daniel San"
author_handle: "dani_avila7"
stars: 0
category: "开发与调试"
categories: ["debug"]
tags: ["configuration", "diagnostics", "mcp-servers", "stack-viewer", "subagents"]
permission_level: null
scan_complete: false
added: "2026-10-24T02:06:22.754Z"
updated: "2026-10-21T21:54:57.000Z"
locale: "zh-cn"
content_locale: "zh-cn"
---

# 每个 Claude Code 用户都必须安装 /stack……说真的！

/stack（stack-viewer）是一个 Claude Code 模组，会扫描每个已安装的技能、子代理、命令、钩子、MCP 服务器、插件、设置和输出样式，并将它们显示在按范围分组的交互式面板中。

## Description

Daniel San（@dani_avila7）发布的一条 X 帖子，推广 /stack 模组（通过 `npx claude-code-templates@latest --mod ui/stack-viewer` 安装）。该模组会对 Claude Code 配置进行全面扫描，并显示所有已安装和可用的内容：技能、子代理、命令、钩子、MCP 服务器、插件、设置和输出样式。结果按范围（企业、用户、项目、插件、CLI 标志）组织在一个交互式面板中，显示哪些处于活动状态、哪些被禁用，以及哪些组件正被其他组件覆盖。它被介绍为一种理解 token 消耗和 Claude 会话行为的方式，并且还会公开 Claude Code 自带的内置命令、技能和子代理，其中一些未在官方文档中涵盖。

## Original README

Every Claude Code user NEEDS to install /stack... Seriously!

Save this post and try it later

The /stack mod shows you EVERYTHING installed and available in Claude Code:

Skills, Subagents, Commands, Hooks, MCP Servers, Plugins, Settings and Output Styles

Everything organized by scope: Enterprise, User, Project, Plugin, CLI flags

It performs a complete scan and displays the results in an interactive panel where you can see what's active, what's disabled, and which components are being overridden by others

You'll finally have a better understanding of why your Claude Code sessions consume so many tokens and why Claude behaves the way it does

You can also explore all the built-in commands, skills, and subagents that ship with Claude Code, including some that aren't even mentioned in the official documentation!

Install it with:

npx claude-code-templates@latest --mod ui/stack-viewer
