AgentStack
Browse Sign in
Browse Why AgentStack Sell Docs
Sign in
SKILL verified MIT Self-run

Html2link Publish

skill-joohw-html2link-skill-html2link-publish · by joohw

Publish generated artifacts to html2link.dev and return short shareable URLs. Use when Codex or another agent creates an HTML file, static site ZIP, PDF, Markdown document, spreadsheet, DOCX, or PPTX and needs to give the user a browser-friendly link instead of only a local file path or attachment.

No reviews yet
0 installs
38 views
0.0% view→install

Install

$ agentstack add skill-joohw-html2link-skill-html2link-publish

✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.

Security review

✓ Passed

No issues found. Passed automated security review. · v0.1.0 How review works →

  • Prompt-injection patterns
  • Secret / credential exfiltration
  • Dangerous shell & filesystem operations
  • Untrusted network calls
  • Known-malicious package signatures

What it can access

  • Network access Used
  • Filesystem access No
  • Shell / process execution No
  • Environment & secrets No
  • Dynamic code execution No

From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.

View the full security report →

Verified badge

Passed review? Show it. Paste this badge into your README, it links to the public security report.

AgentStack Verified badge Links to your public security report.
[![AgentStack Verified](https://agentstack.voostack.com/badges/verified.svg)](https://agentstack.voostack.com/security/report/skill-joohw-html2link-skill-html2link-publish)

Reliability & compatibility

Security review passed
0 installs to date
no reviews yet
3mo ago

Declared compatibility

Claude CodeClaude Desktop

Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.

Preview Execution monitoring

We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.

How agent discovery & health will work →
Are you the author of Html2link Publish? Claim this listing to set pricing, connect Stripe payouts, and keep 70% of every sale.
Sign up to claim

About

html2link Publish

Overview

Use html2link to turn local artifacts into short links that open directly in a browser. Prefer this skill after creating a report, prototype, dashboard, presentation, document, static site, or other deliverable that the user may want to view or share.

Supported Inputs

  • .html, .htm
  • .zip static sites that contain index.html; archives with one top-level folder are normalized by html2link
  • .pdf
  • .md, .markdown
  • .xlsx, .xls, .csv
  • .docx
  • .pptx

Publish Workflow

  1. Write the artifact to a stable local file path.
  2. If the artifact is a static site, package it as a ZIP with index.html at the root when possible.
  3. Upload the file with scripts/publish-html2link.mjs or an equivalent curl request.
  4. Return only the public url field to the user unless they ask for API details.
  5. Treat updateToken as private. Store or show it only when the user explicitly wants to update or delete the same link later.

Script

Run the bundled script from the skill directory or with an absolute path:

node scripts/publish-html2link.mjs /absolute/path/to/report.html

The script prints the JSON API response. It reads these optional environment variables:

  • HTML2LINK_BASE_URL: Defaults to https://html2link.dev
  • HTML2LINK_API_TOKEN: Bearer token for files over the anonymous limit

Update an existing link:

node scripts/publish-html2link.mjs /absolute/path/to/report.html --slug a1B2c3D4 --update-token keep-this-private

Delete a link:

node scripts/publish-html2link.mjs --delete --slug a1B2c3D4 --update-token keep-this-private

Direct API

Upload with multipart field file:

curl -F "file=@/absolute/path/to/report.html" https://html2link.dev/api/upload

For files above 1 MB, include a signed-in user's API token:

curl -H "Authorization: Bearer $HTML2LINK_API_TOKEN" -F "file=@/absolute/path/to/report.pptx" https://html2link.dev/api/upload

Successful response:

{
  "slug": "a1B2c3D4",
  "updateToken": "keep-this-private",
  "url": "https://html2link.dev/x/a1B2c3D4",
  "kind": "html",
  "size": "42 KB",
  "updated": false
}

Update an existing link:

curl -F "slug=a1B2c3D4" -F "updateToken=keep-this-private" -F "file=@/absolute/path/to/report.html" https://html2link.dev/api/upload

Delete an existing link:

curl -X DELETE -H "Content-Type: application/json" -d '{"slug":"a1B2c3D4","updateToken":"keep-this-private"}' https://html2link.dev/api/upload

Limits And Errors

  • Anonymous uploads are free up to 1 MB.
  • Authenticated uploads are supported up to 100 MB.
  • If the API returns requiresLogin: true, tell the user the file is over the anonymous limit and needs authenticated publishing with HTML2LINK_API_TOKEN.
  • If upload fails, report the HTTP status and response body. Do not invent a link.
  • If publishing sensitive or private material, confirm that the user wants a public share link before uploading.

User Response

Keep the response concise:

Published: https://html2link.dev/x/a1B2c3D4

Mention the local file path only when it is useful for follow-up work.

Source & license

This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.

Install and usage instructions live in the source repository linked above.

Reviews

No reviews yet, be the first.

Versions

  • v0.1.0 Imported from the upstream source.