cli-forge-oci-rootless

A migration guide for turning software installed with Ansible, shell scripts, virtual machines, or system services into a rootless OCI container product. OCI is a common standard for packaging and running containers without requiring administrator access.

In plain words
What is it for?
Use it to plan and document migrations to Podman, rootless Docker, nerdctl, systemd user services, Quadlet, or Compose-based deployments.
Why use it?
It helps separate lasting operational requirements from old deployment scripts and produces a deployment model that can run without root privileges.

Skill for Claude CodeCodex

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/destynova2/cli-code-skills/cli-forge-oci-rootless
Any agent
npx skills add Destynova2/cli-code-skills --skill cli-forge-oci-rootless
Clone the repo
git clone --depth 1 https://github.com/Destynova2/cli-code-skills

Made for: Claude Code, Codex.

Per session 135 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 6,514 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. 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 $0.00135 $0.06514
Opus 5 $0.00068 $0.03257
Sonnet 5 $0.00027 $0.01303
Haiku 4.5 $0.00014 $0.00651

Measured 2d ago against content hash f302d6dadbf4, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

cli-forge-oci-rootless scanned grade A with 1 finding 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 2d 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.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

- no curl/wget/nc/ncat/ss — healthcheck uses app binary only
cli-forge-oci-rootless/SKILL.md · 596 lines

How it starts

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

Optimization: Heavy operational patterns live in references/ and are loaded only when needed. The skill must remain useful if copied without those files: keep the core workflow below self-contained, and treat references as accelerators.

Language rule: Skill instructions are written in English. Detect the project's dominant language from README, docs, comments, issues, and recent commits. Produce user-facing reports in that language. If the user writes in French, prefer French unless repository evidence strongly indicates otherwise.

Gotchas: If this skill is installed inside cli-code-skills, read ../gotchas.md before producing output.

Forge OCI Rootless — Lithic Contract-to-Product Migration

Do not migrate scripts into containers. Extract the operational bedrock, refine it, then forge an operable OCI alloy.

You are an architecture, operations, and migration orchestrator. Your job is to transform a historical Ansible/bare-metal/VM/service-shell system into an operable rootless OCI product without confusing legacy sediment with durable contract.

The target model is:

  • separated OCI artifacts
  • rootless container runtime (podman rootless, docker rootless, nerdctl, or equivalent)
  • systemd --user lifecycle (or equivalent service manager)
  • declarative unit definitions (Quadlet, compose, systemd units, or equivalent)
  • explicit host bootstrap
  • one public operator CLI
  • executable validation gates
  • local and remote supervision
  • backup, restore, rerun, reboot, and degraded-mode proof

Runtime note: This skill uses Podman rootless + Quadlet as the reference implementation because it is the most mature rootless-native stack with systemd integration. The principles and contracts apply to any OCI-compliant runtime. Adapt runtime-specific commands (podman → docker/nerdctl, Quadlet → compose/units) to your environment.

This is not a Dockerization checklist. A stateful middleware is a geological formation: layers accumulated over time, stress lines at interfaces, valuable ore mixed with accidental gangue, and hidden faults that only appear under pressure. The container is only one refined component of the final alloy.


Read the full file on GitHub · 596 lines

Files

What ships with it

8 files beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

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. 2d ago First seen · 596 lines · 135 tokens per session scan A f302d6dadbf4

Subscribe to this mod's changes

cli-forge-oci-rootless is a skill published in the GitHub repository Destynova2/cli-code-skills (5 stars, last pushed 10d ago), licensed MIT. It adds 135 tokens to every session and 6,514 once invoked, about $0.0007 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

add-flavor

Add a new MegaLinter flavor (language-specific Docker image). Use when creating a new specialized Docker image variant.

oxsecurity/megalinter · 27 tokens

ring:creating-helm-charts

Creating Helm charts to Lerian conventions via ring:helm: standardized chart structure, full env-var coverage from .env.example, security defaults (runAsNonRoot, readOnlyRootFilesystem), ClusterIP-only services, and health probes; validates helm lint and template render. Use when creating, modifying, or reviewing a…

LerianStudio/ring · 92 tokens

troubleshoot-ssi

Diagnose and fix Single Step Instrumentation (SSI) issues on Kubernetes — SSI automatically instruments applications for APM without code changes. Only use if the agent and SSI are already configured but traces are missing or instrumentation is not working.

neverinfamous/mysql-mcp · 52 tokens

vibe-ship

Generates a complete, production-ready deployment setup for any app in one pass -- Dockerfile, docker-compose.yml, .dockerignore, CI/CD (GitHub Actions), scalability config (health checks, resource limits, K8s on request), and security hardening (non-root user, secrets, dependency scanning). Auto-detects the stack…

sudais-khalid/vibe-ship · 214 tokens

container

Host-side setup, configuration, customization, builds, migration, and troubleshooting for the Aerovato Container CLI. Use when working with Aerovato Container, settings.json, Dockerfile.User, build stages, V2-to-V3 migration, mounts, harnesses, tools, permissions, Docker, or Podman. Do not use it to expose host…

aerovato/container · 78 tokens

ds-deploy

Deployment and infrastructure — containerization, deployment, monitoring, incident response. Use when deploying an app, setting up containers/monitoring, or planning incident response.

sungurerdim/dev-skills · 36 tokens