Agent skill

Publish To Mdpage

by maypaz in maypaz/md.page

Turn any markdown into a shareable web page via md.page. An agent skill from maypaz/md.page.

MITAuto-check: notesDocuments & Office

Install Publish To Mdpage

skills CLI
$ npx skills add maypaz/md.page --skill publish-to-mdpage -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install maypaz/md.page publish-to-mdpage --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/maypaz/md.page.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/publish-to-mdpage .claude/skills/publish-to-mdpage && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
publish-to-mdpage
GitHub stars
116
Token cost
~610 tokens
SKILL.md length
235 words
Files
2
Skills in repo
1
Repo updated
First seen
Licence
MIT

At a glance

Turn any markdown into a shareable web page via md.page. An agent skill from maypaz/md.page.

  • Works in 5 steps: Prepare the markdown content → Use the Bash tool with curl to POST the… → To safely handle special characters… → …
  • The user asks to share this
  • SKILL.md covers API, Workflow and Formatting tips
  • Calls curl and python3; reaches md.page

What it does

Publish To Mdpage is an agent skill from maypaz/md.page. Turn any markdown into a shareable web page via md.page. Use when the user asks to "share this", "publish this markdown", "create a shareable link", "make this a web page", "send this as a link", "host this", or wants to turn any markdown content into a URL. Also triggers on "publish a report", "share my notes", "create a page", or any request to make content accessible via a link.

Its SKILL.md is about 610 tokens, which your agent loads only when the skill is triggered. The skill folder holds 1 other file (for example `package.json`).

It sits in Documents & Office, covering Markdown. It works with Model Context Protocol, Cloudflare Workers and Hono. The repository describes itself as: Instantly turn Markdown into a shareable web page. Self-hostable open-source engine of md.page. The licence is MIT.

When your agent uses it

  • The user asks to share this
  • Publish this markdown
  • Create a shareable link
  • Make this a web page

Example prompts

  • “share this”
  • “publish this markdown”
  • “create a shareable link”
  • “/publish-to-mdpage”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. Prepare the markdown content
  2. Use the Bash tool with curl to POST the markdown.
  3. To safely handle special characters (quotes, apostrophes, newlines), use Python to JSON-encode the payload, then pipe it to curl
  4. Parse the JSON response and return the url to the user. Mention the page expires in 24 hours.
  5. If the request fails, check the error status code against the table above and inform the user.

What it can do on your machine

Read from SKILL.md and the folder at commit 54bbbd1. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Shell commands in SKILL.md call:

    • curl
    • python3

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • md.page

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Publish To Mdpage loads about 610 tokens when it runs. Until then it costs about 101 tokens; SKILL.md has 235 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~101
When it runs · the whole SKILL.md, loaded when a task matches
~610

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:36
    , passwords, credentials, private keys, `.env` values). If any are found, warn the user and do NOT publish until they co

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from maypaz/md.page at commit 54bbbd1, republished under its MIT licence (© maypaz). 235 words, ~610 tokens.

