ring:migrating-to-lib-observability

ring:migrating-to-lib-observability is a skill for Cursor 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 Cursor

Written for Cursor: shipped in a Cursor plugin. Also seen: names the AskUserQuestion tool.

Part of the ring-dev-team plugin — 35 skills, 24 agents shipped together

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: Cursor.

Or install ring-dev-team, the plugin that ships this one along with the rest of its 35 skills, 24 agents.

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/github.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/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for ring:migrating-to-lib-observability

Your own site · 80×15
<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="Reviewed on agentmods" width="80" 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.5 $0.00042 $0.04330
Sonnet 5.5 $0.00021 $0.02165
Haiku 4.5 $0.00010 $0.01082

Measured 1mo ago against content hash e85ad11d73e8, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-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 1mo 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. 1mo 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 (218 stars, last pushed yesterday), licensed Apache-2.0. It adds 104 tokens to every session and 10,824 once invoked, about $0.0004 per session on Opus 5.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.

Related

Other skills, from other repositories

api-audit

API and endpoint integrity audit across 10 dimensions (D1-D10) plus optional contract stability (D11) and optional OWASP API Security Top 10 (D12: BOLA/BOPLA/BFLA, mass assignment, JWT alg-confusion, GraphQL introspection). Covers validation, payloads, pagination, errors, caching, HTTP semantics, waterfalls, rate…

greglas75/zuvo · 135 tokens

performance-audit

Full-stack performance health check across 12 dimensions. Rendering, bundles, assets, API/network, algorithms, memory, database, caching, Web Vitals, backend runtime, concurrency, and framework-specific pathologies. Evidence-based Impact Models with confidence tiers and a prioritized optimization roadmap. Switches…

greglas75/zuvo · 90 tokens

docs

Write and update technical documentation from actual codebase analysis. Generates README, API reference, runbook, onboarding guide, or changelog. Supports update mode that patches stale sections without rewriting from scratch. Modes: readme [path], api [path], runbook [topic], onboarding, update [file], changelog…

greglas75/zuvo · 68 tokens

leads

B2B lead discovery and enrichment skill. Finds company addresses, employee emails, and phone numbers filtered by industry, geography, role, and company size. 100% free-tier: orchestrates Claude Code's native WebSearch and WebFetch plus free OSINT subprocesses (theHarvester, crt.sh, whois, GitHub API, OSM Overpass, DNS…

greglas75/zuvo · 178 tokens

laravel-audit-dsa

Run a read-only, orchestrated audit of a Laravel codebase for data structures, state representation, algorithms, and ownership. Use when asked for a DSA audit, subsystem inventory, or Aaron-style bounded agent audit.

MrPunyapal/laravel-auditor · 51 tokens

argot-suggest-rules

Turn a convention argot has already discovered into a scripted custom rule. Runs argot conventions, surfaces the repo's mined placement conventions (where a kind of code lives — "validation in schema files", "DB access only in migrations", "business logic in the service layer, not views") and internal-API vocabulary…

get-tmonier/argot · 173 tokens