← 返回 Skills 市场
760
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install maven-central-publish
功能描述
Provides a standardized Maven workflow to publish Java artifacts to Maven Central using GPG signing and the modern Central Portal plugin.
安全使用建议
This skill appears to be exactly a Maven Central publish guide with matching templates — it is internally coherent. Before using it, avoid copying secrets verbatim into ~/.m2/settings.xml: do not store GPG passphrases or user tokens in plaintext. Prefer Maven settings encryption (settings-security.xml), CI secret storage, or using gpg-agent/loopback pinentry securely so the passphrase is not stored on disk. Review the templates and replace placeholder tokens with secret references managed by your CI or secret manager. Also be aware the example apt-get commands need root privileges and are just suggestions — run them only on machines you control. If you need higher assurance, request the skill author to provide documentation showing secure, non-plaintext handling of credentials (or to switch to recommending encrypted settings or environment-injected secrets).
功能分析
Type: OpenClaw Skill
Name: maven-central-publish
Version: 1.0.0
The skill is designed for a legitimate purpose (publishing to Maven Central) and uses standard tools and configurations. However, it instructs the agent to store sensitive credentials (Maven Central user token, GPG passphrase) in `~/.m2/settings.xml` (as shown in `SKILL.md` and `templates/settings.xml`). While a common practice for Maven, this represents a significant security risk if the file is not properly secured. Additionally, the `SKILL.md` instructs the agent to execute `gpg --keyserver keyserver.ubuntu.com --send-keys <KEY_ID>`, which involves an outbound network connection to publish a GPG public key. These actions, while plausibly needed for the stated purpose, involve handling and transmitting sensitive information, classifying the skill as suspicious due to these high-risk capabilities without clear malicious intent.
能力评估
Purpose & Capability
Name/description match the content: instructions, pom/templates, and advice all relate to publishing artifacts to Maven Central using GPG signing and the central-publishing plugin. Declared required binaries (maven, gpg) appear in a metadata block and the README references openjdk as well — all appropriate for the stated purpose.
Instruction Scope
SKILL.md stays on-topic (install maven/gnupg/openjdk, configure GPG loopback, populate ~/.m2/settings.xml, add plugins to pom, run mvn deploy). It does not instruct reading unrelated host files or exfiltrating data. However, it recommends storing sensitive credentials (user token and GPG passphrase) directly in ~/.m2/settings.xml which is a risky practice and should be avoided or replaced by secure alternatives.
Install Mechanism
This is an instruction-only skill with no install spec and no code files to execute — lowest install risk. The included apt-get snippets are examples (not automated installers) and reference common package sources. No downloads from untrusted external URLs are present.
Credentials
The skill requests no environment variables or external credentials in its metadata, which is proportionate. The instructions do, however, ask the user to place the Central Portal user token and the GPG passphrase in ~/.m2/settings.xml (plaintext). That is proportional to publishing but security-sensitive — storing secrets in plain files increases risk and better alternatives exist (Maven settings encryption, CI secret stores, gpg-agent, or prompting via secure pinentry).
Persistence & Privilege
Skill is not always-enabled, has normal user-invocable/autonomous settings, and does not request modification of other skills or system-wide agent settings. No privilege escalation or persistent background components are requested.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install maven-central-publish - 安装完成后,直接呼叫该 Skill 的名称或使用
/maven-central-publish触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release: Provides a complete, modern workflow for publishing to Maven Central via the Central Portal.
- Step-by-step environment setup, including GPG loopback and Maven settings.
- Project requirements, plugin configuration, and recommended best practices for artifact publishing.
- Detailed deployment instructions with troubleshooting for common errors.
- Supports Java/Kotlin libraries using Maven and GPG signing.
元数据
常见问题
maven-central-publish 是什么?
Provides a standardized Maven workflow to publish Java artifacts to Maven Central using GPG signing and the modern Central Portal plugin. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 760 次。
如何安装 maven-central-publish?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install maven-central-publish」即可一键安装,无需额外配置。
maven-central-publish 是免费的吗?
是的,maven-central-publish 完全免费(开源免费),可自由下载、安装和使用。
maven-central-publish 支持哪些平台?
maven-central-publish 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 maven-central-publish?
由 MISAKIGA(@misakiga)开发并维护,当前版本 v1.0.0。
推荐 Skills