mcaf

mcaf is a skill for Claude Code, Codex from managedcode/dotnet-skills. It costs 119 tokens per session (995 once invoked), scanned A, original, MIT.

A set of repository rules for teams that explicitly use MCAF, a governance framework for keeping engineering policies and verification practices consistent.

In plain words
What is it for?
Use it to create or update AGENTS.md files, record build and test commands, define repository policies, and keep architecture and verification guidance in the right place.
Why use it?
It prevents important project rules from being scattered, duplicated, or applied inconsistently by contributors and coding agents.

Skill for Claude CodeCodex

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

Good fit Use it to create or update AGENTS.md files, record build and test commands, define repository policies, and keep architecture and verification guidance in the right place.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/managedcode/dotnet-skills/mcaf
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.

Any agent
npx skills add managedcode/dotnet-skills --skill mcaf
Clone the repo
git clone --depth 1 https://github.com/managedcode/dotnet-skills

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 mcaf

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/dotnet-skills/mcaf"><img src="https://agentmods.dev/badge/skills/managedcode/dotnet-skills/mcaf.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 119 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 995 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.00119 $0.00995
Opus 5.5 $0.00048 $0.00398
Sonnet 5.5 $0.00024 $0.00199
Haiku 4.5 $0.00012 $0.00100

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

Security

Grade A, and why

mcaf 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 2mo 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.

catalog/Platform/MCAF/skills/mcaf/SKILL.md · 66 lines

How it starts

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

MCAF Governance

Keep MCAF as one opt-in governance layer. Do not create parallel mcaf-* implementation or process skills.

Workflow

  1. Confirm that the request is explicitly about adopting MCAF or changing MCAF governance.
  2. Read the root AGENTS.md and every affected local AGENTS.md completely before editing any of them.
  3. Keep only durable repository rules that future contributors and agents must know.
  4. Put each rule next to the area that owns it. Add a local AGENTS.md only when a subtree genuinely differs.
  5. Record exact build, test, format, analysis, and operational commands when the repository depends on them.
  6. Route implementation work to the normal catalog skill closest to the actual technology or behavior.
  7. Validate the changed policy, documentation links, and repository commands.

MCAF 1.3.68 Policy Contract

When a repository declares that it follows MCAF 1.3, preserve these upstream mandatory policies rather than treating them as optional templates:

  • MCAF-ARCH-001: keep the complete solution in one repository and use one canonical vertical-slice identity across applicable code, tests, infrastructure, and feature documentation.
  • MCAF-GOV-001: merge incoming MCAF guidance into existing root and local AGENTS.md files. Never overwrite, truncate, summarize away, weaken, or silently omit an existing repository rule.
  • MCAF-REQ-001: for non-trivial features, keep stable requirements and acceptance criteria, map them to automated tests or explicit evidence exceptions, and link any required ADR implementation contract.
  • MCAF-AI-001: use a capable planning/integration owner for non-trivial work and keep delegated scopes bounded, independently verified, and joined before completion when the execution environment supports delegation.

Do not inject these policies into a repository that has not chosen MCAF. When updating an existing MCAF repository, preserve any stricter local rule and report a genuine conflict instead of weakening it.

Read the full file on GitHub · 66 lines

Files

What ships with it

2 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. 2mo ago First seen · 66 lines · 119 tokens per session scan A 07f0e521557d

Subscribe to this mod's changes

mcaf is a skill published in the GitHub repository managedcode/dotnet-skills (527 stars, last pushed 16d ago), licensed MIT. It adds 119 tokens to every session and 995 once invoked, about $0.0005 per session on Opus 5.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.

Related

mcaf compared with skills from other repositories

mcaf next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
mcafmanagedcode/dotnet-skillsSkill52716d agoMITA119Claude Code, Codex
windbg-kernel-lock-deadlock-triagemicrosoft/win-dev-skillsSkill52113d agoMITA56Claude Code
fuzzy-selectingSebastienDegodez/copilot-instructionsSkill19923d agoApache-2.0A25Claude Code, Codex
rust-developmentnavikt/copilotSkill65yesterdayMITA27Claude Code, Codex
spring-boot-scaffoldnavikt/copilotSkill65yesterdayMITA32Claude Code, Codex
tlc-discovertech-leads-club/agent-skillsSkill7.2k2d agononeA76Claude Code, Codex
repo-baseline-auditnavikt/copilotSkill65yesterdayMITA122Claude Code, Codex