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 agentmods add skills/joohw/html2link-skill/html2linknpx skills add joohw/html2link-skill --skill html2linkgit clone --depth 1 https://github.com/joohw/html2link-skillWhat 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 | $0.00063 | $0.00918 |
| Opus 5 | $0.00032 | $0.00459 |
| Sonnet 5 | $0.00013 | $0.00184 |
| Haiku 4.5 | $0.00006 | $0.00092 |
Grade A, and why
html2link 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 2d 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.
4. Prefer the `html2link` CLI when it is installed; otherwise use the anonymous curl fallback. How it starts
The opening of the file, as written. The whole thing — 102 lines — stays where its author put it; the contents beside it link to each section on GitHub.
html2link Artifact Publishing
Publish a finished local artifact and return the exact URL from the API. Treat every generated URL as public.
Core workflow
- Finish and verify the artifact before uploading it.
- Package a multi-file static site as a ZIP containing
index.html. - Check that the artifact contains no secrets, credentials, or unintended private data.
- Prefer the
html2linkCLI when it is installed; otherwise use the anonymous curl fallback. - Parse the exit status and JSON response. Do not claim success unless it contains
url. - Return the exact
urlvalue as a clickable link. Do not reconstruct it fromslug.
Publish a new artifact
With the CLI:
html2link publish /absolute/path/to/report.html
Anonymous curl fallback for files up to 1 MB:
curl --fail-with-body -F "file=@/absolute/path/to/report.html" https://html2link.dev/api/upload
For larger files, use an API token from the signed-in home page:
HTML2LINK_API_TOKEN="..." html2link publish /absolute/path/to/report.html
Keep authenticated operations in the CLI so credentials stay in the local process environment rather than being embedded in reusable shell commands.
Use --json when another program needs the complete response:
html2link publish /absolute/path/to/report.html --json
Handle a successful response
{
"slug": "a1B2c3D4",
"updateToken": "keep-this-private",
"url": "https://html2link.dev/x/a1B2c3D4",
"kind": "html",
"size": "42 KB",
"updated": false
}
- Return
urlto the user. - Keep
updateTokenprivate. Never include it in a public link or expose it unless the user explicitly needs to manage the upload. - Retain
slugwithupdateTokenonly when the user asks to update or delete the same link later.
Update an existing link
Use the original slug, its updateToken, and the replacement file. A successful update keeps the public URL unchanged.
html2link update /absolute/path/to/report.html --slug a1B2c3D4 --update-token "keep-this-private"
What ships with it
1 file beside SKILL.md in the same directory: the scripts, references and assets a skill reads on demand. Not counted in the per-session cost; read them before you install if any of them is executable.
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.
- 2d ago First seen · 102 lines · 63 tokens per session scan A 2f712d0d4440
html2link is a skill published in the GitHub repository joohw/html2link-skill (4 stars, last pushed 1mo ago), licensed MIT. It adds 63 tokens to every session and 918 once invoked, about $0.0003 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
nature-downloader
Use when a user needs lawful academic full text, CNKI institutional access, English OA retrieval, publisher API access, institutional browser fallback, or supporting information downloads.
baoyu-post-to-x
Posts content and articles to X (Twitter). Supports regular posts with images/videos and X Articles (long-form Markdown). In Codex, honor explicit requests for the Codex Chrome plugin/@chrome by using the Chrome Extension workflow; otherwise use Chrome Computer Use when available and fall back to real Chrome CDP…
baoyu-post-to-weibo
Posts content to Weibo (微博). Supports regular posts with text, images, and videos, and headline articles (头条文章) with Markdown input via Chrome CDP. Use when user asks to "post to Weibo", "发微博", "发布微博", "publish to Weibo", "share on Weibo", "写微博", or "微博头条文章".
markstream-nuxt
Integrate markstream-vue into a Nuxt 3 or Nuxt 4 app. Use when Codex needs client-only boundaries, SSR-safe setup, browser-only peer gating, worker-aware initialization, renderer mode selection, or a safe MarkdownRender integration inside pages, components, or Nuxt plugins.
web-scraping
Fetches web pages and extracts structured data using mq's toolchain (mq-crawl for fetching/crawling/JS rendering, mq for HTML-to-Markdown selector-based extraction, http() for in-query requests). Use when the user wants to scrape a URL, pull structured data out of a webpage, crawl a site, or turn HTML into…
larksnap-fetch
把飞书/Lark 文档或普通网页抓取并保存到本地,也能编辑用户有权限的飞书文档,并用已登录浏览器执行一次网页搜索。用户要求下载、导出、抓取、写入飞书文档,或联网搜索资料/参考链接时使用本技能,即使没有提到 larksnap。底层通过技能自带 daemon 桥接已登录的 larksnap 浏览器扩展;arXiv 使用独立脚本。.