Semantic Markdown (.smd)
Semantic Markdown (.smd) is an open-source Markdown format for software specifications and project plans shared by people and AI coding agents.
Record decisions, risks and tasks in Markdown. Validate them in CI with the CLI, preview them in VS Code, or query them from an agent through the MCP server.
Formerly Styled Markdown. Same format, new name: see moving from Styled Markdown.
Semantic Markdown documentation ·
Install ·
For agents ·
Playground ·
Feature guide ·
Specification
Install
Claude Code: the plugin brings the reading and writing skills and the smd MCP server.
/plugin marketplace add bislink360/semantic-markdown
/plugin install semantic-markdown@semantic-markdown
Codex discovers this repository's project skills for reading and writing .smd. For setup in another repository, see Skills in Codex.
Any agent, one project: run this in your repository and commit the result. It installs the skills (Claude Code) or a rules file (Cursor, Copilot, AGENTS.md), the CLI at .smd/smd.cjs, the MCP server config and the AGENTS.md snippet.
npx semantic-markdown init --agent claude # or cursor, copilot, agents
VS Code: install Semantic Markdown from the Marketplace, or code --install-extension bislink360.semantic-markdown. Cursor, VSCodium, Windsurf: download semantic-markdown-3.0.0.vsix from the latest release, then cursor --install-extension semantic-markdown-3.0.0.vsix (codium … for VSCodium), or Install from VSIX… in the Extensions view. Open a .smd file and press Ctrl+K V (Cmd+K V on macOS) for the live preview.
CLI and library (Node.js 22+):
npm install -g https://github.com/bislink360/semantic-markdown/releases/download/v3.0.0/semantic-markdown-3.0.0.tgz # the smd command
smd validate docs/
The npm registry and Open VSX listings are coming. Until the package is on npm, npx semantic-markdown … doesn't work yet: use the files from the latest release, or node smd.cjs init --agent claude with the single-file CLI.
Everything else (the MCP server on its own, JetBrains, Obsidian, MkDocs, Neovim and other editors, the GitHub Action, pre-commit hooks, Astro and Docusaurus): docs/guides/install.md. Or try it first in the web playground, nothing to install.

For AI agents
Semantic Markdown makes the meaning of a document explicit, so an agent can tell an accepted decision from a proposal, a hard constraint from a side note, and its own instructions (:::agent) from content for people. The tools let it read only what a task needs: