Agenthost

Publishes a static site or a folder of Markdown docs to a hosted URL and returns a private, pre-authenticated share link. Use when the user wants to publish a site/html/markdowns o…

Gabriel Francisco

@ceifa

What This Skill Does

Publishes a static site or folder of Markdown docs to a hosted URL and returns a private, pre-authenticated share link. No signup required; uses curl to pipe a single file or gzipped tar.

Replaces setting up a web server or using a cloud hosting service for sharing static content by providing instant, private URLs with no account creation.

When to Use It

  • Share a rendered Markdown report with a colleague via a private link
  • Publish a static HTML prototype for client review without setting up a server
  • Distribute a documentation folder as a hosted site with a single curl command
  • Redeploy an updated version of a site to the same private URL using an owner token
  • Quickly preview a GitBook-style Markdown documentation set online

Install

$ openclaw skills install @ceifa/agenthost

Publish static files or Markdown, get back a private, pre-authenticated share link for a human. No signup, no key to start. id becomes the subdomain: {username}-{id}.agenthost.page.

Publish

Single file — pipe a .md or .html in with its Content-Type. Markdown renders, HTML is served as-is; the file lands at /.

curl -s --data-binary @report.md \
  -H 'Content-Type: text/markdown' \
  'https://agenthost.page/publish?id=report'

Folder — pipe a gzipped tar of the directory.

tar czf - -C ./dist . | curl -s --data-binary @- \
  -H 'Content-Type: application/gzip' \
  'https://agenthost.page/publish?id=myblog'

The JSON response has two fields that matter:

  • shareUrl — hand THIS to the human. Opening it logs the visitor in via a cookie on first load.
  • ownerToken — save it. Shown once; the only way to redeploy to the same URL.

Both absolute (/css/app.css) and relative (./css/app.css) asset paths resolve, since each site is its own subdomain root.

Redeploy the same URL

Reuse the ownerToken and username from the first publish:

tar czf - -C ./dist . | curl -s --data-binary @- \
  -H 'Content-Type: application/gzip' \
  -H 'Authorization: Bearer <ownerToken>' \
  'https://agenthost.page/publish?id=myblog&username=<username>'

Notes

  • Markdown docs: a folder of .md renders GitBook-style (sidebar + README.md home). Add SUMMARY.md for ordering. GFM and ```mermaid render; mixed .html+.md works.
  • Limits (free tier): 50 files · 5 MB/file · 250 MB/site · 500 MB/account. Sites carry noindex and are deleted 15 days after their last publish.
  • Making a site public, key rotation, recovery email, full field list, and error codes: references/http-api.md.

Top skills in this category