Skip to main content

list-plugins

List the Claude Code plugins currently enabled for the agent, read straight from settings.json.

跳到安装

来源信息

仓库
ghostwright/phantom
最近来源活动
2026年4月14日 02:31
检测到的 SKILL.md 语言
英语
星标
1,470
分支
194

安装方式

默认使用会先检查来源的 Prompt;你也可以切换为直接命令,或下载本地副本。

检查来源文件

决定是否安装前,请先阅读 SKILL.md,以及 SkillsMP 当前展示的配套文件。

正在显示 SKILL.md

SKILL.md
来源说明 · 只读预览
name
list-plugins
x-phantom-source
built-in
description
List the Claude Code plugins currently enabled for the agent, read straight from settings.json.
when_to_use
Use when the operator asks "what plugins are installed", "which plugins are active", "show plugins", "list plugins", "show me the marketplace state", or any narrow question specifically about the current plugin set.
allowed-tools
["Read"]
context
inline
# List plugins ## Goal Tell the operator which plugins are currently active for this agent, with their marketplace ids and a short description, in under 100 words. ## Steps ### 1. Read settings.json Use Read on `/home/phantom/.claude/settings.json`. Parse it as JSON. If the file does not exist, return: "No settings.json yet. The dashboard plugins tab is at /ui/dashboard/#/plugins." If the file exists but has no `enabledPlugins` field, return: "No plugins enabled yet. Browse the marketplace at /ui/dashboard/#/plugins." **Success criteria**: you have either a parsed `enabledPlugins` map or a clear empty-state message ready. ### 2. Filter active entries For each `key: value` in `enabledPlugins`, treat the entry as active when value is `true`, a non-empty array, or a non-empty object. Treat `false` and missing entries as inactive. **Success criteria**: you have a list of `plugin@marketplace` keys for active plugins only. ### 3. Render the list Format the response like this: > You have N plugins enabled: > > - **linear** at claude-plugins-official - Linear issue tracking > - **notion** at claude-plugins-official - Notion workspace > - **slack** at claude-plugins-official - Slack workspace messages > - **claude-md-management** at claude-plugins-official - CLAUDE.md maintenance > > Manage plugins at /ui/dashboard/#/plugins. For each row, the descriptor after the dash is a short fallback string based on the plugin name. If you do not recognize a plugin id, use just the marketplace id as the descriptor. **Success criteria**: the response shows the real current keys, the descriptors are honest (no fabricated descriptions for unknown plugins), and the dashboard URL is included. ## Rules - Never fabricate a plugin that is not in settings.json. - Never use em dashes in the response. Regular hyphens are fine. - Always include the dashboard URL. - Keep the response under 100 words.
在 GitHub 查看