Skip to content

mdm

The markdown management CLI. Install skills, keep every agent's instruction file in sync, and audit them all for prompt-injection risks — from one fast, Go-native tool. No telemetry. Fully open source.


Install in one line

curl -fsSL https://raw.githubusercontent.com/sethcarney/mdm/main/install.sh | bash
irm https://raw.githubusercontent.com/sethcarney/mdm/main/install.ps1 | iex

Then link your instruction files and add your first skill:

mdm rules link                          # AGENTS.md becomes the source of truth
mdm skills add anthropics/skills        # install a skill for every configured agent

See the installation guide for other methods and PATH tips.


Why mdm?

Keeping CLAUDE.md, copilot-instructions.md, .cursorrules, and friends consistent is tedious. Add in installing, versioning, updating, and auditing skills across a dozen tools and it becomes a real maintenance burden. mdm solves exactly that.

  • 45 agents supported


    Claude Code, Cursor, Cline, GitHub Copilot, Gemini CLI, Codex, and 39 more — out of the box.

  • One source of truth


    mdm rules link makes AGENTS.md canonical and symlinks every agent's expected filename to it.

    Rules guide

  • Skills from anywhere


    Install from GitHub, GitLab, arbitrary URLs, local paths, or the skills.sh registry.

    skills add

  • Security-focused by default


    Every install runs a deterministic scan for hidden characters and prompt-smuggling patterns. mdm skills audit checks OSV advisories.

    Security scans

  • Reproducible installs


    Commit a skills-lock.json so teammates run mdm skills install once and onboard with whatever agent they prefer.

    skills install

  • Knowledge bundles (experimental)


    mdm knowledge installs, validates, and updates Open Knowledge Format (OKF) bundles behind an experimental flag.

    Experimental features


The command surface at a glance

mdm
├── skills        Manage skills for AI agents (add · remove · list · find · update · audit · init · install · sync)
├── rules         Link/unlink agent instruction files to a single AGENTS.md
├── agents        Manage the configured agent list used as default install targets
├── knowledge     [experimental] Manage OKF knowledge bundles
├── doctor        Check installed skills and project markdown for health issues
├── experimental  Manage experimental feature gates
├── upgrade       Self-update the mdm binary from GitHub releases
├── uninstall     Remove the mdm binary from your system
└── completion    Generate shell completion scripts

Every command, flag, and alias is documented on the Command reference page.


Prefer a UI?

There's also an mdm VS Code extension that wraps the same functionality in a sidebar.