← Back to Skills Marketplace
athola

Nm Leyline Usage Logging

by athola · GitHub ↗ · v1.0.0 · MIT-0
cross-platform ✓ Security Clean
84
Downloads
0
Stars
1
Active Installs
1
Versions
Install in OpenClaw
/install nm-leyline-usage-logging
Description
Consult this skill when implementing usage logging and audit trails
Usage Guidance
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.
Capability Assessment
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.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install nm-leyline-usage-logging
  3. After installation, invoke the skill by name or use /nm-leyline-usage-logging
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
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.
Metadata
Slug nm-leyline-usage-logging
Version 1.0.0
License MIT-0
All-time Installs 1
Active Installs 1
Total Versions 1
Frequently Asked Questions

What is Nm Leyline Usage Logging?

Consult this skill when implementing usage logging and audit trails. It is an AI Agent Skill for Claude Code / OpenClaw, with 84 downloads so far.

How do I install Nm Leyline Usage Logging?

Run "/install nm-leyline-usage-logging" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is Nm Leyline Usage Logging free?

Yes, Nm Leyline Usage Logging is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does Nm Leyline Usage Logging support?

Nm Leyline Usage Logging is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created Nm Leyline Usage Logging?

It is built and maintained by athola (@athola); the current version is v1.0.0.

💬 Comments