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.
npx skills add LerianStudio/ring --skill adopting-lib-commons-huma-wrappergit clone --depth 1 https://github.com/LerianStudio/ringWrote 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.
[](https://agentmods.dev/skills/lerianstudio/ring/adopting-lib-commons-huma-wrapper)<a href="https://agentmods.dev/skills/lerianstudio/ring/adopting-lib-commons-huma-wrapper"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/adopting-lib-commons-huma-wrapper/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.
<a href="https://agentmods.dev/skills/lerianstudio/ring/adopting-lib-commons-huma-wrapper"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/adopting-lib-commons-huma-wrapper.svg" alt="Reviewed on agentmods" width="80" height="20"></a>- NVIDIA SkillSpector pass
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.
| Model | Per session | Once invoked |
|---|---|---|
| Fable 5.1 | $0.00142 | $0.05230 |
| Opus 5.5 | $0.00057 | $0.02092 |
| Sonnet 5.5 | $0.00028 | $0.01046 |
| Haiku 4.5 | $0.00014 | $0.00523 |
Grade A, and why
ring:adopting-lib-commons-huma-wrapper 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.
How it starts
The opening of the file, as written. The whole thing — 203 lines — stays where its author put it; the contents beside it link to each section on GitHub.
Adopt the lib-commons Huma OpenAPI Wrapper
When to use
- A Go service needs code-first OpenAPI 3.1 over Fiber (Huma) with RFC 9457
application/problem+jsonerrors - User asks to "adopt the lib-commons OpenAPI/problem wrapper", "use the shared Huma wrapper", "standardize error responses on RFC 9457"
- A service already carries a local copy of the wrapper (
internal/shared/adapters/openapi,shared/openapi,shared/humaerr, a hand-rolledhuma.NewErroroverride) and should move onto the sharedlib-commons/v5/commons/net/http/{openapi,problem} - A service is still on swaggo/swag (Swagger 2.0) and is migrating to Huma
Skip when
- Service is not a Go project
- Task does not involve an HTTP API / OpenAPI spec
- The service genuinely needs a bespoke error envelope that is NOT RFC 9457 (rare; challenge it first)
- Documentation-only or non-code task
You orchestrate. Agents implement. NEVER use Edit/Write/Bash on Go source files — all code changes go through Task(subagent_type="ring:backend-go"). TDD mandatory for implementation gates (RED → GREEN → REFACTOR). The orchestrator owns git (commit/push/PR/release) and NEVER commits without the user's go-ahead.
Architecture
The wrapper is two packages in lib-commons/v5 (minimum v5.6.0):
| Alias | Import Path | Purpose |
|---|---|---|
openapi |
github.com/LerianStudio/lib-commons/v5/commons/net/http/openapi |
Config, New (builds the humafiber API), DeclareBearerAuth, ServeSpec |
problem |
github.com/LerianStudio/lib-commons/v5/commons/net/http/problem |
Install (global huma.NewError override), MapError, Detail, BaseURI |
openapi.New(app, group, cfg) constructs the Fiber-v2 Huma API via humafiber.NewV2WithGroup (the default humafiber.New targets Fiber v3 — wrong major), strips Transformers/OnAddOperation/CreateHooks, and clears the auto-mounted /openapi.json + /docs (auto-mount is a latent production exposure — the spec must be served explicitly and gated). Config{Title, Version, Description, Servers}.
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.
- 1mo ago First seen · 203 lines · 142 tokens per session scan A 914dd6d91c70
ring:adopting-lib-commons-huma-wrapper is a skill published in the GitHub repository LerianStudio/ring (218 stars, last pushed 3d ago), licensed Apache-2.0. It adds 142 tokens to every session and 5,230 once invoked, about $0.0006 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-08-30.
Other skills, from other repositories
rust-skills
Comprehensive Rust coding guidelines with 265 rules across 26 categories. Use when writing, reviewing, or refactoring Rust code. Covers ownership, error handling, async patterns, concurrency, unsafe code, API design, memory optimization, performance, numeric safety, conversions, serde, pattern matching, macros…
mutation-test
Mutation testing with two engines. Uses the project's NATIVE mutation runner (StrykerJS / Infection / mutmut / PIT / cargo-mutants) when one is configured — installing it on explicit consent when it is not — for a reproducible, comparable score; and an LLM-guided engine for the mutation classes native mutators cannot…
content-audit
Content file quality audit across 8 dimensions (CC1-CC8): encoding artifacts (NBSP, mojibake, zero-width), markdown syntax (broken italic, orphan backslash), CMS migration artifacts (Joomla/WordPress/PHP), frontmatter quality, image integrity, link integrity with anchor validation, content completeness, and…
standards
Use this agent when you need to evaluate code, architecture, or development practices against the NASAB framework principles and Rust best practices.
update-deps
Update Python dependencies or pre-commit hooks while preserving the project's pin and configuration style.
infra-audit
Server / infrastructure security audit of LIVE hosts over SSH (12 dimensions IS1-IS12: SSH hardening, accounts, network exposure, TLS, firewall, patch posture, logging, web services, Docker, databases, filesystem, host secrets). Deterministic collector + parallel LLM analysts; dual-vantage (internal SSH + external via…