Token导航 LogoToken导航TokenDH.com
研究检索执行命令github未标认证来源可访问许可证需确认审计通过

health-plugins健康插件

Agent Skill

health-plugins 用于查找、检索和筛选相关信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要根据关键词、任务场景或来源线索快速定位候选结果时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

总安装

1,297

周安装

53

GitHub Stars

28

下载量

420
CodexClaudeCursorGemini CLI

安装说明

本站只整理中文说明和来源信息,不托管安装包,也不代用户安装。

GitHub

来源数

2

许可证

unknown

最后核验

2026-05-01

来源状态

来源可访问

安装方式

通过对话安装

复制提示词发给支持本地命令或 Skills 的 AI 助手,先确认命令和权限,再让它执行。

请帮我安装这个 Agent Skill:health-plugins(健康插件)
来源仓库:https://github.com/laurigates/claude-plugins
仓库路径:skills/health-plugins
安装命令:
npx skills add https://github.com/laurigates/claude-plugins --skill health-plugins
安装前请先检查当前环境是否支持对应 CLI,并向我确认将要执行的命令、安装目录、联网范围和文件读写权限;确认后再执行。

命令行安装

复制命令到本机终端执行。该命令会通过 npx skills 从第三方来源获取 Skill;本站只展示命令,不托管安装包,也不自动执行。

skills.shnpx skills
npx skills add https://github.com/laurigates/claude-plugins --skill health-plugins

简介

用于查找、检索和筛选健康领域相关插件与工具。

  • 适合根据关键词或任务需求快速定位候选资源。
  • 可结合来源仓库进一步验证功能和使用方式。适用宿主包括 Codex、Claude、Cursor、Gemini CLI,接入前应确认版本、权限和运行环境要求。
  • 安装前建议确认权限、维护状态及是否涉及敏感操作。
  • health-plugins 属于研究检索类 Skill,可作为该场景下的辅助能力补充。

SKILL.md

/health:plugins

Diagnose and fix issues with the Claude Code plugin registry. This command specifically addresses issue #14202 where project-scoped plugins incorrectly appear as globally installed.

When to Use This Skill

