ring:using-lib-systemplane

ring:using-lib-systemplane is a skill for Claude Code, Codex from LerianStudio/ring. It costs 106 tokens per session (8,349 once invoked), scanned A, original, Apache-2.0.

A guide to a runtime configuration system that reloads selected settings while a service is running, using PostgreSQL notifications or MongoDB change streams.

In plain words
What is it for?
Use it to register reloadable settings, scope them to tenants, react to changes, read typed values, and safely expose the administration endpoint.
Why use it?
It replaces custom file watchers, restart signals, and hand-built configuration administration while keeping startup-only secrets and connection details separate.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: mentions Claude Code.

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.

agentmods
npx agentmods add skills/lerianstudio/ring/using-lib-systemplane
Any agent
npx skills add LerianStudio/ring --skill using-lib-systemplane
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:using-lib-systemplane

README.md
[![agentmods](https://agentmods.dev/badge/skills/lerianstudio/ring/using-lib-systemplane.svg)](https://agentmods.dev/skills/lerianstudio/ring/using-lib-systemplane)
Your own site
<a href="https://agentmods.dev/skills/lerianstudio/ring/using-lib-systemplane"><img src="https://agentmods.dev/badge/skills/lerianstudio/ring/using-lib-systemplane.svg" alt="Measured on agentmods" height="20"></a>
Per session 106 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 8,349 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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.00106 $0.08349
Opus 5 $0.00053 $0.04175
Sonnet 5 $0.00021 $0.01670
Haiku 4.5 $0.00011 $0.00835

Measured 3d ago against content hash 62d22bdf4e5b, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-06, from the pricing page.

Security

Grade A, and why

ring:using-lib-systemplane 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 3d 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/using-lib-systemplane/SKILL.md · 558 lines

How it starts

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

ring:using-lib-systemplane

When to use

Sweep mode:

  • "Sweep the codebase for lib-systemplane opportunities"
  • "Find where we hot-reload config DIY (SIGHUP, fsnotify, viper.WatchConfig)"
  • "Audit this service for lib-systemplane adoption"
  • "Find raw pgx LISTEN / Mongo change-stream watchers wired against config tables"
  • "Detect v4 systemplane residue (Supervisor, BundleFactory, SYSTEMPLANE_* env vars)"

Reference mode:

  • "What does lib-systemplane provide?"
  • "How do I construct the client for Postgres / MongoDB?"
  • "Show me Register vs RegisterTenantScoped"
  • "Which read accessor should I use for a duration / int / bool?"
  • "How do OnChange and OnTenantChange differ?"
  • "How do I mount the admin HTTP surface safely?"
  • "What does the test harness look like?"

Skip when

  • Working on non-Go services
  • Working on frontend code
  • Target codebase has zero hot-reloadable runtime knobs (everything is static env-var-at-startup config — DSNs, TLS material, listen addresses, secrets stay outside the plane)
  • Task is documentation-only or non-code

Migration partner: ring:migrating-to-lib-systemplane — end-to-end 11-gate migration cycle. This skill is the adoption/reference counterpart; the migration skill is the transformation pipeline. Similar: [[ring:using-lib-commons]], [[ring:using-lib-observability]], [[ring:using-runtime]], [[ring:using-assert]]


Mode Selection

Request Shape Mode
"Sweep / audit / find DIY runtime config / migrate to lib-systemplane" Sweep
"What does lib-systemplane provide for X?" Reference
"How do I initialize / register / subscribe?" Reference
"Replace our fsnotify + SIGHUP plumbing with lib-systemplane" Sweep
"Wire admin routes onto our Fiber app" Reference

Module Facts (lock-checked)

  • Module path: github.com/LerianStudio/lib-systemplane
  • Go version: 1.26.3+
  • Tenant context: github.com/LerianStudio/lib-commons/v5 v5.0.2 (via tenant-manager/core)
  • Observability: github.com/LerianStudio/lib-observability v1.1.0 (log.Logger, tracing.Telemetry, runtime.RecoverAndLog)
  • Dual backend: Postgres 13+ (LISTEN/NOTIFY) or MongoDB 4.4+ (change streams; polling fallback for standalone deployments)
  • Provisioning: migration-only via systemplane.SchemaSQL() + systemplane.DefaultSeedSQL() public artifacts. Runtime DDL hook (runSchema) was removed in v1.6.0. Consumers vendor the artifacts into their own SQL migration pipeline via the make systemplane-ddl generator pattern — see ring:migrating-to-lib-systemplane Gate 3.5 and multi-tenant.md §27 "Cold-tenant resolution"
  • License: Elastic 2.0
  • Scope: runtime-mutable knobs only — never bootstrap-only material (DSNs, TLS, listen addresses, secrets)

Read the full file on GitHub · 558 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. 3d ago First seen · 558 lines · 106 tokens per session scan A 62d22bdf4e5b

Subscribe to this mod's changes

ring:using-lib-systemplane is a skill published in the GitHub repository LerianStudio/ring (211 stars, last pushed 17d ago), licensed Apache-2.0. It adds 106 tokens to every session and 8,349 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.