mcaf-architecture-overview

mcaf-architecture-overview is a skill for Claude Code, Codex from managedcode/GeminiSharpSDK. It costs 61 tokens per session (778 once invoked), scanned A, original, MIT.

A documentation workflow for maintaining an architecture overview: a map of a software system's modules, boundaries, interfaces, and important types. It uses Mermaid diagrams, which are text descriptions rendered as diagrams, and links the map to code and decisions.

In plain words
What is it for?
Use it when onboarding, refactoring, or adding modules to create or update docs/Architecture/Overview.md. It documents existing components, communication contracts, dependency rules, key classes, and links to related architecture decisions and feature documents.
Why use it?
It gives developers and coding agents a concise starting point for understanding how the system is divided and how dependencies flow. Keeping feature details and decisions in separate documents prevents the overview from becoming cluttered.

Skill for Claude CodeCodex

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.

agentmods
npx agentmods add skills/managedcode/geminisharpsdk/mcaf-architecture-overview
Any agent
npx skills add managedcode/GeminiSharpSDK --skill mcaf-architecture-overview
Clone the repo
git clone --depth 1 https://github.com/managedcode/GeminiSharpSDK

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-architecture-overview

README.md
[![agentmods](https://agentmods.dev/badge/skills/managedcode/geminisharpsdk/mcaf-architecture-overview.svg)](https://agentmods.dev/skills/managedcode/geminisharpsdk/mcaf-architecture-overview)
Your own site
<a href="https://agentmods.dev/skills/managedcode/geminisharpsdk/mcaf-architecture-overview"><img src="https://agentmods.dev/badge/skills/managedcode/geminisharpsdk/mcaf-architecture-overview.svg" alt="Measured on agentmods" height="20"></a>
Per session 61 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 778 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
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 $0.00061 $0.00778
Opus 5 $0.00030 $0.00389
Sonnet 5 $0.00012 $0.00156
Haiku 4.5 $0.00006 $0.00078

Measured 3d ago against content hash 8a7ca8a425e7, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

mcaf-architecture-overview 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 3d 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-architecture-overview/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: Architecture Overview

Output

  • docs/Architecture/Overview.md (create or update)

Architecture Thinking (keep it a map)

This doc is the global map: boundaries, modules, and dependency rules.

  • Keep it lean and structural:
    • modules/boundaries + responsibility + dependency direction
    • Mermaid diagrams are the primary context:
      • system/module map (blocks + dependency direction)
      • interfaces/contracts map (how modules talk)
      • key classes/types map (high-signal only; not exhaustive)
  • Treat it as the main “start here” card for humans and AI agents:
    • diagram elements must use real names (no placeholders)
    • every diagram element must have an explicit reference link (docs/code) so an agent can navigate without repo-wide scanning
    • keep diagrams readable; if a diagram becomes “spaghetti”, split by boundary and link out
  • Keep behaviour out of the overview:
    • feature flows live in docs/Features/*
    • decision-specific diagrams/invariants live in docs/ADR/*
  • Anti-“AI slop” rule: never invent components/services/DBs — only document what exists (or what this change will explicitly add).

Workflow

  1. Open docs/Architecture/Overview.md if it exists; otherwise start from docs/templates/Architecture-Template.md.
    • Ensure it contains a short ## Scoping (read first) section (this is how we prevent “scan everything” behaviour).
  2. Identify the real top-level boundaries:
    • entry points (HTTP/API, CLI, UI, jobs, events)
    • modules/layers (group by folders/namespaces, not individual files)
    • external dependencies (only those that actually exist)
  3. Fill the Summary so a new engineer can orient in ~1 minute.
  4. Maintain the Mermaid diagrams (the map people and agents start from):
    • system/module map: keep it small (roughly 8–15 nodes), label arrows (calls/events/reads/writes)
    • interfaces/contracts map: show ports/interfaces, APIs, events, queues, file formats (only what exists)
    • key classes/types map: capture the main types that matter across modules (avoid inventories)
    • don’t invent DB/queues/services/modules that aren’t present
  5. Fill the module index:
    • one row per diagram node (not every internal module/class)
    • responsibilities and “depends on” must be concrete
    • prefer a short navigation list with links over big tables/inventories
  6. Write explicit dependency rules:
    • what is allowed
    • what is forbidden
    • how integration happens (sync / async / shared lib)
  7. Add a short “Key decisions (ADRs)” section:
    • link to the ADRs that define boundaries, dependencies, and major cross-cutting patterns
    • keep it link-based (no detailed flows here)
  8. Link out to deeper docs:
    • ADRs for key decisions
    • Features for behaviour details
    • Testing/Development for how to run and verify

Read the full file on GitHub · 66 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. 3d ago First seen · 66 lines · 61 tokens per session scan A 8a7ca8a425e7

Subscribe to this mod's changes

mcaf-architecture-overview is a skill published in the GitHub repository managedcode/GeminiSharpSDK (2 stars, last pushed 4mo ago), licensed MIT. It adds 61 tokens to every session and 778 once invoked, about $0.0003 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-31.