ai-context-dot-md

ai-context-dot-md is a skill for Claude Code from robcsaszar/scaffold. It costs 148 tokens per session (2,177 once invoked), scanned A, original, MIT.

A tool for creating or reviewing CONTEXT.md files: repository documents that explain a codebase's architecture, domain concepts, and conventions to AI agents.

In plain words
What is it for?
Use it to create repository-wide or directory-specific context documents, or review existing ones for missing information and poor patterns.
Why use it?
It gives an agent factual background about a project so it can reason about the code with fewer missing assumptions.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin. Also seen: mentions AGENTS.md.

Part of the robcsaszar-scaffold plugin — 3 skills shipped together

Good fit Use it to create repository-wide or directory-specific context documents, or review existing ones for missing information and poor patterns.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/robcsaszar/scaffold/ai-context-dot-md
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 robcsaszar/scaffold --skill ai-context-dot-md
Clone the repo
git clone --depth 1 https://github.com/robcsaszar/scaffold

Made for: Claude Code.

Or install robcsaszar-scaffold, the plugin that ships this one along with the rest of its 3 skills.

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 ai-context-dot-md

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/robcsaszar/scaffold/ai-context-dot-md"><img src="https://agentmods.dev/badge/skills/robcsaszar/scaffold/ai-context-dot-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 148 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,177 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.00148 $0.02177
Opus 5.5 $0.00059 $0.00871
Sonnet 5.5 $0.00030 $0.00435
Haiku 4.5 $0.00015 $0.00218

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

Security

Grade A, and why

ai-context-dot-md 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.

skills/ai-context-dot-md/SKILL.md · 198 lines

How it starts

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

AI Context Dot MD

Create or review CONTEXT.md files that give agents the factual substrate needed to reason correctly about code.


Mode Detection

  • User provides a path to an existing CONTEXT.md → Review Mode
  • User asks to create/generate/add a CONTEXT.md → Create Mode
  • Ambiguous → ask: (c)reate a new CONTEXT.md or (r)eview an existing one?

Create Mode

Step 1 — Placement

Ask the user: "Where should the CONTEXT.md live?"

(r)oot — broad architecture overview
(p)ath — specific directory (provide path)
(m)ultiple — hierarchical (start with root, then children)

If a CONTEXT.md already exists at the chosen path, ask: File exists. (o)verwrite from scratch / (r)eview and update / (Q)uit? If review-and-update, switch to Review Mode first, then apply improvements.

If the scope has fewer than 5 files or a single obvious purpose, suggest: This scope may be too small for a standalone CONTEXT.md — a section in the parent might suffice. (p)roceed anyway / (Q)uit?

Step 2 — Analyze

MANDATORY READ references/knowledge-base.md for principles and patterns.

Before investigating, ask yourself:

  • What would confuse a new agent about this scope?
  • What terms mean something different HERE than in general usage?
  • What can't the agent find by looking? The code already answers what ls, package.json, and config files show — write only what looking cannot find: the unwritten convention, the reason behind a boundary, the gotcha no config confesses.

Investigate the target scope:

  • Read directory structure, key files, existing docs (README, AGENTS.md)
  • Identify the domain model (entities, relationships, naming conventions in code)
  • Map architecture (boundaries, data flow, abstractions)
  • Note conventions that aren't obvious from code alone
  • Find gotchas and known gaps

Step 3 — Draft

MANDATORY READ references/template.md for structure.

Write sections in priority order:

Read the full file on GitHub · 198 lines

Files

What ships with it

3 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 Changed · +3 lines 89e88d53c26d
  2. 3mo ago First seen · 195 lines · 148 tokens per session scan A da6b543ac57e

Subscribe to this mod's changes

ai-context-dot-md is a skill published in the GitHub repository robcsaszar/scaffold (2 stars, last pushed 2mo ago), licensed MIT. It adds 148 tokens to every session and 2,177 once invoked, about $0.0006 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

ai-context-dot-md compared with skills from other repositories

ai-context-dot-md next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
ai-context-dot-mdrobcsaszar/scaffoldSkill22mo agoMITA148Claude Code
keep-the-whyoliver-zehentleitner/keep-the-whySkill2403d agoMITA128Claude Code
reviewanton-abyzov/specweaveSkill178todayMITA45Claude Code, Codex
sw-doanton-abyzov/specweaveSkill178todayMITA44Claude Code, Codex
doneanton-abyzov/specweaveSkill178todayMITA45Claude Code, Codex
pre-modification-checkrepowise-dev/repowiseSkill8.4ktodayAGPL-3.0A22Claude Code, Codex
summarizezhinjs/zhinSkill136todayMITA61Claude Code, Codex