dochost-publish

dochost-publish is a skill for Claude Code, Codex from zyli5313/dochost-mcp. It costs 143 tokens per session (1,183 once invoked), scanned A, original, MIT.

A publishing tool that turns Markdown or HTML into a hosted, shareable page on dochost.io.

In plain words
What is it for?
Use it to publish reports, README files, documents, or web pages and return their dochost.io URLs.
Why use it?
It removes the need to set up hosting when you want to send someone a document as a readable web link.

Skill for Claude CodeCodex

Which agent this was written for is unclear — built for openclaw. Also seen: built for openclaw.

Good fit Use it to publish reports, README files, documents, or web pages and return their dochost.io URLs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/zyli5313/dochost-mcp/dochost-publish
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 zyli5313/dochost-mcp --skill dochost-publish
Clone the repo
git clone --depth 1 https://github.com/zyli5313/dochost-mcp

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 dochost-publish

README.md
[![agentmods](https://agentmods.dev/badge/skills/zyli5313/dochost-mcp/dochost-publish/github.svg)](https://agentmods.dev/skills/zyli5313/dochost-mcp/dochost-publish)
Your own site
<a href="https://agentmods.dev/skills/zyli5313/dochost-mcp/dochost-publish"><img src="https://agentmods.dev/badge/skills/zyli5313/dochost-mcp/dochost-publish/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 dochost-publish

Your own site · 80×15
<a href="https://agentmods.dev/skills/zyli5313/dochost-mcp/dochost-publish"><img src="https://agentmods.dev/badge/skills/zyli5313/dochost-mcp/dochost-publish.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 143 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 1,183 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.
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.00143 $0.01183
Opus 5 $0.00072 $0.00592
Sonnet 5 $0.00029 $0.00237
Haiku 4.5 $0.00014 $0.00118

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

Security

Grade A, and why

dochost-publish 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 11d 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 -sS -X POST https://dochost.io/api/mcp \
skills/dochost-publish/SKILL.md · 116 lines

How it starts

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

Publish to dochost

Turn Markdown or HTML into a hosted web page at its own URL, in one call. The page renders live (Markdown and HTML), so the recipient sees a real page, not a raw .md blob. Free links last 7 days; permanent links, passwords, custom slugs and branding removal follow the account's plan.

One-time setup

The agent publishes as a dochost user, authenticated with an API key.

  1. Sign in at https://dochost.io, open Settings → API keys, create a key.
  2. Make it available to the agent as the environment variable DOCHOST_API_KEY.

That's the whole setup. Entitlements (link lifetime, password, custom slug, branding) come from the account that owns the key, never from tool input.

How to publish

Send one JSON-RPC tools/call to the dochost MCP endpoint with the key as a Bearer token. No handshake or initialize call is needed (the server is stateless).

curl -sS -X POST https://dochost.io/api/mcp \
  -H "Authorization: Bearer $DOCHOST_API_KEY" \
  -H "Content-Type: application/json" \
  -H "Accept: application/json" \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "tools/call",
    "params": {
      "name": "publish",
      "arguments": {
        "body": "# My report\n\nHello world.",
        "format": "markdown"
      }
    }
  }'

Reading the result

The response is JSON-RPC. The tool payload is a JSON string inside result.content[0].text. Parse it and read url:

# ...pipe the curl output through jq:
| jq -r '.result.content[0].text | fromjson | .url'

A success payload looks like:

{ "ok": true, "slug": "q3-report", "url": "https://dochost.co/d/q3-report",
  "editToken": "…", "expiresAt": "2026-06-22T12:00:00.000Z" }

Give the user the url. Mention expiresAt if it is set (free links expire; null means permanent). Keep editToken only if the user may want to edit later.

publish arguments

Argument Type Notes
body string (required) The Markdown or HTML to publish.
format "markdown" | "html" Auto-detected when omitted. Set it if the content is ambiguous.
public boolean List on dochost Explore. Default false (unlisted).
customSlug string · paid Choose the link path instead of a random slug.
password string · paid Gate the page behind a password.
noBranding boolean · paid Hide the dochost footer badge.

Read the full file on GitHub · 116 lines

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. 11d ago First seen · 116 lines · 143 tokens per session scan A f4f961d81af9

Subscribe to this mod's changes

dochost-publish is a skill published in the GitHub repository zyli5313/dochost-mcp (1 stars, last pushed 4d ago), licensed MIT. It adds 143 tokens to every session and 1,183 once invoked, about $0.0007 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-31.

Related

Other skills, from other repositories

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

artifact

Share documents, images, and PDFs with a human as persistent links via the Artifacts MCP server. Use when the user asks to publish or share an artifact, document, diagram, generated image, or PDF with a link.

dbtlr/artifacts · 47 tokens

html-artifact-report

Create HTML report artifacts from notes or Markdown with paired JSON manifests for AI-agent audit and reuse.

DeepCogNeural/html-artifact-report-skill · 24 tokens

report

Render a research, documentation, or analysis report as a designed HTML document using the project template, instead of emitting a raw .md file. Use whenever the user asks for a report, analysis, deep-dive, investigation, postmortem, summary, write-up, briefing, or any structured long-form (>500 words, multiple…

TheoRata/Report-Skill · 177 tokens

local-doc-to-markdown

Convert local PDF, Word (.doc/.docx), PowerPoint (.ppt/.pptx), Excel (.xls/.xlsx), OpenDocument, RTF, EPUB, and CSV to GitHub-Flavored Markdown via the anydoc MCP server. Triggers include convert pdf to markdown, read docx, powerpoint to md, excel to markdown, office files in repo, and local document convert without…

ofershap/mcp-server-anydoc · 129 tokens

data-exporter

Multi-format data export and conversion between JSON, CSV, Markdown, HTML, TSV, and TXT.

chainlesschain/chainlesschain · 23 tokens