
Commonmark
Apply the CommonMark 0.31.2 spec when parsing or rendering Markdown
Commonmark is an open-source agent skill for files and documents. It is available on Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose.
- Scripts
- None
- Platforms
- Claude Code, Codex, Cursor
- GitHub stars
- 5
- Last commit
- License
- MIT
- Listing updated
Similar skills
About Commonmark
This skill gives an agent a spec-driven workflow for working with CommonMark. It pins the CommonMark 0.31.2 specification and has the agent act as either a producer or a consumer of the format, citing the pinned revision in what it produces.
The workflow has three steps. The agent first picks the target version and avoids legacy lines. It then walks the quoted requirements in a references file and implements each one that applies to its role, or records it as out of scope. An upgrade step runs only when the user asks for it.
The invariants are quotes taken from the specification, covering topics such as replacing U+0000 with U+FFFD and the spacing rules for ATX headings. A closing checklist confirms the artifact cites the target revision and that every applicable requirement holds. The skill ships only Markdown reference files and no scripts.
When your agent uses it
CommonMark: parse and render Markdown by the CommonMark specification. Covers CommonMark 0.31.2. Use when parsing CommonMark. Triggers: CommonMark.
From the skill's SKILL.md. Your agent reads this description to decide when to load the skill.
What it can access
From a static check of its 4 files (9 KB) on GitHub on 2 December 2026. Nothing was run. Read the files before you install a skill: it can tell your agent to run anything its tools allow.
Check another skill before you install it.
Install
This skill ships in the better-supabase plugin. In Claude Code, add the marketplace and install the plugin (it may include other skills too):
/plugin marketplace add ScaleDockHQ/better-supabase
/plugin install better-supabase@better-supabaseOr copy only this skill to ~/.claude/skills/commonmark:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.claude/skills &&
rm -rf ~/.claude/skills/commonmark &&
cp -R "$tmp/.agents/skills/commonmark" ~/.claude/skills/commonmark &&
rm -rf "$tmp"For one project only, put the folder in .claude/skills/commonmark inside it instead.
Copy the skill folder to ~/.agents/skills/commonmark to use it in every repository:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.agents/skills &&
rm -rf ~/.agents/skills/commonmark &&
cp -R "$tmp/.agents/skills/commonmark" ~/.agents/skills/commonmark &&
rm -rf "$tmp"For one repository only, put the folder in .agents/skills/commonmark inside it instead.
Copy the skill folder to ~/.cursor/skills/commonmark to use it in every project:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.cursor/skills &&
rm -rf ~/.cursor/skills/commonmark &&
cp -R "$tmp/.agents/skills/commonmark" ~/.cursor/skills/commonmark &&
rm -rf "$tmp"For one project only, put the folder in .cursor/skills/commonmark inside it instead.
Run in a terminal (add --scope workspace to install it for the current workspace only):
gemini skills install https://github.com/ScaleDockHQ/better-supabase.git --path .agents/skills/commonmarkOr copy the folder to ~/.gemini/skills/commonmark yourself.
For GitHub Copilot in VS Code, copy the skill folder to ~/.copilot/skills/commonmark:
tmp=$(mktemp -d) &&
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.git "$tmp" &&
mkdir -p ~/.copilot/skills &&
rm -rf ~/.copilot/skills/commonmark &&
cp -R "$tmp/.agents/skills/commonmark" ~/.copilot/skills/commonmark &&
rm -rf "$tmp"For one project only, put the folder in .github/skills/commonmark inside it instead.
Get the folder:
git clone --depth 1 https://github.com/ScaleDockHQ/better-supabase.gitThen copy better-supabase/.agents/skills/commonmark into your agent's skills folder as commonmark. Agents that support SKILL.md read one folder per skill.
What it does
- Pinned spec version
- Targets CommonMark 0.31.2 and records the pinned revision and fetch date in its sources.
- Quoted requirements
- Includes a references file of sentences quoted from the specification for the agent to check against.
- Role-aware workflow
- Distinguishes producer and consumer roles when deciding which requirements apply.
- Version guidance
- A versions reference explains which line to use and how to upgrade between lines.
- Verification checklist
- Ends with checks that the output cites the target revision and satisfies each applicable requirement.
- Refresh instructions
- Describes re-reading the source URLs and checking for a newer revision when updating the skill.
Good for
- Implement a Markdown parser that follows CommonMark 0.31.2
- Check that a Markdown renderer handles ATX headings per the spec
- Review code that consumes CommonMark for spec compliance
- Handle insecure characters such as U+0000 correctly when parsing
- Plan an upgrade between CommonMark versions
Commonmark FAQ
Which CommonMark version does it cover?
CommonMark 0.31.2 is the pinned and current line, and the user can name another revision.
Does Commonmark include scripts?
No. It consists of the SKILL.md and Markdown reference files for versions and requirements.
How do I install Commonmark?
Run npx skills add ScaleDockHQ/scaledock-skills --skill commonmark, then ask the agent to apply CommonMark.
What license is Commonmark under?
MIT.
How do I install Commonmark in Claude Code?
Copy the skill folder from GitHub to ~/.claude/skills/commonmark to use it in all your projects, or to .claude/skills/commonmark in one project. Or install the better-supabase plugin, which includes it: /plugin marketplace add ScaleDockHQ/better-supabase, then /plugin install better-supabase@better-supabase.
Does Commonmark run scripts?
No. It is instructions only, with no scripts. This comes from a static check of the files on GitHub; nothing was run. Read the files before you install it.
Which AI agents can use Commonmark?
Claude Code, Codex, Cursor, Gemini CLI, GitHub Copilot, Windsurf and Goose. Each reads skills in the SKILL.md format from its own folder; the install steps on this page list them.
What are the best alternatives to Commonmark?
The closest alternatives to Commonmark are Markdown to HTML, Update markdown file index, Editorconfig, Agent skills and Convert plaintext to md.
Where this comes from
- Description: from the skill's own SKILL.md.
More from ScaleDockHQ/better-supabase

Publish Agent Cards and run agent-to-agent calls over the A2A 1.0 protocol
- Open source
- 5 GitHub stars
- Developer tools

Lets an agent stream runs, tool calls and shared state to user-facing apps over AG-UI 1.0
- Open source
- 5 GitHub stars
- Developer tools

Lets an AI agent drive Chrome or Chromium through a fast browser automation CLI
- Open source
- 5 GitHub stars
- Browser automation

Guides an agent to write, review and validate SKILL.md skills against the Agent Skills
- Open source
- 5 GitHub stars
- Developer tools

Write, place, migrate and review AGENTS.md instruction files for coding agents
- Open source
- 5 GitHub stars
- Developer tools

Guides an agent to set up and operate Vercel AI Gateway for model routing and spend
- Open source
- 5 GitHub stars
- AI models and LLM tooling


