htmlhoster-upload
FreeRuns bundled scriptsNot checkedPublish HTML pages, images, PDFs, ZIP (unzip hosting) and Markdown documents to htmlhoster.com and get back a public URL. Use this whenever an agent needs to…
by ethandavis0411149 installs in other catalogsAbout this skill
htmlhoster-upload
Host generated content on htmlhoster.com through its programmatic Agent upload
API and receive a public URL (entryUrl). No browser, no CAPTCHA, no API key
required (rate-limited per IP instead).
When to use
- You produced an
.htmlpage (or a set of HTML + assets) and need a public link. - You have images / PDFs to host.
- You have a
.zipwhose contents should be hosted (e.g. a built site). - You have Markdown (
.md+ assets, or a zip package) to render into HTML and host.
Before you upload: scan for sensitive info
htmlhoster is a public site — every uploaded file is reachable by anyone who has the URL, with no authentication. Treat every upload as publishing to the world.
Step 1 — the agent reviews the content itself (mandatory, do not skip). Before you call the upload, you (the agent) must actually read the file(s) you are about to publish and eyeball them for sensitive material. Do not rely on the script's scan alone — the scan is mechanical and will miss things like:
- credentials in unusual or obfuscated forms (split strings, base64, env lookups)
- personal data that isn't a literal "key" pattern (emails, phone numbers, addresses, internal hostnames, real names of third parties)
- anything you generated that you would not paste into a public chat If you spot something sensitive, stop and ask the user before publishing.
Step 2 — the script's automatic scan (defence in depth).
The bundled scripts/upload.py also runs a secret scan before every upload
and aborts (non-zero exit) if it detects a likely secret. If it aborts, do not
blindly re-run with --no-check to push the content through — review the flagged
file with the user first. Only pass --no-check when the user has explicitly
confirmed the content is safe to publish. Even with --no-check, never upload
real credentials or personal data: the final responsibility is yours, not the
script's.
Endpoint
Base:
https://api.htmlhoster.com(override with envHTMLHOSTER_API_BASE)POST /agent/upload— HTML / images / PDF / ZIPPOST /agent/markdown— Markdown rendering & hostingDELETE /api/uploads/{uploadId}— remove a page you uploaded (see Deleting)
Both upload endpoints return JSON containing entryUrl (the public page), files
(per-file URLs) and deleteToken (see Deleting below).
Supported formats
| Mode | Endpoint | Notes |
|---|---|---|
| HTML | /agent/upload |
HTML gets automatic nofollow + floating report widget injected. |
| Images (png/jpg/gif/webp/svg/...) | /agent/upload |
Served as-is. |
/agent/upload |
Served as-is. | |
| ZIP (unzip) | /agent/upload with --unzip |
Each entry hosted; inner index.html becomes the entry URL. |
| Markdown | /agent/markdown |
Rendered to HTML (GFM + task lists + KaTeX/Mermaid/CDN), then hosted. |
Rate limit
Single client IP: 50 uploads per day (both endpoints share the quota). Exceeding
returns HTTP 429.
On 429: stop and tell the user the daily quota is exhausted. Do not retry in a
loop, and do not attempt to work around the limit. Suggest the user upload
manually in the browser at https://htmlhoster.com — the web tools have no daily
quota — or wait for the quota to reset. A login / API-key system is planned to
lift the quota for identified users.
Acceptable use
Upload only content you created or are authorised to publish. Prohibited: phishing and brand-impersonation pages, credential-harvesting forms, malware, crypto-mining or other hidden scripts, spam / SEO link farms, and anything illegal. Pages are served from a shared public domain and may be removed without notice; abusive clients may be blocked. Never upload secrets, credentials, or personal data — every uploaded file is reachable by anyone holding the URL. If you are unsure whether content is allowed, ask the user before uploading.
How to upload (recommended: the bundled script)
This skill ships scripts/upload.py — pure standard library, zero dependencies.
# HTML / images / PDF, optionally unzip a zip
python scripts/upload.py --mode html --file index.html --file logo.png --unzip
# Markdown via zip package (contains .md + assets)
python scripts/upload.py --mode markdown --package doc.zip
# Markdown via single .md + assets
python scripts/upload.py --mode markdown --file doc.md --asset img1.png --asset img2.png
Environment:
HTMLHOSTER_API_BASE(optional): API base, defaulthttps://api.htmlhoster.com.HTMLHOSTER_UPLOAD_EXTRA_HEADERS(optional): extra request headers,k1:v1;k2:v2.
On success it prints the JSON (grab entryUrl). Exit code 0 on success, non-zero on
failure (the error body is printed to stderr).
Deleting an upload
Every successful upload returns a deleteToken. It is scoped to that one uploadId
and is the only way for you to remove the page. The token is a random value stored
server-side on htmlhoster (under a non-public prefi
Install htmlhoster-upload in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
FAQ
What does the htmlhoster-upload skill do?
Publish HTML pages, images, PDFs, ZIP (unzip hosting) and Markdown documents to htmlhoster.com and get back a public URL. Use this whenever an agent needs to host generated web pages, static assets, or rendered markdown and return a shareable link. Works for WorkBuddy, Claude Code, Codex, and any CLI agent.
How do I install the htmlhoster-upload skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the htmlhoster-upload skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
mcp-builder
Guide for creating high-quality MCP (Model Context Protocol) servers that enable LLMs to interact with external services through well-designed tools. Use when…
by Anthropicclaude-api
Reference for the Claude API / Anthropic SDK — model ids, pricing, params, streaming, tool use, MCP, agents, caching, token counting, model migration. TRIGGER…
by Anthropicalgorithmic-art
Creating algorithmic art using p5.js with seeded randomness and interactive parameter exploration. Use this when users request creating art using code…
by Anthropicmcp-integration
This skill should be used when the user asks to "add MCP server", "integrate MCP", "configure MCP in plugin", "use .mcp.json", "set up Model Context…
by Anthropic