mdm

command module
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 11, 2026 License: Apache-2.0 Imports: 7 Imported by: 0

README

mdm

CI CodeQL OpenSSF Scorecard SLSA 3 Go Report Card GitHub Release Ask DeepWiki

The markdown management CLI. No telemetry · Fully open source.

Install

macOS / Linux

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

Windows (PowerShell)

irm https://raw.githubusercontent.com/sethcarney/mdm/main/install.ps1 | iex

Both installers place the binary in ~/.local/bin/mdm and will warn if that directory isn't in your PATH.

To install to a different directory, set INSTALL_DIR before running:

INSTALL_DIR=/usr/local/bin curl -fsSL https://raw.githubusercontent.com/sethcarney/mdm/main/install.sh | bash

Usage

mdm rules link             Set up AGENTS.md as source of truth and symlink agent files
mdm rules status           Show the state of all agent instruction files
mdm rules unlink           Remove symlinks created by mdm rules link

mdm skills add <package>   Add a skill from GitHub or URL
mdm skills remove          Remove installed skills
mdm skills list            List installed skills
mdm skills find [query]    Search the registry
mdm skills update          Update installed skills
mdm skills audit           Check installed skills for updates and security advisories
mdm skills doctor          Check installed skills and project markdown for health issues
mdm skills init <name>     Scaffold a new skill
mdm skills install         Restore skills from skills-lock.json
mdm skills sync            Sync skills from node_modules
mdm upgrade                Upgrade the mdm CLI binary

Run mdm --help for the full command reference. See docs/rules.md for a detailed walkthrough of the mdm rules flow.

Skill installs run a deterministic local hidden-character scan over markdown files before copying or symlinking content. See docs/security/hidden-character-scan.md for the exact checks and bypass policy.

Development

make build    # compile to ./mdm
make test     # run all tests
make install  # install to $GOPATH/bin
go run . --help

See .vscode/launch.json for VS Code debug configurations.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
internal
git
ui
tools
gen-icon command
gen-icon renders assets/mdm.svg shapes into a multi-resolution ICO file.
gen-icon renders assets/mdm.svg shapes into a multi-resolution ICO file.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL