MD Structure — AI skill for Claude Code
Agent-native architecture decision engine, Markdown scaffolder, MCP server and context-governance auditor for AI coding agents (Claude Code, Codex, Cursor).
How to install MD Structure
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open ayazelrico/MD-Structure and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What MD Structure does
Agent-native architecture decision engine, Markdown scaffolder, MCP server and context-governance auditor for AI coding agents (Claude Code, Codex, Cursor). Decides which .md files a project needs, why, and in what order. By Ayazelrico.
Alternatives in AI
- Loushang — AI-native agent harness for coding workflows by python: multi-model LLM orchestration, stateful sessions, tool 1.3k ★
- Al Context.Create.Prompt — Generate or update context.md file documenting project structure, architecture, and key patterns for AI assist 109 ★
- Editorzero — Open-source, self-hostable AI-native docs platform 20 ★
README
MD-Structure
**Agent-Native Project Architecture Decision Engine, Markdown Scaffolder, MCP Server & Context-Governance Auditor — Created by Ayazelrico.**
Built from the ground up **for AI coding agents** — solving the exact problem developers hit when starting a project from an idea: **How many `.md` files do we need? Which ones? Why does each exist (and why were others skipped)? In what order should the agent author and load them?**
Why MD-Structure Exists
When a user describes a software idea to an AI coding agent, two failure modes dominate:
- Under-specification (0–1 MD files): Critical decisions remain trapped in chat history. After context compaction, the agent hallucinates column names, breaks API envelopes, misses tenant isolation, and forgets invariants.
- Over-specification (20+ bloated human docs): Massive narrative specs burn 40% of the context window before coding starts, contradict each other across files, and drift rapidly.
**MD-Structure** replaces guesswork with a **deterministic, zero-dependency local Context Engineering engine**:
- 27 Canonical Agent-Native Markdown Archetypes across 6 architectural layers (
bootstrap,product,system,engineering,operations,governance). - 4 Complexity Tiers (
T0–T3):T0Micro / Utility → 2–4 MDs (~1.2k–3.8k total tokens)T1Focused MVP → 4–7 MDs (~3.5k–8.5k total tokens)T2Production Product → 7–12 MDs (~8k–17k total tokens)T3Enterprise / Distributed Platform → 11–16 MDs (~15k–28k total tokens)
- Progressive Disclosure by Default: Only
AGENTS.mdisload_policy: always(capped <= 1,600 tokens). Every other.mdcarries machine-readable YAML frontmatter (load_policy,token_budget,depends_on,authority,read_triggers,update_triggers). - Explicit Exclusion Ledger (
docs/00-CONTEXT-MAP.md): Records both why each active MD exists (the exact agent failure mode it prevents) and why every o
Related Skills
Systemone Decision MCP
Adaptive tool and skill routing for AI Agents. An MCP server that decides which MCP tools and skills a task ac
AI Civilization
Deterministic multi-agent civilization simulation: agents with needs, memory, relationships and a closed econo
Org OS Starter
Company OS as Code — 会社の運営知識・規範・意思決定をひとつのリポジトリに構造化し、人とAIエージェントが同じ基盤で働くためのファイル規約の参照テンプレート。a company brain / AI-
An Web
AN-Web — AI-native headless browser engine for agents: fetch, render, read (reader-mode markdown), search. Pyt
Cfetch
Local-first AI agent memory and context engine for Claude Code, Codex, Gemini and MCP: cited Markdown recall,
Onehumanai
Let AI agents act for your customers, with proof a human agreed. Sees an AI agent inside a signed-in session,
Related Agents
Rn Architect
Use this agent to analyze or design the architecture of a React Native or Expo app — feature-based structure,
Async Code
Use Claude Code or CodeX CLI to perform multiple tasks in parallel with a Codex-style UI, functioning as a per
Monk Installer
Install, upgrade, and troubleshoot monk-agent plus Monk CLI/daemon for Claude, Codex, and Cursor users.