← 返回 Skills 市场
ianderrington

Universal Command Pattern

作者 ianderrington · GitHub ↗ · v1.0.0
cross-platform ✓ 安全检测通过
355
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install universal-command
功能描述
Define commands once, deploy to CLI, API, and MCP automatically. Use when building new commands/tools for Supernal — ensures consistent interfaces across all...
安全使用建议
This skill is internally coherent: it documents a pattern and points you to an npm package that implements it. Before you install or use it, verify the @supernal/universal-command package on npm (owner, weekly downloads, repository link, and published code). If you plan to expose generated APIs or MCP tools, review how auth and headers are handled (don't forward secrets or broad headers to agent tools), run a dependency audit (npm audit), and consider testing in a sandbox environment first. If you need higher assurance, ask for the package repository URL or inspect the exact package contents and its publish history before installing.
功能分析
Type: OpenClaw Skill Name: universal-command Version: 1.0.0 The skill bundle consists of `_meta.json` and `SKILL.md` documentation. The `SKILL.md` describes a framework for defining commands (`UniversalCommand`) that can be exposed via CLI, API, and to AI agents (MCP). While the framework allows developers to define arbitrary code in command handlers, which could be misused, the documentation itself contains no malicious code, data exfiltration attempts, or prompt injection instructions aimed at subverting the AI agent's behavior. The strong directives like 'DO NOT rebuild this pattern' are architectural recommendations for human developers, not malicious commands for the agent. The content is aligned with its stated purpose of documenting a development framework.
能力评估
Purpose & Capability
The name/description match the SKILL.md examples: defining a UniversalCommand and generating CLI, API, and MCP surfaces is exactly what the instructions and API reference show. No requested binaries, env vars, or config paths appear unrelated to that purpose.
Instruction Scope
SKILL.md contains concrete code examples and runtime instructions (npm install, createRuntimeServer, generateNextRoutes, startMCP transport). These are within the stated purpose. Minor note: examples include creating MCP tools and starting an MCP server with transport 'stdio' and reading request headers (e.g., x-user-id) — expected for exposing commands to agents/APIs but worth reviewing in your integration to avoid unintentionally exposing sensitive headers or endpoints.
Install Mechanism
The skill itself has no install spec (instruction-only), but the README instructs installing an npm package (@supernal/universal-command). This is proportional for the purpose. Because the skill points to an external npm package, verify the package's author, source, and contents before running npm install.
Credentials
No environment variables, credentials, or config paths are required by the skill metadata. The SKILL.md does reference using request headers and auth options for API generation, which is normal for this type of framework and does not imply the skill needs extra credentials itself.
Persistence & Privilege
always is false and the skill is user-invocable; it doesn't request permanent presence or modify other skills. Autonomous invocation is allowed (platform default) but not combined with other concerning flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install universal-command
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /universal-command 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release - define commands once, deploy to CLI/API/MCP
元数据
Slug universal-command
版本 1.0.0
许可证
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Universal Command Pattern 是什么?

Define commands once, deploy to CLI, API, and MCP automatically. Use when building new commands/tools for Supernal — ensures consistent interfaces across all... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 355 次。

如何安装 Universal Command Pattern?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install universal-command」即可一键安装,无需额外配置。

Universal Command Pattern 是免费的吗?

是的,Universal Command Pattern 完全免费(开源免费),可自由下载、安装和使用。

Universal Command Pattern 支持哪些平台?

Universal Command Pattern 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Universal Command Pattern?

由 ianderrington(@ianderrington)开发并维护,当前版本 v1.0.0。

💬 留言讨论