dotnet-skills: Instructions file for Codex

AGENTS.md

dotnet-skills AGENTS.md is an instructions file for Codex, OpenCode from managedcode/dotnet-skills. It costs 14,141 tokens per session, scanned A, original, MIT.

Repository instructions for dotnet-skills, a catalog of reusable guidance for modern and older .NET software. The file explains the repository structure, how general and folder-specific rules take precedence, and how its catalog, agents, and release automation are maintained.

In plain words
What is it for?
Use it when maintaining catalog entries, repository-owned agents, package agents, or release and documentation monitoring. It is also useful before changing the repository’s layout or build automation.
Why use it?
It gives an AI assistant the project context needed to update the catalog or automation without turning the repository into an unrelated application. It also clarifies where different kinds of files belong.

Instructions file for CodexOpenCode

Written for Codex and OpenCode: reads $CODEX_HOME, but also the file is AGENTS.md. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Claude Code.

This is managedcode/dotnet-skills's own configuration. It tells Codex and OpenCode how to work on dotnet-skills 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 dotnet-skills configures →

Reuse

Borrowing it

Nothing to install: this file belongs to managedcode/dotnet-skills. 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/managedcode/dotnet-skills/main/AGENTS.md
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

Made for: Codex, OpenCode.

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 dotnet-skills AGENTS.md

README.md
[![agentmods](https://agentmods.dev/badge/instructions/managedcode/dotnet-skills/agents-md/github.svg)](https://agentmods.dev/instructions/managedcode/dotnet-skills/agents-md)
Your own site
<a href="https://agentmods.dev/instructions/managedcode/dotnet-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/managedcode/dotnet-skills/agents-md/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 dotnet-skills AGENTS.md

Your own site · 80×15
<a href="https://agentmods.dev/instructions/managedcode/dotnet-skills/agents-md"><img src="https://agentmods.dev/badge/instructions/managedcode/dotnet-skills/agents-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 14,141 This file is loaded in full into every session.
When invoked 14,141 The same file — it is already loaded in full.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe.
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.14141 $0.14141
Opus 5.5 $0.05656 $0.05656
Sonnet 5.5 $0.02828 $0.02828
Haiku 4.5 $0.01414 $0.01414

Measured 15d ago against content hash 54e81c3dc720, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

dotnet-skills AGENTS.md 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 15d 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.

- It is acceptable to use `curl` for non-GitHub documentation endpoints.
AGENTS.md · 733 lines

How it starts

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

AGENTS.md

Project: dotnet-skills Stack: .NET 10, GitHub Actions, Python automation, NuGet, GitHub Releases

Follows MCAF


Purpose

This file defines how AI agents work in this repository.

  • Root AGENTS.md holds the global workflow, repository structure, release and automation policy, and skill-catalog maintenance rules.
  • This repository currently uses only the root AGENTS.md; add a nearer local AGENTS.md only when a subtree needs stricter or more specialized rules.
  • The repository has three equally important responsibilities:
    1. Maintain a high-quality scanned catalog under catalog/<type>/<package>/ for modern and legacy .NET.
    2. Maintain repo-owned orchestration agents in top-level agents/ and package-owned catalog agents in catalog/<type>/<package>/agents/.
    3. Maintain automation that watches official upstream releases and documentation so the catalog can be refreshed when the ecosystem changes.

If this repository contains executable code, it must exist only to distribute or install the skill catalog itself, for example as a publishable dotnet tool. Do not turn this repository into a general application or unrelated tooling codebase.

All repository-facing documentation and skill content should be written in English. Follow official or documented agent standards where they exist; do not present a repo-local adapter as if it were a universal standard.

Solution Topology

  • Solution root: .
  • Areas with specialized responsibilities:
    • agents/: top-level orchestration agents that sit above the skill catalog, one folder per agent
    • catalog/: canonical scanned catalog tree, including package manifests plus nested skills and package-owned agents
    • external-sources/: vendir transport config, pinned lockfile, checked-in upstream snapshots, and import overrides for external repositories
    • cli/ManagedCode.DotnetAgents/: publishable dotnet-agents installer tool for repo-owned orchestration agents
    • cli/ManagedCode.Agents/: publishable agents installer tool for the same repo-owned orchestration agents
    • cli/ManagedCode.DotnetSkills/: publishable dotnet-skills installer tool
    • scripts/: catalog generation and upstream-watch automation
    • .github/workflows/: CI, release, and scheduled automation
  • Local AGENTS.md files currently present: none

Read the full file on GitHub · 733 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. 15d ago Changed · +1 lines · +111 tokens per session 54e81c3dc720
  2. 23d ago Changed · +2 lines · +85 tokens per session 27028bd72d5e
  3. 1mo ago Changed · +7 lines · +196 tokens per session e17867431e86
  4. 1mo ago Changed · +2 lines · +157 tokens per session f908dc52de01
  5. 1mo ago First seen · 721 lines · 13,592 tokens per session scan A 7eac11d9b095

Subscribe to this mod's changes

dotnet-skills AGENTS.md is an instructions file published in the GitHub repository managedcode/dotnet-skills (495 stars, last pushed yesterday), licensed MIT. It adds 14,141 tokens to every session, about $0.0566 per session on Opus 5.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-30.