Claude Md Compiler — Development skill for Claude Code
Compile CLAUDE.md into a lockfile, then enforce repo changes against it in local runs, staged diffs, or CI.
How to install Claude Md Compiler
This entry records only its repository, not the path inside it, so there is no
exact command to give. Open AbdelStark/claude-md-compiler and copy the folder into
~/.claude/skills/, or the file into ~/.claude/agents/.
What Claude Md Compiler does
Compile CLAUDE.md into a lockfile, then enforce repo changes against it in local runs, staged diffs, or CI.
Alternatives in Development
- Claudes C Compiler — Claude Opus 4.6 wrote a dependency-free C compiler in Rust, with backends targeting x86 (64- and 32-bit), ARM 2.6k ★
- Magnitude — Open source inference server your agent sets up for you 1.5k ★
- Devteam — Run a team of local coding agents in your terminal 264 ★
README
claude-md-compiler
**Compile structured Claude Code workflow policy into versioned artifacts and enforce it against runtime evidence, hooks, and git diffs.**
[](https://pypi.org/project/claude-md-compiler/) [](https://pypi.org/project/claude-md-compiler/) [](./LICENSE) [](https://github.com/astral-sh/uv) [](https://docs.pytest.org/) [](https://github.com/AbdelStark/claude-md-compiler)

What it does
`cldc` is a Python CLI **and** a typed library that compiles **structured** repository policy from `CLAUDE.md` fenced `cldc` code blocks, `.claude-compiler.yaml`, and `policies/*.yml` into a versioned lockfile, then checks reads, writes, commands, claims, and git diffs against that policy. It is purpose-built for **Claude Code** workflows that need a deterministic, offline, exit-coded judge sitting between Claude and the working tree.
In plain English
Anthropic's own Claude Code docs make the boundary clear:
Claude treats them as context, not enforced configuration.
Source: [How Claude remembers your project](https://code.claude.com/docs/en/memory#claude-md-vs-auto-memory)
That is the gap `cldc` is built to close for Claude-specific workflows. `CLAUDE.md` is excellent for guidance, memory, and project conventions; it is not a deterministic policy engine. Native Claude permissions are excellent for tool/path allow-deny decisions; they are not a versioned work
Related Skills
Explain Code Changes
Review all local code changes with detailed diffs and explanations
Joinery
The linker for agent skill stacks: extract each skill's implicit CLI/MCP/client-feature dependencies, dry-fit
Agent Context Contract Article Demo
ContextContract: scan a CLAUDE.md into portable, vendor-bound and enforce-not-describe lines; compile AGENTS.m
Ntnt Core Dev
NTNT core language/runtime development in Rust. Use when working on the compiler, interpreter, stdlib, typeche
Hn Whos Hiring
Rank every HN 'Who is hiring?' post against your resume, then draft emails and prefill applications from a loc
Brain Sync
Check every upstream source for changes and report diffs — never auto-applies
Related Agents
Light Compiler
Use this agent when you need to compile a Delphi project and verify that code changes build successfully. This
Dependency Checker
Vets a dependency before it is added, upgraded or pinned, against B7, B10 and B11. Use proactively whenever a
Arch Author
Authors or edits .arch floor-plan files using the compiler's own verification loop (compile → fix → describe →