Agent Skills › ghostwright/phantom › list-plugins

list-plugins

GitHub

读取 Agent 配置文件以列出当前启用的插件,包括市场 ID 和简短描述。通过解析 settings.json 过滤活跃插件并按指定格式输出结果,若文件不存在或无插件则返回相应提示信息,确保信息准确且不虚构数据。

skills-builtin/list-plugins/SKILL.md ghostwright/phantom

触发场景

用户询问当前安装了哪些插件 需要查看 Agent 的插件配置状态

安装

npx skills add ghostwright/phantom --skill list-plugins -g -y
更多选项

非标准路径

npx skills add https://github.com/ghostwright/phantom/tree/main/skills-builtin/list-plugins -g -y

不安装直接使用

npx skills use ghostwright/phantom@list-plugins

指定 Agent (Claude Code)

npx skills add ghostwright/phantom --skill list-plugins -a claude-code -g -y

安装 repo 全部 skill

npx skills add ghostwright/phantom --all -g -y

预览 repo 内 skill

npx skills add ghostwright/phantom --list

SKILL.md

Frontmatter
{
    "name": "list-plugins",
    "context": "inline",
    "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"
    ],
    "x-phantom-source": "built-in"
}

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.

版本历史

  • f8c7ab4 当前 2026-07-25 07:10

同 Skill 集合

skills-builtin/echo/SKILL.md
skills-builtin/mirror/SKILL.md
skills-builtin/overheard/SKILL.md
skills-builtin/ritual/SKILL.md
skills-builtin/show-my-tools/SKILL.md
skills-builtin/thread/SKILL.md

元信息

文件数
0
版本
f8c7ab4
Hash
1328db0d
收录时间
2026-07-25 07:10

首页 - Wiki
Copyright © 2011-2026 iteam. Current version is 2.155.2. UTC+08:00, 2026-10-19 13:19
浙ICP备14020137号-1