Token导航 LogoToken导航

Agent Skill · 前端设计

install-plugin-to-socket(将插件安装到套接字)

install-plugin-to-socket 用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息,适合在 Codex、Claude、Cursor、Gemini CLI 中需要围绕仓库状态、代码变更或协作事项进行整理时使用。可结合来源仓库、安装命令和原始 README 继续核验具体用法。安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。

install-plugin-to-socket 是前端设计类 Agent Skill,可用宿主为 Codex、Claude、Cursor、Gemini CLI,通过GitHub 仓库获取,权限为权限未标注;许可证信息还不明确,第三方扫描已通过,按安装量在前端设计类的 10,216 个 Skill 里排第 10,088。

总安装 186周安装 8GitHub Stars 1下载 65核验 2026-05-01

安装说明

本站只整理中文说明,不托管安装包,也不代用户安装。
GitHub
许可证
unknown

安装方式

通过对话安装

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

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

命令行安装

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

skills.shnpx skills
npx skills add https://github.com/gaelic-ghost/agent-plugin-skills --skill install-plugin-to-socket

这个 Skill 是做什么的

前端设计类 Skill 关注页面结构、视觉规范和组件写法,输出通常是可运行的界面代码。

用于处理 GitHub 仓库、Issue、Pull Request 和代码协作信息。适合在 Codex、Claude、Cursor、Gemini CLI 中围绕仓库状态、代码变更或协作事项进行整理。通过 npx skills add 命令从指定仓库安装,需结合原始 README 核验具体用法。

安装前建议确认权限范围、维护状态,以及是否会触发联网、命令执行或文件读写。install-plugin-to-socket 属于前端设计类 Skill,可作为该场景下的辅助能力补充。

来源仓库内路径:skills/install-plugin-to-socket

上手步骤

4 步
  1. 1

    确认自己的宿主工具

    公开资料标注支持 Codex、Claude、Cursor、Gemini CLI;先确认自己用的是其中之一,再按对应工具的 Skills 目录放置。

  2. 2

    拿到安装命令

    可以直接复制的命令是 npx skills add https://github.com/gaelic-ghost/agent-plugin-skills --skill insta…;命令里的占位符换成自己的路径或密钥再执行。

  3. 3

    安装后重启宿主

    命令执行完要完全退出宿主工具再打开,让新装的 Skill 被重新扫描到,否则列表里可能看不到。

  4. 4

    按最小权限试用

    权限没有明确标注,第一次使用时只给一个无关紧要的任务,观察它到底读了哪些文件和网络。

常见问题

6 条

install-plugin-to-socket 怎么安装?

在终端执行 npx skills add https://github.com/gaelic-ghost/agent-plugin-skills --skill install-plugin-…。装完完全退出宿主工具再打开,让它重新扫描本地 Skill。

install-plugin-to-socket 支持哪些 AI 工具?

公开资料标注支持 Codex、Claude、Cursor、Gemini CLI。其他工具只要能读取本地 Skill 目录,一般也能手动放进去,但要自己确认触发方式是否一致。

install-plugin-to-socket 需要什么权限?

权限级别没有明确标注。第一次使用时建议只给无关紧要的任务,观察它实际读写了哪些内容。

install-plugin-to-socket 是免费的吗?

公开资料没有标注明确许可证,收费和商用限制都无法确认。正式使用前请到来源仓库核对授权说明。

install-plugin-to-socket 用的人多吗?

公开数据是累计安装 186 次,近一周安装 8 次,下载 65 次,GitHub 1 星。这些数字来自第三方目录统计,只能当作热度参考,不代表质量或安全性。

install-plugin-to-socket 安全吗?

第三方扫描结果为通过,但这只覆盖已知的静态检查项,不能替代自己读一遍源码和安装命令。

值得选的地方和要先想清楚的地方

值得选的地方

  • 同时适配 4 种工具,换客户端不用重新找替代品。
  • 第三方扫描已通过,常见的高风险行为没有命中。

先想清楚的地方

  • 许可证没有明确标注,能不能商用、能不能再分发都不确定。
  • 第三方目录整理,版本更新和行为细节以来源仓库为准。

适不适合你

更适合

  • 已经在用 Codex,想直接扩展它能力的人。
  • 需要处理前端设计类任务、又不想每次都手写提示词的人。

不太适合

  • 需要明确授权才能用到公司项目里的场景。
  • 需要厂商级技术支持和 SLA 的生产系统。

前端设计类 Skill 对比

6 个同类
Skill总安装GitHub 星权限许可证扫描
frontend-design

前端设计 · Codex、Claude

8,823,360126,072只读MIT通过
vercel-composition-patterns

Vercel 组合模式 · Codex、Claude

3,858,81625,893需要联网MIT通过
vercel-react-native-skills

Vercel React native skills 前端 · Codex、Claude

2,468,66425,878只读MIT通过
adapt

adapt 搜索 · Codex、Claude

2,027,04023,125操作浏览器未明确通过
bolder

bolder 分析 · Codex、Claude

2,004,28823,130只读未明确通过
install-plugin-to-socket

将插件安装到套接字 · 本页