Use this skill when...Use another approach when...
Fixing plugin registry corruption (issue #14202)Comprehensive health check (use /health:check)
Diagnosing project-scope vs global plugin issuesAuditing plugins for relevance (use /health:audit)
Cleaning up orphaned plugin entriesSettings validation only needed
Resolving "plugin already installed" errorsAgentic optimization audit (use /health:agentic-audit)
Manually inspecting registry JSONJust viewing installed plugins (read registry file)

Context

  • Current project:!pwd
  • Current project has plugins:!find. -maxdepth 2 -path '*/.claude-plugin/plugin.json' -type f
  • Project settings exists:!find. -maxdepth 1 -name '.claude/settings.json'
  • Project plugins dir:!find. -maxdepth 1 -type d -name '.claude-plugin'

Background: Issue #14202

When a plugin is installed with --scope project in one project, other projects incorrectly show the plugin as "(installed)" in the Marketplaces view. This happens because:

  1. The plugin registry at ~/.claude/plugins/installed_plugins.json stores projectPath for project-scoped installs
  2. The Marketplaces view only checks if a plugin key exists, not whether it's installed for the *current* project
  3. The install command refuses to install because it thinks the plugin already exists

Impact: Users cannot install the same plugin across multiple projects with project-scope isolation.

Parameters

Parse these from $ARGUMENTS:

ParameterDescription
--fixApply fixes to the plugin registry
--dry-runShow what would be fixed without making changes
--plugin <name>Check/fix a specific plugin only

Execution

Execute this plugin registry diagnostic by running the scripts below. Pass --plugin <name> through from $ARGUMENTS when specified.

Step 1: Diagnose the registry

bash "${CLAUDE_SKILL_DIR}/scripts/check-registry.sh" --home-dir "$HOME" --project-dir "$(pwd)" [--plugin <name>] [--verbose]

Parse the STATUS=, PLUGIN_COUNT=, ORPHANED_ENTRIES=, and ISSUES: lines from output. The === PLUGINS === section lists each installed plugin with scope, version, source, and projectPath.

Step 2: Report findings

Print a structured diagnostic report summarising:

  1. Registry location, validity, and plugin counts (total / global / project-scoped)
  2. Orphaned entries (projectPath directory missing) with severity and suggested fix
  3. Plugins enabled in settings but not in the registry
  4. Plugins from other projects (INFO only, shown with --verbose)

Use the ISSUES: lines as the authoritative list of problems.

Step 3: Apply fixes (if --fix)

If $ARGUMENTS contains --fix:

  1. Confirm with the user (via AskUserQuestion) which orphaned plugins to remove, unless --dry-run is also set.
  2. Run the fix script: bash "${CLAUDE_SKILL_DIR}/scripts/fix-registry.sh" --home-dir "$HOME" --project-dir "$(pwd)" [--plugin <name>] [--dry-run] The script creates a timestamped backup at ~/.claude/plugins/installed_plugins.json.backup.<UTC-timestamp> before modifying the registry, validates the resulting JSON, and aborts safely on any error.
  3. Parse STATUS=, REMOVED=, REMOVED_COUNT=, and BACKUP_PATH= lines to report what changed.

Step 4: Handle "plugin needed in current project"

When a plugin exists in the registry under a different projectPath and the user wants it available in the current project, use AskUserQuestion to confirm, then:

  1. Add a new entry to .claude/settings.json under enabledPlugins using the Edit tool.
  2. Remind the user to run /plugin install via the Claude Code UI for proper registry registration.

Step 5: Verify the fix

After applying fixes, re-run Step 1 and confirm the issue count has dropped. Remind the user to restart Claude Code for changes to take effect.

Registry Structure Reference

{
  "version": 2,
  "plugins": {
    "plugin-name@marketplace-name": [
      {
        "scope": "project",
        "projectPath": "/path/to/project",
        "installPath": "~/.claude/plugins/cache/marketplace/plugin-name/1.0.0",
        "version": "1.0.0",
        "installedAt": "2024-01-15T10:30:00Z",
        "lastUpdated": "2024-01-15T10:30:00Z",
        "gitCommitSha": "abc123"
      }
    ]
  }
}

Scope types:

  • "scope": "project" — has projectPath, only active in that project
  • "scope": "user" — no projectPath, active globally

Manual Workaround

If automatic fix fails, users can manually edit ~/.claude/plugins/installed_plugins.json:

  1. Open the file in an editor
  2. Find the plugin entry
  3. Either:

- Remove projectPath to make it global - Change projectPath to current project path - Add a new entry with different key for current project

  1. Save and restart Claude Code

Agentic Optimizations

ContextCommand
Plugin registry diagnostics/health:plugins
Fix registry issues/health:plugins --fix
Dry-run mode/health:plugins --dry-run
Diagnose only (script)bash "${CLAUDE_SKILL_DIR}/scripts/check-registry.sh" --home-dir "$HOME" --project-dir "$(pwd)"
Fix only (script)bash "${CLAUDE_SKILL_DIR}/scripts/fix-registry.sh" --home-dir "$HOME" --project-dir "$(pwd)"

Flags

FlagDescription
--fixApply fixes (with confirmation prompts)
--dry-runShow what would be fixed without changes
--plugin <name>Target a specific plugin

See Also

  • /health:check - Full diagnostic scan
  • /health:settings - Settings file validation
  • Issue #14202 - Upstream bug report

适合场景

01

用户想查找某类 Agent Skill 时

02

需要根据任务场景推荐可安装能力包时

03

需要对比不同来源的安装命令和来源信息时

能力概览

能力 1

按任务关键词查找相关 Skills

能力 2

展示可复制的安装命令

能力 3

保留来源站点、仓库和原始说明,方便继续核验

能力 4

展示第三方安全扫描或审计结果

安装后应在对应宿主中按原始 README 的触发条件使用;具体调用方式请以来源页面和 README 为准。

平台分布

Codex

35.72%
按下载量换算150

Claude

28.24%
按下载量换算119

Cursor

18.48%
按下载量换算78

Gemini CLI

9.02%
按下载量换算38

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

执行命令

安装流程涉及命令执行,可能通过 npx skills add https://github.com/laurigates/claude-plugins --skill health-plugins 联网下载 Skill 或依赖。用户安装前应确认命令来源、仓库内容和执行环境。

安装前确认

本站仅展示第三方公开信息,不托管安装包,不提供自动安装或运行环境。安装前应自行审查源码、依赖和命令行为。当前只有一个来源,正式发布前建议补源仓库或其他目录站核验。

来源信息

继续浏览同类 Skills