pi-cc-extensions weekly downloads statistics
By minuque · npm · Claude Code
Claude Code-style TUI output with some personal touches and handy utilities.
pi-cc-extensions has 2,637 recorded weekly downloads on npm, a decrease of 57.2% over the past 30 days, ranking #1794 of 3,247 tracked listings.
About pi-cc-extensions
pi-cc-extensions
类 Claude Code 的 TUI 输出风格,加入个人喜好与若干实用小功能(无额外内置工具)。
界面预览
<a href="https://github.com/user-attachments/assets/6c858000-fdad-43f9-957f-4d0278648498"><img src="./assets/readme/preview.webp" alt="pi-cc-extensions 界面预览" width="100%"></a>
点击封面播放演示视频
快速开始
pi install npm:pi-cc-extensions
# GitHub
pi install git:github.com/minuque/pi-cc-extensions
安装后执行 /reload
功能
| 功能 | 说明 | 入口 |
|---|---|---|
| Claude Code UI | 工具摘要、折叠展开、rich edit/write diff;on / compact / off 三种模式 | /ccstyle |
| Markdown 增强 | 方言 fence 的 Mermaid 渲染(statediagram、classdiagram 等)、圈数字转半角括号;标准 mermaid 交给 pi | 自动生效;enableMarkdownEnhance: false 关闭 |
| Fullscreen mode | 工具卡/group 单击展开收起、预览、hover 高亮、回到底部按钮 | --tui-mode fullscreen(pi 1.5 起默认) |
| 配置面板 | Style / Features / UI / Diff / Thinking / Footer 六页签 | /ccstyle |
| 上下文检查 | 查看上下文占用,预览 System prompt、Memory、Skills、Tools definition 与消息内容 | /context |
| 会话记录浏览 | 全屏浏览完整会话记录,工具输出全展开;! 输出可展开时把键让给 pi | Ctrl+O |
| Session/Subagent 引用 | 搜索并注入历史 Session 或现有 SubAgent 的有效上下文 | @ |
| 状态栏 | 模型、上下文、缓存、费用、累计 token、git,并适配 @narumitw/pi-usage 实时额度;图标可切 Nerd Font | /ccstyle → Footer |
| 主题 | 随包提供 4 个主题:CC Dark、CC Light、CC Dark HC、CC Light HC | /settings → Theme |
on / compact 两种模式的渲染样例:默认模式 · 紧凑模式
配置
/ccstyle 的行为由 ~/.pi/agent/pi-cc-extensions.json 配置:
{
// style
"mode": "on", // on / compact / off
"excludeRenderers": [], // 走原生渲染的工具名,忽略大小写;Agent 始终用专用渲染器
// features
"enableSessionReference": true, // @ session 引用
"enableSubagentAutocomplete": true, // @subagent:[name] 补全与委派提示
"enableContextCommand": true, // /context 上下文检查
"enableAgentSummary": true, // 每回合工具摘要
"enableWorkingMessage": true, // Working... 底部 token/耗时
"enableAliases": true, // /clear、/exit 别名
"enableMarkdownEnhance": true, // markdown 转换:Mermaid 方言渲染、圈数字转半角括号;false 让位给其他扩展
"enableTableCopy": false, // TSV / CSV / Markdown 整表复制;在 /ccstyle 开启,重启生效
"enableEditorPrefix": true, // 输入框 ❯ 前缀
// ui
"expandedInputMaxLines": 5, // 展开工具卡 Input 的行数上限,超出末行提示
"expandedOutputMaxLines": 10, // 展开工具卡 Output 的行数上限,超出末行提示
"expandedPreviewMaxLines": 40, // 展开 TaskList 正文的行数上限(展开 diff 始终全量)
"toolLabelClip": 0, // 工具摘要 path/command 折叠字符数;0 = 按可用宽度
"showStartupHeader": true, // 启动头(logo + tips)开关
"stickyUserMessage": true, // fullscreen:用户消息首行滚出上沿后钉住,直到下一条接手
"scrollButtonMode": "dock", // fullscreen:dock 独占行 / native Pi 原生浮层
// diff
"diffViewMode": "auto", // 布局:auto / split / unified
"diffIndicatorMode": "bars", // 变更指示:bars / classic / none
"diffSplitMinWidth": 120, // 左右分栏的最小终端宽度
"editDiffCollapsedLines": 24, // edit 折叠行数;0 仅显示变更统计摘要
"writeDiffCollapsedLines": 0, // write 折叠行数;0 仅显示创建摘要
"diffWordWrap": true, // 长 diff 行换行
// thinking
"useSummaryTitlesAsThinkingTitle": true, // 用最新摘要作思考标题
"previewLines": 3, // 思考中的预览行数,0 隐藏
"completedPreviewLines": null, // 完成态预览行数,0 隐藏;null 跟随 previewLines;面板可填数字或 follow
"animationIntervalMs": 90, // 标题动画间隔(毫秒)
// footer
"enableCustomFooter": true, // 自定义状态栏
"footerTokenRate": true, // 输出速率芯片;false 隐藏
"footerTokenRateMode": "average", // average:整段指令平均(avg);live:最近 1 秒瞬时(live)
"footerTokenRateTtft": true, // 速率芯片带 TTFT;false 只显示 tok/s
"footerSessionTokens": false, // 累计 token 芯片,累加会话条目 usage.totalTokens;默认关
"footerNerdIcons": true, // git/缓存/token 用 Nerd Font 图标;false 为纯文本
"footerGitStatsMode": "working", // working(默认):未提交改动;branch:分支累计净改动
"footerContextLimit": "window", // 上下文芯片分母:window(默认)|compaction 压缩点|both;越过压缩点才压缩,可短暂超过 100%
"footerHiddenKeys": [], // 隐藏的芯片 key
"footerLine1Keys": ["model", "context", "cache", "rate", "cost", "tokens", "pi-usage"], // 每行芯片顺序,内置项与插件共用
"footerLine2Keys": ["cwd", "git"], // cwd:目录和会话名;git:分支与改动
"footerLine3Keys": [] // 有可见芯片才占行
}
[!TIP] 全屏模式:展开态 diff 全量显示。Input/Output 超行时末行显示
… +N more lines,单击看全量,再击收起。
[!NOTE] Mermaid 渲染:
markdown.mermaid建议设final(/settings),避免流式逐帧重绘。
本地开发
./test.sh # macOS/Linux,需要 node 和 pi
./test.bat # Windows,经 Git Bash 运行 test.sh
pi -e . # 只跑一次,不改 settings.json
兼容性
- Node.js
>=22.19.0,Pi^1.5.1
推荐搭配…
Description from the npm listing.
- pi-package
- pi-extension
- pi-coding-agent
- claude-code
README badge
Show your rank in a README or on your website. The badge updates automatically.
Charts
Images: 30d · 1y · all time · 1600×900 dark
Adoption over time
7/30/90-day growth
Ranking history
Listing placement
Listing placement
Filled points are observed values; hollow points come from Internet Archive snapshots of the listing page. Dashed segments span periods with no observations — values between points are not interpolated.
Each band is one page of 20. Weekly downloads on a linear scale. Placement is projected from weekly downloads, so it can differ from the marketplace's own sort order. Hover a dot to see the listing.
Recent observations
Full history (592)Similar npm Claude Code plugins
All 20 pi-cc-extensions alternativesData source
Weekly downloads (trailing 7 complete days) come from the official npm downloads API. Downloads include CI and mirrors and are not equivalent to installs or users. npm publishes no ratings.
Listing: https://www.npmjs.com/package/pi-cc-extensions. First seen Oct 16, 2026; last successful collection Dec 6, 2026. See the methodology.