← 返回 Skills 市场
athola

Nm Leyline Usage Logging

作者 athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ 安全检测通过
84
总下载
0
收藏
1
当前安装
1
版本数
在 OpenClaw 中安装
/install nm-leyline-usage-logging
功能描述
Consult this skill when implementing usage logging and audit trails
安全使用建议
This skill appears coherent and local-only, but note it writes and reads log files under your home directory. Before using: (1) ensure logs won't contain secrets or sensitive data, (2) set appropriate file permissions on ~/.claude/leyline/usage/ to limit access, (3) implement log rotation or retention to avoid unbounded growth, and (4) if you need centralized/secure storage, adapt the examples to send logs to a secure service rather than leaving them in plaintext. If you need further assurance, ask for the actual implementation (the UsageLogger class) to review exact IO and error handling behavior.
能力评估
Purpose & Capability
Name and description (usage logging, audit trails) align with the provided SKILL.md and module content. The skill documents session management, log schemas, read/write patterns, and query helpers — all coherent with a logging/audit helper.
Instruction Scope
Instructions and example code stay within logging concerns: creating/updating a session.json, appending/reading JSONL log files at ~/.claude/leyline/usage/{service}.jsonl, and query helpers. There are no instructions to call external endpoints, request unrelated system state, or exfiltrate data.
Install Mechanism
No install spec and no code files to execute beyond the included examples. As an instruction-only skill, it does not download or install external artifacts.
Credentials
The skill declares no required environment variables, credentials, or config paths. Its filesystem usage (per-user home directory logs) is proportional to the described function.
Persistence & Privilege
The skill is not always-enabled and does not request elevated or cross-skill configuration. Its persistent footprint (per-user log files under ~/.claude/leyline/usage/) is appropriate for a logging tool.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install nm-leyline-usage-logging
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /nm-leyline-usage-logging 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
- Initial release of the usage-logging skill, ported from claude-night-market/leyline. - Provides session-aware, structured JSONL logging for audit trails, analytics, and cost tracking. - Supports automatic session creation, unique session IDs, and 1-hour inactivity timeouts. - Includes easy logger initialization, operation logging, and usage querying methods. - Documented integration pattern and log storage details for streamlined adoption.
元数据
Slug nm-leyline-usage-logging
版本 1.0.0
许可证 MIT-0
累计安装 1
当前安装数 1
历史版本数 1
常见问题

Nm Leyline Usage Logging 是什么?

Consult this skill when implementing usage logging and audit trails. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 84 次。

如何安装 Nm Leyline Usage Logging?

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

Nm Leyline Usage Logging 是免费的吗?

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

Nm Leyline Usage Logging 支持哪些平台?

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

谁开发了 Nm Leyline Usage Logging?

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

💬 留言讨论