ai-md

ai-md is a skill for Claude Code, Codex from diegosouzapw/awesome-omni-skills. It costs 76 tokens per session (4,685 once invoked), scanned B, original, MIT.

A workflow for turning a human-written CLAUDE.md instruction file into a structured format that AI coding agents can follow more consistently.

In plain words
What is it for?
Use it to restructure CLAUDE.md files while keeping their original workflow and supporting material intact.
Why use it?
Long instruction files can waste context and be followed unevenly. This helps preserve their rules in a more compact, organized form.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: reads .claude/ paths; mentions CLAUDE.md; mentions Codex.

Good fit Use it to restructure CLAUDE.md files while keeping their original workflow and supporting material intact.

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

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

Your own site · 80×15
<a href="https://agentmods.dev/skills/diegosouzapw/awesome-omni-skills/ai-md"><img src="https://agentmods.dev/badge/skills/diegosouzapw/awesome-omni-skills/ai-md.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 76 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 4,685 The whole file, excluding the scripts and references it only reads on demand.
Security scan B 2 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.00076 $0.04685
Opus 5 $0.00038 $0.02343
Sonnet 5 $0.00015 $0.00937
Haiku 4.5 $0.00008 $0.00468

Measured 9d ago against content hash 0cc6ec3bb56a, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade B, and why

ai-md scanned grade B with 2 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 9d 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.

Reads agent configuration directoriesmediumAgent snooping

.claude/, .codex/, .gemini/ hold keys, settings and other credentials a mod has no legitimate need for.

rules=$(cat ~/.claude/rules/*.md 2>/dev/null | wc -c || echo 0)

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

EVIDENCE: no-fabricate no-guess | 禁用詞:應該是/可能是 → 先拿數據 | Read/Grep→行號 curl→數據 | "好像"/"覺得"→自己先跑test | guess=shame-wall
skills/ai-md/SKILL.md · 471 lines

How it starts

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

AI.MD v4 — The Complete AI-Native Conversion System

Overview

This public intake copy packages plugins/antigravity-awesome-skills-claude/skills/ai-md from https://github.com/sickn33/antigravity-awesome-skills into the native Omni Skills editorial shape without hiding its origin.

Use it when the operator needs the upstream workflow, support files, and repository context to stay intact while the public validator and private enhancer continue their normal downstream flow.

This intake keeps the copied upstream files intact and uses the external_source block in metadata.json plus ORIGIN.md as the provenance anchor for review.

AI.MD v4 — The Complete AI-Native Conversion System

Imported source sections that did not map cleanly to the public headings are still preserved below or in the support files. Notable imported sections: What Is AI.MD?, Special Techniques Discovered During Battle-Testing, AI-Native Template, Anti-Patterns, Real-World Results, Limitations.

When to Use This Skill

Use this section as the trigger filter. It should make the activation boundary explicit before the operator loads files, runs commands, or opens a pull request.

  • Use when your CLAUDE.md is long but AI still ignores your rules
  • Use when token usage is too high from verbose system instructions
  • Use when you want to optimize any LLM system prompt for compliance
  • Use when migrating rules between AI tools (Claude, Codex, Gemini, Grok)
  • Is this a TRIGGER? (What input activates this behavior?)
  • Is this an ACTION? (What should the AI do?)

Operating Table

Situation Start here Why it matters
First-time use metadata.json Confirms repository, branch, commit, and imported path through the external_source block before touching the copied workflow
Provenance review ORIGIN.md Gives reviewers a plain-language audit trail for the imported source
Workflow execution SKILL.md Starts with the smallest copied file that materially changes execution
Supporting context SKILL.md Adds the next most relevant copied source file without loading the entire package
Handoff decision ## Related Skills Helps the operator switch to a stronger native skill when the task drifts

Read the full file on GitHub · 471 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. 9d ago First seen · 471 lines · 76 tokens per session scan B 0cc6ec3bb56a

Subscribe to this mod's changes

ai-md is a skill published in the GitHub repository diegosouzapw/awesome-omni-skills (140 stars, last pushed 2mo ago), licensed MIT. It adds 76 tokens to every session and 4,685 once invoked, about $0.0004 per session on Opus 5. A static security scan graded it B with 2 findings (reads agent configuration directories, makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-09-03.

Related

Other skills, from other repositories

azure-cosmos-db

Expert knowledge for Azure Cosmos DB development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when using Cosmos DB SQL/Mongo/Cassandra APIs, change feed, vector search…

MicrosoftDocs/Agent-Skills · 122 tokens

azure-local

Expert knowledge for Azure Local development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when planning Azure Local racks/SDN, disconnected clusters, Arc VMs, GPU workloads, or…

MicrosoftDocs/Agent-Skills · 112 tokens

azure-arc

Expert knowledge for Azure Arc development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when managing Arc-enabled Kubernetes, data services, Edge Volumes, Agentic Retrieval APIs…

MicrosoftDocs/Agent-Skills · 114 tokens

azure-defender-for-cloud

Expert knowledge for Azure Defender For Cloud development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when securing VMs, containers/AKS, SQL, storage, multi‑cloud connectors, or…

MicrosoftDocs/Agent-Skills · 127 tokens

azure-functions

Expert knowledge for Azure Functions development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when wiring Functions to triggers/bindings, Cosmos/SQL/Service Bus, VNet/private…

MicrosoftDocs/Agent-Skills · 122 tokens

azure-api-management

Expert knowledge for Azure API Management development including troubleshooting, best practices, decision making, architecture & design patterns, limits & quotas, security, configuration, integrations & coding patterns, and deployment. Use when integrating APIM with AI backends, VNet/domains, OAuth/Entra ID…

MicrosoftDocs/Agent-Skills · 121 tokens