containerize-aspnetcore

containerize-aspnetcore is a skill for Claude Code, Codex from OKHP3/skillz. It costs 28 tokens per session (3,723 once invoked), scanned C, a copy of containerize-aspnetcore, MIT.

A setup guide that creates Docker files for running an ASP.NET Core application in a Linux container.

In plain words
What is it for?
Use it to prepare an ASP.NET Core project for Linux-based Docker builds and deployment.
Why use it?
It removes the need to work out the container configuration by hand for a specific .NET project.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Needs its repository: it runs a file that does not travel with it, so clone the repository first. The line is # COPY ./config/appsettings.Production.json ..

Good fit Use it to prepare an ASP.NET Core project for Linux-based Docker builds and deployment.

Compare 6 skills from other repositories ↓
View source ↗ OKHP3/skillz
Install

Getting it into your agent

It runs from inside its repository, so the clone comes first — what it calls does not travel with the file alone.

Clone the repo
git clone --depth 1 https://github.com/OKHP3/skillz
agentmods
npx agentmods add skills/okhp3/skillz/containerize-aspnetcore

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 containerize-aspnetcore

README.md
[![agentmods](https://agentmods.dev/badge/skills/okhp3/skillz/containerize-aspnetcore/github.svg)](https://agentmods.dev/skills/okhp3/skillz/containerize-aspnetcore)
Your own site
<a href="https://agentmods.dev/skills/okhp3/skillz/containerize-aspnetcore"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/containerize-aspnetcore/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 containerize-aspnetcore

Your own site · 80×15
<a href="https://agentmods.dev/skills/okhp3/skillz/containerize-aspnetcore"><img src="https://agentmods.dev/badge/skills/okhp3/skillz/containerize-aspnetcore.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 28 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,723 The whole file, excluding the scripts and references it only reads on demand.
Security scan C 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin 100% copy Near-identical to another mod 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.00028 $0.03723
Opus 5.5 $0.00011 $0.01489
Sonnet 5.5 $0.00006 $0.00745
Haiku 4.5 $0.00003 $0.00372

Measured 1mo ago against content hash ad4057ce6e1c, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade C, and why

containerize-aspnetcore scanned grade C with 2 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.

Recursive force deletehighDestructive command

rm -rf with a variable or a broad path is one typo away from removing the wrong tree.

# && rm -rf /var/lib/apt/lists/*

Makes network callslowCapability

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

- Use curl or wget to check the health endpoint
Origin

This is a copy

100% identical to containerize-aspnetcore — 0 lines differ, which has more behind it and is treated as the original. This page carries a canonical link to it rather than competing with it.

community/containerize-aspnetcore/SKILL.md · 393 lines

How it starts

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

ASP.NET Core Docker Containerization Prompt

Containerization Request

Containerize the ASP.NET Core (.NET) project specified in the settings below, focusing exclusively on changes required for the application to run in a Linux Docker container. Containerization should consider all settings specified here.

Abide by best practices for containerizing .NET Core applications, ensuring that the container is optimized for performance, security, and maintainability.

Containerization Settings

This section of the prompt contains the specific settings and configurations required for containerizing the ASP.NET Core application. Prior to running this prompt, ensure that the settings are filled out with the necessary information. Note that in many cases, only the first few settings are required. Later settings can be left as defaults if they do not apply to the project being containerized.

Any settings that are not specified will be set to default values. The default values are provided in [square brackets].

Basic Project Information

  1. Project to containerize:

    • [ProjectName (provide path to .csproj file)]
  2. .NET version to use:

    • [8.0 or 9.0 (Default 8.0)]
  3. Linux distribution to use:

    • [debian, alpine, ubuntu, chiseled, or Azure Linux (mariner) (Default debian)]
  4. Custom base image for the build stage of the Docker image ("None" to use standard Microsoft base image):

    • [Specify base image to use for build stage (Default None)]
  5. Custom base image for the run stage of the Docker image ("None" to use standard Microsoft base image):

    • [Specify base image to use for run stage (Default None)]

Container Configuration

  1. Ports that must be exposed in the container image:

    • Primary HTTP port: [e.g., 8080]
    • Additional ports: [List any additional ports, or "None"]
  2. User account the container should run as:

    • [User account, or default to "$APP_UID"]
  3. Application URL configuration:

    • [Specify ASPNETCORE_URLS, or default to "http://+:8080"]

Read the full file on GitHub · 393 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 · 393 lines · 28 tokens per session scan C ad4057ce6e1c

Subscribe to this mod's changes

containerize-aspnetcore is a skill published in the GitHub repository OKHP3/skillz (3 stars, last pushed yesterday), licensed MIT. It adds 28 tokens to every session and 3,723 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it C with 2 findings (recursive force delete, makes network calls). It is 100% identical to containerize-aspnetcore, differing in 0 lines, and is treated as a copy.