← 返回 Skills 市场
athola

Nm Leyline Service Registry

作者 athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ⚠ suspicious
77
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nm-leyline-service-registry
功能描述
Service registry patterns for managing external services, health checks, centralized configuration, and unified execution
安全使用建议
This skill is an instruction-only pattern for managing and executing external service CLIs. Before installing: (1) understand that at runtime the agent will build and run arbitrary commands (e.g., gemini, qwen) and may read environment variables and local config files — review any service configs you add to avoid exposing secrets; (2) note the skill does not declare the API key env vars it expects (e.g., GEMINI_API_KEY), so double-check what environment variables will be accessed and avoid placing high-value credentials in plain env if you don't trust the skill; (3) inspect or restrict the ~/.claude/leyline/services.yaml and any health_check_cmd/auth_check_cmd values to ensure they do not execute unsafe commands; (4) run the skill with least privilege (not as root) and limit which services/config entries are registered; (5) if you need higher assurance, request the author to declare required env vars and explicit config paths in metadata or provide a trimmed/sandboxed implementation.
功能分析
Type: OpenClaw Skill Name: nm-leyline-service-registry Version: 1.0.0 The skill provides a framework for managing and executing external CLI services via shell commands, which is an inherently high-risk capability. While it uses `shlex.split` in `modules/execution-patterns.md` to mitigate shell injection, the `SKILL.md` file contains highly repetitive instructions forcing the AI agent to execute shell commands for 'verification' purposes, which could be used to probe the host environment. Furthermore, the `_meta.json` file contains a future publication date (April 2026), which is often an indicator of automated or placeholder content generation.
能力标签
requires-oauth-token
能力评估
Purpose & Capability
The declared purpose (service registry, health checks, quota/usage logging) aligns with the declared required config paths (night-market.quota-management, night-market.usage-logging). However, the SKILL.md also expects per-service API key environment variables (e.g., GEMINI_API_KEY) and a local config file (~/.claude/leyline/services.yaml) but the metadata does not declare these env vars or that config path — a mismatch between claimed requirements and what the instructions actually use.
Instruction Scope
The instructions direct the agent to build and run external commands (e.g., gemini, qwen) and to read environment variables and YAML config. Building commands via templates and formatting prompts/files into them gives broad discretion to execute arbitrary CLI commands; while this is expected for a registry, the skill does not constrain or explicitly declare which env vars or config files it will access. The instructions also include examples of health_check_cmd and auth_check_cmd which may run arbitrary commands defined in configuration.
Install Mechanism
This is an instruction-only skill with no install spec and no code files to write to disk, which is the lowest install risk.
Credentials
Although the skill lists no required env vars in its metadata, the docs and examples rely on auth_env_var values (e.g., GEMINI_API_KEY, QWEN_API_KEY) and show loading from environment. The skill therefore implicitly expects credential-bearing environment variables without declaring them. That mismatch reduces transparency and could lead to accidental exposure of credentials.
Persistence & Privilege
The skill is not marked always:true and does not request to modify other skills or system-wide settings. Autonomous invocation is allowed (platform default) but not combined with other high-privilege flags.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nm-leyline-service-registry
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nm-leyline-service-registry 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the service-registry skill, providing a registry pattern for managing multiple external services. - Features centralized configuration, health checks, execution abstraction, auto-selection, and service failover patterns. - Supports easy registration and execution of services with authentication and quota management. - Includes guidance for integration, detailed configuration, execution patterns, and troubleshooting.
元数据
Slug nm-leyline-service-registry
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Nm Leyline Service Registry 是什么?

Service registry patterns for managing external services, health checks, centralized configuration, and unified execution. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 77 次。

如何安装 Nm Leyline Service Registry?

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

Nm Leyline Service Registry 是免费的吗?

是的,Nm Leyline Service Registry 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

Nm Leyline Service Registry 支持哪些平台?

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

谁开发了 Nm Leyline Service Registry?

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

💬 留言讨论