GeminiSharpSDK: Skill for Codex

.codex/skills/mcaf-formatting/SKILL.md

mcaf-formatting is a skill for Codex from managedcode/GeminiSharpSDK. It costs 49 tokens per session (325 once invoked), scanned A, original, MIT.

A guide for formatting code with the repository's own approved formatter and lint commands, as documented in AGENTS.md.

In plain words
What is it for?
Use it after code changes or when formatting has drifted, then review the diff and run the repository's required checks.
Why use it?
It reduces style-related noise while avoiding invented commands, unrelated refactoring, and unverified formatting changes.

Skill for Codex

Written for Codex: installed under .codex/. Also seen: mentions AGENTS.md.

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

Reuse

Borrowing it

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

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 mcaf-formatting

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/managedcode/geminisharpsdk/mcaf-formatting"><img src="https://agentmods.dev/badge/skills/managedcode/geminisharpsdk/mcaf-formatting.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 49 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 325 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.
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.00049 $0.00325
Opus 5.5 $0.00020 $0.00130
Sonnet 5.5 $0.00010 $0.00065
Haiku 4.5 $0.00005 $0.00032

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

Security

Grade A, and why

mcaf-formatting 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.

.codex/skills/mcaf-formatting/SKILL.md · 33 lines

What it actually says

MCAF: Formatting

Outputs

  • Formatted code changes (consistent with repo style)
  • Evidence: formatting command(s) run and any follow-up build/tests

Workflow

  1. Use the canonical format command from AGENTS.md (do not invent commands).
  2. Run the formatter on the smallest scope possible (if your tools allow it).
  3. Review the diff:
    • ensure changes are formatting-only
    • if the formatter touched many files, separate the change or confirm it was explicitly requested
  4. Verify (follow AGENTS.md for sequencing + required commands):
    • for formatting-only changes: run the smallest meaningful verification the repo requires (build/tests/analyze as applicable)
    • for formatting as part of a behaviour change: follow the repo’s normal order (don’t reorder the pipeline)
  5. If format/linters are missing or flaky:
    • fix AGENTS.md to point to a real, repeatable command
    • only then rerun formatting
  6. Report what was run and what changed.

Guardrails

  • Do not introduce unrelated refactors under the cover of formatting.
  • Keep formatting changes and behaviour changes reviewable.
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 · 33 lines · 49 tokens per session scan A aeb5bb72eae1

Subscribe to this mod's changes

mcaf-formatting is a skill published in the GitHub repository managedcode/GeminiSharpSDK (2 stars, last pushed 2d ago), licensed MIT. It adds 49 tokens to every session and 325 once invoked, about $0.0002 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-08-31.

Related

Other skills, from other repositories

csharp-expert

Expert-level C# development with .NET 8+, ASP.NET Core, LINQ, async/await, and enterprise patterns. Use when the user mentions C#, .NET, ASP.NET, enterprise, or Microsoft platforms, or when the task involves Modern C#, Async/Await, LINQ, or ASP.NET Core.

personamanagmentlayer/pcl · 70 tokens

security-patcher

Invoke this as your absolute first action before using any other tools whenever a user requests to fix, patch, or remediate a vulnerability. Do not perform manual research first.

gemini-cli-extensions/security · 38 tokens

poc

Sets up the necessary workspace, directories, and dependencies to test a vulnerability and generates a Proof-of-Concept.

gemini-cli-extensions/security · 25 tokens

dependency-manager

Safely resolve and install isolated dependencies for isolated sandboxes (PoC execution).

gemini-cli-extensions/security · 19 tokens

azure-mgmt-apicenter-dotnet

Azure API Center SDK for .NET. Centralized API inventory management with governance, versioning, and discovery. Use for creating API services, workspaces, APIs, versions, definitions, environments, deployments, and metadata schemas. Triggers: "API Center", "ApiCenterService", "ApiCenterWorkspace", "ApiCenterApi", "API…

microsoft/skills · 97 tokens

azure-resource-manager-postgresql-dotnet

Azure PostgreSQL Flexible Server SDK for .NET. Database management for PostgreSQL Flexible Server deployments. Use for creating servers, databases, firewall rules, configurations, backups, and high availability. Triggers: "PostgreSQL", "PostgreSqlFlexibleServer", "PostgreSQL Flexible Server", "Azure Database for…

microsoft/skills · 97 tokens