molyanov-ai-dev: Skill for Codex

.codex/skills/infrastructure-setup/SKILL.md

infrastructure-setup is a skill for Codex from pavel-molyanov/molyanov-ai-dev. It costs 113 tokens per session (1,587 once invoked), scanned A, original, MIT.

A set of project rules and review criteria for infrastructure work, including local setup, Docker, Git hooks, automated build and delivery pipelines, releases, monitoring, backups, and operations. It also defines how Claude-side files are synchronized to Codex-side files.

In plain words
What is it for?
Use it when setting up infrastructure, changing automated delivery, preparing a deployment or release file, configuring Docker or monitoring, or applying the project's Claude-to-Codex sync process.
Why use it?
It makes infrastructure changes follow the project's established conventions and requires generated files to be reviewed after synchronization.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions AGENTS.md.

This is pavel-molyanov/molyanov-ai-dev's own configuration. It tells Codex how to work on molyanov-ai-dev itself, so it is not a mod to install elsewhere. Copy it as a starting point and replace the rules that are about this project. Everything molyanov-ai-dev configures →

Reuse

Borrowing it

Nothing to install: this file belongs to pavel-molyanov/molyanov-ai-dev. Take a copy, put it at the same path in your own repository, and replace the rules that are about this project with yours.

Copy the file
curl -O https://raw.githubusercontent.com/pavel-molyanov/molyanov-ai-dev/main/.codex/skills/infrastructure-setup/SKILL.md
Clone the repo
git clone --depth 1 https://github.com/pavel-molyanov/molyanov-ai-dev

Made for: 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 infrastructure-setup

README.md
[![agentmods](https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup/github.svg)](https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup)
Your own site
<a href="https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup"><img src="https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup/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 infrastructure-setup

Your own site · 80×15
<a href="https://agentmods.dev/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup"><img src="https://agentmods.dev/badge/skills/pavel-molyanov/molyanov-ai-dev/infrastructure-setup.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 113 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,587 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 pass 7 Sept 2026
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.00113 $0.01587
Opus 5 $0.00056 $0.00794
Sonnet 5 $0.00023 $0.00317
Haiku 4.5 $0.00011 $0.00159

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

Security

Grade A, and why

infrastructure-setup 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 12d 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.

.codex/skills/infrastructure-setup/SKILL.md · 122 lines

How it starts

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

Infrastructure Conventions

Manual Claude-to-Codex Sync

Claude-side is the source of truth for the converter's allowlist: global skills/**, agents/*.md, and commands/*.md; or project CLAUDE.md, .claude/skills/**, .claude/agents/*.md, and .claude/commands/*.md. Codex-side outputs are generated runtime. No scheduled job performs this conversion. After editing an allowlisted source, run the matching command and review the generated result before finishing:

~/.claude/scripts/sync-to-codex.sh --apply                   # global ~/.claude/**
~/.claude/scripts/sync-to-codex.sh --project "$PWD" --apply  # project .claude/**

For a project, commit generated .codex/** and AGENTS.md changes with their Claude sources, except host-local .codex/.sync/**. Global ~/.codex/** is runtime state outside the ~/.claude repository: run the global command explicitly on every affected host and do not add it to the Claude-source commit. If sync reports a conflict or validation error, stop and report it.

Scope and Judgment

  • Project Knowledge is required infrastructure context. If it is absent, stop and ask the user to create or fill it before continuing.
  • The user's request defines which changes are authorized. A request to inspect, review, or assess current infrastructure authorizes diagnosis and recommendations, not implementation.
  • Existing architecture and Project Knowledge are the current contract, not proof that the setup is good. Report demonstrated defects, unnecessary complexity, unsafe behavior, operational risks, and worthwhile improvements instead of silently accepting them.
  • Do not implement an improvement outside the user's request merely because it is beneficial. Explain the evidence, impact, and proposed direction, then obtain agreement before changing it.
  • Discuss the situation with the user when material information is missing or contradictory, an action can affect production, users, data, secrets, or neighboring projects, the safe result is uncertain, the current setup appears wrong, or the intended response expands the request.
  • Treat a rare or unagreed operational scenario as a user decision even when its correction looks local. Ask before adding or changing delivery, recovery, monitoring, isolation, persistent state, infrastructure entities, dependencies, architecture, or material complexity.
  • Apply only the topic rules relevant to the request; these are conventions, not a required setup sequence.

Read the full file on GitHub · 122 lines

Files

What ships with it

3 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. 12d ago First seen · 122 lines · 113 tokens per session scan A 6b416c20c093

Subscribe to this mod's changes

infrastructure-setup is a skill published in the GitHub repository pavel-molyanov/molyanov-ai-dev (286 stars, last pushed 19d ago), licensed MIT. It adds 113 tokens to every session and 1,587 once invoked, about $0.0006 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-08-30.

Related

Other skills, from other repositories

deployment-patterns

Deployment workflows, CI/CD pipeline patterns, Docker containerization, health checks, rollback strategies, and production readiness checklists for web applications. Use when setting up deployment infrastructure or planning releases.

affaan-m/ECC · 41 tokens

gear

Managing dependencies, CI/CD, advanced GitHub Actions workflows, containers, secrets, and operational config. Use for build, workflow, or environment work.

simota/agent-skills · 32 tokens

devops

You are the DevOps Specialist -- the single authority on version control, CI/CD pipelines, platform operations (GitHub, Azure DevOps, GitLab), infrastructure, deployment, backup, and cleanup. If it touches git, pipelines, or production infrastructure, it's yours.

samibs/skillfoundry · 6 tokens

devops-zeroclaw-coordination-rules

ZEROCLAW COORDINATION RULES — extracted from roles.json deepPrompt for devops.

iampantherr/SecureContext · 29 tokens

dockerized-service-release-deployment-workflow

Create a Dockerized-service release contract with clean GitHub Actions builds, main-anchored tags, immutable digest manifests, published-release deployments, production approval, health checks, and exact-digest rollback.

gaelic-ghost/socket · 49 tokens

cuelabs-delivery-standard

Audit, create, or standardize CueLABS delivery systems. Use for GitHub Actions, CI parity, release workflows, Dockerfiles, Docker Compose, Helm, Terraform, Cloud Run, Firebase App Hosting, environment variables, OpenTelemetry, artifacts, or deployment readiness.

cuesoftinc/oss-engineering-standards · 61 tokens