ring:migrating-to-lib-observability

ring:migrating-to-lib-observability is a skill for Claude Code, Codex from LerianStudio/ring. It costs 104 tokens per session (10,824 once invoked), scanned A, original, Apache-2.0.

A migration guide for moving a Lerian Go application’s observability code from deprecated lib-commons imports to lib-observability. Observability means collecting logs, traces, metrics, and related runtime signals about an application.

In plain words
What is it for?
Use it to update logging, tracing, assertion, context, and HTTP or gRPC observability imports, adjust go.mod, and validate that the application still builds.
Why use it?
It removes old import paths and deprecation warnings, and helps restore builds when the older library no longer provides those APIs.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: names the AskUserQuestion tool.

Good fit Use it to update logging, tracing, assertion, context, and HTTP or gRPC observability imports, adjust go.mod, and validate that the application still builds.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/lerianstudio/ring/migrating-to-lib-observability
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add LerianStudio/ring --skill migrating-to-lib-observability
Clone the repo
git clone --depth 1 https://github.com/LerianStudio/ring

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for ring:migrating-to-lib-observability

README.md
[![agentmods](https://agentmods.dev/badge/skills/lerianstudio/ring/migrating-to-lib-observability.svg)](https://agentmods.dev/skills/lerianstudio/ring/migrating-to-lib-observability)
Your own site
<a href="https://agentmods.dev/skills/lerianstudio/ring/migrating-to-lib-observability"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/migrating-to-lib-observability.svg" alt="Measured on agentmods" height="20"></a>
Per session 104 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 10,824 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 1 finding, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Tool Misuse · line 718
    Tool defaults are unsafe or overly permissive (e.g. disabled TLS verification, no authentication, world-writable permissions). Unsafe defaults widen the attack surface.
    Fix: Override unsafe defaults with secure settings (verify=True, auth required, restrictive permissions). Review and harden all tool configurations.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00104 $0.10824
Opus 5 $0.00052 $0.05412
Sonnet 5 $0.00021 $0.02165
Haiku 4.5 $0.00010 $0.01082

Measured 4d ago against content hash e85ad11d73e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-07, from the pricing page.

Security

Grade A, and why

ring:migrating-to-lib-observability scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 4d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

dev-team/skills/migrating-to-lib-observability/SKILL.md · 840 lines

How it starts

The opening of the file, as written. The whole thing — 840 lines — stays where its author put it; the contents beside it link to each section on GitHub.

Migrate lib-commons Observability APIs to lib-observability

When to use

  • Application imports one or more lib-commons observability packages/symbols listed in the mapping table below
  • Team decision to eliminate deprecation warnings from lib-commons shims
  • lib-commons deprecation notices appear in IDE or go vet output
  • Application no longer builds because lib-commons has removed observability APIs and source imports still reference them

Skip when

  • Application already imports lib-observability for all observability concerns
  • Application has no imports of the lib-commons observability packages/symbols listed below
  • Application is lib-commons itself

Do NOT skip when:

  • "The app only imports log/ from lib-commons" → still migrate; log is an observability target
  • "The app uses streaming/kafka" → streaming is out of scope; only observability packages and HTTP/gRPC observability middleware migrate
  • "The app uses commons/opentelemetry for tracing bootstrap" → migrate when lib-observability/tracing exposes the target API (helper-only files first, bootstrap when type boundaries allow)
  • "go list or go build fails because lib-commons removed the observability APIs" → still migrate; this skill performs static source rewrites against the known mapping table even when the source packages no longer exist

Sequence

Runs before: (none) Runs after: (none)

Complementary: ring:using-ring, ring:running-dev-cycle, ring:reviewing-code, ring:fixing-lint, ring:using-lib-commons


Overview

This skill replaces imports/usages of lib-commons observability APIs with their canonical lib-observability equivalents.

Stable target baseline for this migration:

  • github.com/LerianStudio/lib-commons/v5 >= v5.7.0
  • github.com/LerianStudio/lib-observability >= v1.1.0
  • github.com/LerianStudio/lib-auth/v2 >= v2.8.0 when present
  • github.com/LerianStudio/lib-license-go/v2 >= v2.3.5 when present
  • github.com/LerianStudio/lib-streaming >= v1.3.1 when present
  • github.com/LerianStudio/lib-systemplane >= v1.0.0 when systemplane is used

Read the full file on GitHub · 840 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 4d ago First seen · 840 lines · 104 tokens per session scan A e85ad11d73e8

Subscribe to this mod's changes

ring:migrating-to-lib-observability is a skill published in the GitHub repository LerianStudio/ring (211 stars, last pushed 18d ago), licensed Apache-2.0. It adds 104 tokens to every session and 10,824 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.