Download SKILL.mdSave it as .claude/skills/publish-to-mdpage/SKILL.md (or your agent's skills folder). This skill also uses 1 other file; get the full folder from GitHub.
name
publish-to-mdpage
description
Turn any markdown into a shareable web page via md.page. Use when the user asks to "share this", "publish this markdown", "create a shareable link", "make this a web page", "send this as a link", "host this", or wants to turn any markdown content into a URL. Also triggers on "publish a report", "share my notes", "create a page", or any request to make content accessible via a link.

Publish to md.page

Publish any markdown as a beautiful, shareable web page with one API call. No accounts, no API keys, no setup.

API

POST https://md.page/api/publish

bash
curl -X POST https://md.page/api/publish \
  -H "Content-Type: application/json" \
  -d '{"markdown": "# Hello\n\nYour content here"}'

Response 201 Created:

json
{
  "url": "https://md.page/a8Xk2m",
  "expires_at": "2026-03-29T12:00:00.000Z"
}
ErrorCause
400Missing or invalid markdown field, or invalid JSON body
413Content exceeds 500KB

Workflow

  1. Prepare the markdown content:
    • If the user wants to publish an existing file, use the Read tool to read it first, then publish its contents. Before publishing, scan the content for secrets (API keys, tokens, passwords, credentials, private keys, .env values). If any are found, warn the user and do NOT publish until they confirm.
    • If generating new markdown, start with a # Title for proper page titles and link previews. Never include secrets or credentials in generated content.
  2. Use the Bash tool with curl to POST the markdown.
  3. To safely handle special characters (quotes, apostrophes, newlines), use Python to JSON-encode the payload, then pipe it to curl:
bash
curl -s -X POST https://md.page/api/publish \
  -H "Content-Type: application/json" \
  -d "$(python3 -c "
import json
md = '''YOUR MARKDOWN HERE'''
print(json.dumps({'markdown': md}))
")"
  1. Parse the JSON response and return the url to the user. Mention the page expires in 24 hours.
  2. If the request fails, check the error status code against the table above and inform the user.

Formatting tips

  • A first-line # Heading becomes the page title in browser tabs and social previews.
  • Code blocks, tables, blockquotes, lists, images, and links all render with clean styling.
  • Dark mode is automatic.
  • Max content size: 500KB.
  • URLs are private, unguessable 6-character IDs.

© maypaz, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 1 other file in skills/publish-to-mdpage of maypaz/md.page.

  • SKILL.md
  • package.json

Open the folder on GitHubat commit 54bbbd1

Compare with similar skills

Publish To Mdpage next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Publish To Mdpage compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Publish To Mdpage this skillmaypaz/md.page116—~610Automated safety check: NotesMIT
PullmdAeternaLabsHQ/pullmd486—~2.6kAutomated safety check: PassAGPL-3.0
MineruNebutra/MinerU-Skill123—~1.4kAutomated safety check: PassMIT
Rebuild Launcherspiculedata/saiku1.3k—~467Automated safety check: PassApache-2.0
Web Article Extractordongbeixiaohuo/writing-agent434—~740Automated safety check: PassMIT
Jpagecode2rich/jpage175—~3.2kAutomated safety check: NotesMIT

Similar skills

  • Pullmd

    AeternaLabsHQ/pullmd

    Read any web page, document, or YouTube video as clean Markdown using PullMD.

    486 GitHub stars~2.6k tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Mineru

    Nebutra/MinerU-Skill

    An AI-Native skill for parsing PDF / Office / image files into clean Markdown with MinerU — a fast, zero-config document parser for AI agents.

    123 GitHub stars~1.4k tokensUpdated 17 days ago
    Documents & OfficeAuto-check passed
  • Rebuild Launcher

    spiculedata/saiku

    Rebuild and restart the Saiku launcher fat-JAR after changing saiku-ui or Java code, without shipping stale UI bundles or breaking the running JVM.

    1.3k GitHub stars~467 tokensUpdated today
    Documents & OfficeAuto-check passed
  • Web Article Extractor

    dongbeixiaohuo/writing-agent

    使用隔离的 Chrome DevTools MCP 从博客、新闻、公众号等网页提取正文,返回结构化内容,或保存 Markdown 和远程图片。用户要求提取文章、抓取网页正文、保存为 Markdown、下载文章图片或排查正文选择器时调用。

    434 GitHub stars~740 tokensUpdated yesterday
    Documents & OfficeAuto-check passed
  • Jpage

    code2rich/jpage

    即页(jpage)统一技能:生成 HTML/Markdown 内容、制作 reveal.js 幻灯片、使用内容模板市场风格、上传到即页并管理文件。所有内容生产与文件管理操作都通过本技能完成。

    175 GitHub stars~3.2k tokensUpdated 2 mo ago
    Documents & OfficeAuto-check: notes
  • Adk Docs Writer

    BrainDAO/adk-ts

    ADK-TS documentation specialist for Fumadocs MDX pages. An agent skill from BrainDAO/adk-ts.

    119 GitHub stars~4.9k tokensUpdated 3 mo ago
    Documents & OfficeAuto-check passed

Questions about Publish To Mdpage

What does Publish To Mdpage do?

Turn any markdown into a shareable web page via md.page. An agent skill from maypaz/md.page. page.page.

When should I use Publish To Mdpage?

Publish To Mdpage fits situations like: the user asks to share this; publish this markdown; create a shareable link; make this a web page.

How do I install Publish To Mdpage in Claude Code?

Run `npx skills add maypaz/md.page --skill publish-to-mdpage -a claude-code`. Or copy the skill folder (skills/publish-to-mdpage in maypaz/md.page) into .claude/skills/publish-to-mdpage in your project. Claude Code loads it when a task matches its description.

How do I install Publish To Mdpage in Codex?

Run `npx skills add maypaz/md.page --skill publish-to-mdpage -a codex`. Or copy the skill folder (skills/publish-to-mdpage in maypaz/md.page) into .agents/skills/publish-to-mdpage in your project. Codex loads it when a task matches its description.

Can I use Publish To Mdpage in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add maypaz/md.page --skill publish-to-mdpage -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/publish-to-mdpage, .gemini/skills/publish-to-mdpage, .github/skills/publish-to-mdpage and .opencode/skills/publish-to-mdpage in your project.

What does Publish To Mdpage need to run?

Going by SKILL.md and its folder, Publish To Mdpage needs the command-line tools its instructions call (curl and python3). Our summary lists: Python 3.

Does Publish To Mdpage access the network?

SKILL.md names 1 domain. In commands or code: md.page; the agent is likely to contact it when it follows the instructions. This is read from the text; nothing was executed.

Is Publish To Mdpage safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Publish To Mdpage use?

Publish To Mdpage is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Publish To Mdpage use?

About 610 tokens (SKILL.md is roughly 2.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Publish To Mdpage?

Skills that share tags, products or a category with Publish To Mdpage: Pullmd (AeternaLabsHQ/pullmd, 486 stars), Mineru (Nebutra/MinerU-Skill, 123 stars), Rebuild Launcher (spiculedata/saiku, 1.3k stars) and Web Article Extractor (dongbeixiaohuo/writing-agent, 434 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Publish To Mdpage?

maypaz (a GitHub user) maintains it in maypaz/md.page, which has 116 GitHub stars. The repository was last updated on September 9, 2026.

Source: maypaz/md.page on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.