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.
npx skills add zyli5313/dochost-mcp --skill dochost-publishgit clone --depth 1 https://github.com/zyli5313/dochost-mcpWrote 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.
[](https://agentmods.dev/skills/zyli5313/dochost-mcp/dochost-publish)<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.
<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>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.
| Model | Per session | Once 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 |
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 \ 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.
- Sign in at https://dochost.io, open Settings → API keys, create a key.
- 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. |
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.
- 11d ago First seen · 116 lines · 143 tokens per session scan A f4f961d81af9
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.
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.
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.
html-artifact-report
Create HTML report artifacts from notes or Markdown with paired JSON manifests for AI-agent audit and reuse.
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…
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…
data-exporter
Multi-format data export and conversion between JSON, CSV, Markdown, HTML, TSV, and TXT.