一键导入
my-plugin
This skill should be used when the user asks to query, inspect, create, update, or delete My Plugin resources, or mentions My Plugin by name.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
This skill should be used when the user asks to query, inspect, create, update, or delete My Plugin resources, or mentions My Plugin by name.
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Implement or update the full CI/CD pipeline for a lab plugin. Use when the user wants to add or update GitHub Actions workflows (ci.yaml, publish-image.yaml, release-on-main.yaml), configure pre-commit or lefthook, set up automated releases, audit an existing pipeline for drift, or sync Justfile targets with CI steps.
Bring an existing MCP plugin into full alignment with the homelab canonical plugin spec. Use when the user wants to update a plugin to current standards, replace stale scaffolding with the `plugin-templates` repo, reconcile manifest drift, standardize Docker and CI files, or turn a review report into a concrete alignment plan and implementation.
Containerize and deploy a lab plugin using Docker and Docker Compose. Use when the user wants to create or update a Dockerfile, docker-compose.yaml, entrypoint.sh, or health endpoint; audit an existing container config for drift; or plan a deploy strategy for a plugin. Trigger phrases include "Dockerize my Rust plugin", "containerize my Python MCP server", "set up Compose for my TypeScript plugin".
Research current primary-source guidance for MCP, Claude Code plugins, Codex plugins, and the language/runtime stack used by homelab plugins. Use when the user asks "what changed in the MCP SDK", "is this transport pattern still current", "find the latest docs for X", "before I scaffold this plugin I need to know...", or any time up-to-date information about MCP protocol changes, plugin manifests, SDK versions, transport patterns, package choices, Docker guidance, or the latest official docs is needed to scaffold, review, or align a plugin.
Review an MCP plugin against the homelab canonical plugin spec and identify any and all misalignments. Use when the user wants a plugin audited for spec drift, wants to compare a plugin to canonical manifests and runtime patterns, wants to know whether deviations are documented and justified, or wants a detailed plugin review report.
Create a new MCP plugin scaffold aligned to the homelab canonical plugin spec. Use when the user wants to create a new plugin repo, scaffold a plugin in Python, Rust, or TypeScript, choose manifests and runtime files, define commands/agents/skills, or turn docs and API references into an implementation plan for a new plugin.
| name | my-plugin |
| description | This skill should be used when the user asks to query, inspect, create, update, or delete My Plugin resources, or mentions My Plugin by name. |
Target path relative to plugin root: skills/my-plugin/SKILL.md
This template intentionally shows the full skill shape we expect plugin authors to fill in.
Plugin-safe fields shown in the live example:
namedescriptionargument-hintdisable-model-invocationuser-invocableallowed-toolsmodeleffortcontextagenthookspathsshellBroader notes:
description is the most important field for model-driven invocation.context: fork and agent are paired fields when you want isolated execution.MCP mode: Use when the plugin tool is installed and available.
HTTP fallback mode: Use only when MCP tooling is unavailable.
Credential source:
${user_config.my_service_mcp_url}$CLAUDE_PLUGIN_OPTION_MY_SERVICE_URL$CLAUDE_PLUGIN_OPTION_MY_SERVICE_API_KEYSingle tool:
mcp__my-plugin-mcp__my_pluginCommon fields used by the action/subaction pattern:
actionsubactionidnamequerypagepage_sizesortorderfiltersconfirmlistgetcreateupdatedeletemcp__my-plugin-mcp__my_plugin
action: "list"
query: "active"
page: 1
page_size: 25
sort: "created_at"
order: "desc"
mcp__my-plugin-mcp__my_plugin
action: "get"
id: "resource-123"
mcp__my-plugin-mcp__my_plugin
action: "create"
name: "example"
subaction: "validate"
mcp__my-plugin-mcp__my_plugin
action: "update"
id: "resource-123"
subaction: "enable"
mcp__my-plugin-mcp__my_plugin
action: "delete"
id: "resource-123"
confirm: true
Use curl with MY_SERVICE_URL and MY_SERVICE_API_KEY.
# List resources
curl -s "$CLAUDE_PLUGIN_OPTION_MY_SERVICE_URL/api/v1/resources" \
-H "X-Api-Key: $CLAUDE_PLUGIN_OPTION_MY_SERVICE_API_KEY"
# Get resource
curl -s "$CLAUDE_PLUGIN_OPTION_MY_SERVICE_URL/api/v1/resources/$RESOURCE_ID" \
-H "X-Api-Key: $CLAUDE_PLUGIN_OPTION_MY_SERVICE_API_KEY"
# Create resource
curl -s -X POST "$CLAUDE_PLUGIN_OPTION_MY_SERVICE_URL/api/v1/resources" \
-H "X-Api-Key: $CLAUDE_PLUGIN_OPTION_MY_SERVICE_API_KEY" \
-H "Content-Type: application/json" \
-d '{"name":"example"}'
Preferred response contract:
successactionsubactiondatamessageerrorstimestampAlways confirm before delete or irreversible update operations.