publish-to-mdpage

publish-to-mdpage is a skill for Claude Code, Codex from maypaz/md.page. It costs 98 tokens per session (626 once invoked), scanned A, original, MIT.

A publishing tool that turns Markdown, a plain-text document format, into a temporary shareable web page on md.page.

In plain words
What is it for?
Use it to publish Markdown content, including existing files, after checking that it contains no passwords, tokens, API keys, or other secrets.
Why use it?
It avoids setting up a website when you only need to share notes or a report through a link.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one.

Good fit Use it to publish Markdown content, including existing files, after checking that it contains no passwords, tokens, API keys, or other secrets.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/maypaz/md.page/publish-to-mdpage
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add maypaz/md.page --skill publish-to-mdpage
Clone the repo
git clone --depth 1 https://github.com/maypaz/md.page

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for publish-to-mdpage

README.md
[![agentmods](https://agentmods.dev/badge/skills/maypaz/md.page/publish-to-mdpage/github.svg)](https://agentmods.dev/skills/maypaz/md.page/publish-to-mdpage)
Your own site
<a href="https://agentmods.dev/skills/maypaz/md.page/publish-to-mdpage"><img src="https://agentmods.dev/badge/skills/maypaz/md.page/publish-to-mdpage/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for publish-to-mdpage

Your own site · 80×15
<a href="https://agentmods.dev/skills/maypaz/md.page/publish-to-mdpage"><img src="https://agentmods.dev/badge/skills/maypaz/md.page/publish-to-mdpage.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 98 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 626 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 1 finding. A grade says what 26 rules found in the file — not that it is safe. Third-party audits
  • NVIDIA SkillSpector warn 7 Sept 2026
SkillSpector: 2 findings, up to medium

These are SkillSpector’s own severities. On a checked sample its high-severity flags on skills were ~96% false positives — a documented command, a public API, a “never do X” rule — so we show them as a caution to read, not a verdict. Why →

  • medium Data Exfiltration · line 15
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
  • medium Data Exfiltration · line 42
    Data is being sent to an external URL. This could be legitimate telemetry or data exfiltration. Manual review is recommended.
    Fix: Verify the destination URL is trusted and necessary. Remove or replace with documented APIs. Ensure no secrets, tokens, or PII are transmitted.
How audits are shown
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00098 $0.00626
Opus 5 $0.00049 $0.00313
Sonnet 5 $0.00020 $0.00125
Haiku 4.5 $0.00010 $0.00063

Measured 12d ago against content hash e785a3e101d5, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-11, from the pricing page.

Security

Grade A, and why

publish-to-mdpage scanned grade A with 1 finding against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

curl -X POST https://md.page/api/publish \
skills/publish-to-mdpage/SKILL.md · 61 lines

How it starts

The opening of the file, as written. The whole thing — 61 lines — stays where its author put it; the contents beside it link to each section on GitHub.

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

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

Response 201 Created:

{
  "url": "https://md.page/a8Xk2m",
  "expires_at": "2026-03-29T12:00:00.000Z"
}
Error Cause
400 Missing or invalid markdown field, or invalid JSON body
413 Content 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:
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.

Read the full file on GitHub · 61 lines

Files

What ships with it

1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 61 lines · 98 tokens per session scan A e785a3e101d5

Subscribe to this mod's changes

publish-to-mdpage is a skill published in the GitHub repository maypaz/md.page (107 stars, last pushed 2d ago), licensed MIT. It adds 98 tokens to every session and 626 once invoked, about $0.0005 per session on Opus 5. A static security scan graded it A with 1 finding (makes network calls). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

wechat-styler

A tool that converts Markdown articles into inline-styled HTML for WeChat public accounts, with selectable layouts and optional structured components or opening animations.

zjp1997720/zhijian-skills · 81 tokens

publish-report

Publish local HTML, Markdown, or built static web projects with Pagecast as shareable public URLs. Use whenever Codex creates or finishes an .html, .htm, .md, .markdown, or static build output that a person could share (a report, plan, doc, dashboard, or analysis) — proactively offer to publish it without being asked…

Amal-David/pagecast · 113 tokens

pdf-press

Teaches agents how to generate Markdown, HTML (with embedded SVG), and Mermaid content that renders beautifully to multi-page PDF via writepdf, with proper page breaks, compact professional layouts, brand and domain-adaptive color schemes, multi-column support for scientific papers, magazine-style editorial documents…

kdcube/kdcube · 74 tokens

png-press

Teaches agents how to author content and configure writepng so PNGs render at the correct size, with tight cropping, readable text, and consistent scaling.

kdcube/kdcube · 36 tokens

format-converter-brief

Produces a clear, step-by-step brief explaining exactly how to convert a finished article or document from one format (Word, plain text, InDesign export) into a specified target format (Markdown, HTML, or structured plain text), preserving all editorial elements correctly.

ur-grue/autopunk-media-skills · 58 tokens

hardcoded-credential-hunt

Detect hardcoded passwords in HTML forms, JavaScript, and API responses.

uphiago/recon-skills · 22 tokens