1861权限未标注未明确通过

按安装量取同分类前几名;数字来自第三方目录统计,只作热度参考,不代表质量结论。

SKILL.md 原文

Install Plugin To Socket

Wire an in-development Codex plugin into Codex's documented local plugin surfaces.

This skill is for local Codex plugin development workflows. It does not publish plugins, does not manage the official plugin directory, and does not claim undocumented control over Codex's installed-plugin cache internals.

Inputs

  • Required: source plugin directory

- for mutating actions, this must be the plugin root containing .codex-plugin/plugin.json - verify may also accept a repo root that contains exactly one staged plugin under plugins/ or exactly one marketplace-resolved plugin root

  • Optional: scope

- default: personal - repo - personal

  • Optional: config path override

- --config <path> - when omitted, resolve defaults from: - .codex/profiles/install-plugin-to-socket/customization.yaml - ~/.config/gaelic-ghost/agent-plugin-skills/install-plugin-to-socket/customization.yaml

  • Optional: target repo root when scope=repo

- default: current working directory when the helper is run from the target repo

  • Optional: action

- install - update - uninstall - verify - repair - enable - disable - promote

  • Optional: install mode

- default: copy - copy - symlink

  • Optional: Codex config path override

- --codex-config-path <path>

  • Optional: whether the request is check-only planning or real apply behavior

Workflow

  1. Confirm the task is local Codex plugin wiring, not generic plugin authoring or metadata review.
  2. Resolve the effective source plugin root and read the plugin manifest at .codex-plugin/plugin.json.

- Keep repo-root source auto-detection as a verify-only convenience. - For install, update, uninstall, repair, enable, disable, and promote, require the canonical plugin root directly.

  1. Infer the plugin name, version, description, interface metadata, and optional plugin surfaces from that manifest.
  2. Use scripts/install_plugin_to_socket.py in check-only mode first.
  3. Resolve the effective install scope in this order:

- explicit --scope - explicit --config - repo profile - global profile - built-in default personal

  1. For personal scope, target:

- ~/.codex/plugins/<plugin-name> - ~/.agents/plugins/marketplace.json

  1. For repo scope, target:

- $REPO_ROOT/plugins/<plugin-name> - $REPO_ROOT/.agents/plugins/marketplace.json

  1. Keep marketplace source.path relative to the marketplace root, prefixed with ./, and inside that root.
  2. Merge one plugin entry into the marketplace without overwriting unrelated entries.
  3. Default to the documented Codex local-plugin flow:

- stage the plugin at the repo or personal plugin path - point the marketplace entry at that staged path - for personal-scope install, also write the plugin enabled state to ~/.codex/config.toml with enabled = true

  1. Use copy mode as the default because it matches the current OpenAI examples for local plugin installs and gives Codex a stable staged plugin tree to recache from.
  2. Treat update as the update workflow when the source clone is ahead of the staged install copy. It should recopy the source plugin tree into the staged path and rewrite the marketplace entry if needed.
  3. Treat verify as the audit-oriented workflow for checking whether the staged plugin tree, marketplace entry, optional plugin surfaces, and config-state expectations still match the source plugin.
  4. Treat repair as the bounded repair workflow when the intended staged plugin should keep its current scope, but the local install surface drifted. In repo scope, it may also normalize the common legacy case where the repo's own plugin marketplace entry still points at ./ instead of ./plugins/<plugin-name>.
  5. Treat enable and disable as explicit Codex config-state workflows backed by ~/.codex/config.toml entries in the form [plugins."plugin-name@marketplace-name"].
  6. Treat promote as the bounded workflow that copies the source plugin into personal scope, writes the personal marketplace entry, carries forward the repo install's enabled-state if present, and then removes the repo-local install surface.
  7. Treat symlink mode as an advanced local-dev override only when a maintainer explicitly wants a staged in-scope symlink instead of the documented copied tree.
  8. For install, update, and repair, materialize the staged plugin path in the chosen mode and update the marketplace entry.
  9. For personal-scope install, enable the plugin by default in ~/.codex/config.toml after wiring the staged plugin tree and marketplace entry.
  10. For uninstall, remove only the matching marketplace entry, staged plugin path, and matching plugin config-state entry for that install target.
  11. After apply behavior, tell the maintainer to restart Codex and verify that the plugin appears in the plugin directory or reflects the intended enabled-state.

Usage Examples

  • Personal install:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root plugins/agent-plugin-skills --action install --run-mode apply - this now enables the personal-scope plugin by default in ~/.codex/config.toml

  • Repo-local install:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --scope repo --repo-root /path/to/target-repo --action install --run-mode apply

  • Update a staged copied install after source changes:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --action update --run-mode apply

  • Remove a local install cleanly:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --action uninstall --run-mode apply

  • Verify an already wired install without mutating it:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --action verify --run-mode check-only --print-md

  • Repair a drifted install surface in one pass:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --scope repo --repo-root /path/to/target-repo --action repair --run-mode apply

  • Enable or disable a wired plugin in Codex config:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --action enable --run-mode apply - uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --action disable --run-mode apply

  • Promote a repo-local install into personal scope:

- uv run python skills/install-plugin-to-socket/scripts/install_plugin_to_socket.py --source-plugin-root /path/to/plugin --scope repo --repo-root /path/to/target-repo --action promote --run-mode apply

Repairing Drifted Installs

Use this skill as the repair surface for bad or stale local Codex plugin installs.

Common repair cases:

  • missing-target-plugin-root

- The marketplace entry exists, but the staged plugin path is missing. - Fix: rerun install in the intended mode.

  • missing-marketplace-entry

- The staged plugin path exists, but the marketplace does not expose it. - Fix: rerun install in the intended mode.

  • stale-marketplace-entry

- The marketplace entry points at the wrong staged path or has stale metadata. - Fix: rerun update in the intended mode.

  • stale-target-materialization

- The staged plugin path is present, but its materialization does not match the requested mode. - Fix: rerun update with the intended copy or symlink mode.

  • stale-target-copy

- The staged plugin tree is a copied install, but its contents no longer match the current source plugin tree. - Fix: rerun update in copy mode so the staged Codex install path is updated from the source clone.

  • invalid-marketplace-entry-empty-relative-source-path

- A repo-local marketplace entry points at ./, which Codex may reject for the whole marketplace. - Fix: run repair in repo scope so the repo's own plugin is restaged under plugins/<plugin-name>/ and the marketplace entry is rewritten to that staged path.

  • missing-plugin-enabled-state

- Codex config does not include an explicit enabled-state entry for the plugin key. - Fix: rerun install for a missing personal install default-enable, or rerun enable / disable when the intended state differs.

  • stale-plugin-enabled-state

- Codex config includes a plugin entry, but the enabled-state does not match the requested workflow. - Fix: rerun enable or disable, depending on the intended state.

  • missing-mcp-surface, missing-app-surface, missing-hooks-config, missing-interface-asset

- The source plugin manifest or optional plugin packaging surfaces are incomplete. - Fix: repair the plugin packaging before trusting the staged local install.

Preferred repair flow:

  1. Run the helper in check-only mode first.
  2. Confirm the intended scope and install mode.
  3. Use update when the staged path and marketplace entry should continue to exist but need to be rewritten.
  4. Use repair when the drift includes invalid repo-local marketplace wiring, a missing staged plugin root, or a legacy repo-root plugin entry that should be normalized to plugins/<plugin-name>/.
  5. Use install when a new personal install should take the default enabled path, and use enable or disable when marketplace wiring is correct but Codex config-state needs an explicit follow-up change.
  6. Use promote when a repo-local install should become the personal default install surface instead.
  7. Use uninstall and then install when the staged path belongs to the wrong source plugin, the wrong scope, or the wrong plugin name.
  8. Restart Codex after the repair so the local marketplace view and installed cache pick up the staged plugin changes.

Troubleshooting

  • If a repo-local plugin still does not show up after install, update, or repair, fully restart Codex in that repo. A live workspace can continue using the marketplace view it loaded before the install surface changed.
  • If /plugins still looks wrong after restart, check ~/.codex/log/codex-tui.log for marketplace warnings such as skipping marketplace or local plugin source path must not be empty.
  • Repo-local plugin visibility is scoped to the repo that owns .agents/plugins/marketplace.json. Use personal scope when the same plugin should be broadly available across repos.
  • The /plugins slash command ordering may not be intuitive or obviously alphabetical, so scan the full list before concluding a plugin is missing.

Remaining Gaps

  • This skill now manages Codex plugin enable or disable state through ~/.codex/config.toml, but it does not try to manage project-scoped .codex/config.toml overrides.
  • The current overwrite policy still uses replace-in-place semantics for staged targets; backup and fail-on-existing variants remain planned work.

Output Contract

  • Return a short summary plus JSON with:

- run_context - include config resolution context such as config_path and scope_source - scope - action - install_mode - source_plugin - target_plugin_root - marketplace_path - codex_config_path - plugin_config_key - findings - apply_actions - restart_required - verification_steps - errors

  • If there are no findings, no apply actions, and no errors, output exactly No findings.

Guardrails

  • Never overwrite an existing marketplace catalog wholesale.
  • Never point source.path outside the marketplace root.
  • Never point a repo marketplace directly at an adjacent plugin repo outside the chosen marketplace root; use a staged copy or a staged symlink path inside the scope root instead.
  • Never delete the source plugin repo during uninstall; only remove the staged install target path.
  • Never claim that updating the marketplace file alone installs a plugin into undocumented Codex internals.
  • Never use this skill to publish a plugin publicly.
  • Never touch Claude plugin wiring here; this skill is for Codex local plugin development surfaces.

References

  • references/customization-schema.md
  • references/local-plugin-install-notes.md

平台分布

Codex

35.62%
按下载量换算23

Claude

31.69%
按下载量换算21

Cursor

17.75%
按下载量换算12

Gemini CLI

10.55%
按下载量换算7

安全审计

Gen Agent Trust Hub

通过

Socket

通过

Snyk

通过

权限和风险

权限未标注

当前来源未能明确判断权限范围,默认进入异常复核队列。

安装前确认

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

继续浏览同类 Skills