Official agent skill

Hackmd Publisher

by microsoft in microsoft/Huabu

Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL.

OfficialMITAuto-check: notesDocuments & Office

Install Hackmd Publisher

skills CLI
$ npx skills add microsoft/Huabu --skill hackmd-publisher -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install microsoft/Huabu hackmd-publisher --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/microsoft/Huabu.git skills-src && mkdir -p .claude/skills && cp -r skills-src/agent-teams/hackmd-publisher .claude/skills/hackmd-publisher && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
hackmd-publisher
GitHub stars
157
Token cost
~266 tokens
SKILL.md length
92 words
Files
5
Skills in repo
10
Repo updated
First seen
Licence
MIT

At a glance

Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL.

  • The user asks for an end-to-end publish
  • Instructions only: no scripts, shell commands, URLs or credentials in SKILL.md
  • Republish workflow
  • Local Markdown export

What it does

Hackmd Publisher is an agent skill from microsoft/Huabu, published by the product's own GitHub organization. Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL. Use when the user asks for an end-to-end publish, sync, or republish workflow. Do not use for local Markdown export, another publishing service, or low-level HackMD account administration.

Its SKILL.md is about 270 tokens, which your agent loads only when the skill is triggered. The skill folder holds 4 other files (for example `agentlet.yaml` and `system_prompt.md`).

It sits in Documents & Office. The repository describes itself as: Huabu, where you and your agents think together. The licence is MIT.

When your agent uses it

  • The user asks for an end-to-end publish
  • Republish workflow
  • Local Markdown export
  • Another publishing service

Example prompts

  • “/hackmd-publisher”

What it can do on your machine

Read from SKILL.md and the folder at commit dc0cfa9. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    No scripts in the folder and no shell commands in SKILL.md.

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Hackmd Publisher loads about 266 tokens when it runs. Until then it costs about 80 tokens; SKILL.md has 92 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~80
When it runs · the whole SKILL.md, loaded when a task matches
~266

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:12
    The `.env` file in this skill folder contains the required configuration. Its expected fields are documented in [`.env.e
  • NoteMentions a .env fileSKILL.md:14
    making any HackMD tool call, load that `.env` using an approach appropriate for the current operating system and shell.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); files beside SKILL.md are not scanned.

SKILL.md

The full file from microsoft/Huabu at commit dc0cfa9, republished under its MIT licence (© microsoft). 92 words, ~266 tokens.

Download SKILL.mdSave it as .claude/skills/hackmd-publisher/SKILL.md (or your agent's skills folder). This skill also uses 4 other files; get the full folder from GitHub.
name
hackmd-publisher
description
Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL. Use when the user asks for an end-to-end publish, sync, or republish workflow. Do not use for local Markdown export, another publishing service, or low-level HackMD account administration.

HackMD Publisher

Read and follow the canonical HackMD publishing instructions before starting work.

Runtime configuration

The .env file in this skill folder contains the required configuration. Its expected fields are documented in .env.example.

Before making any HackMD tool call, load that .env using an approach appropriate for the current operating system and shell. Never print, expose, or copy secret values into generated artifacts.

The canonical workflow executes hackmd-cli. If it is unavailable in the current runtime, report the missing prerequisite instead of installing software or switching publishing services without the user's approval.

© microsoft, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 4 other files in agent-teams/hackmd-publisher of microsoft/Huabu.

  • SKILL.md
  • .env.example
  • .gitignore
  • agentlet.yaml
  • system_prompt.md

Open the folder on GitHubat commit dc0cfa9

Compare with similar skills

Hackmd Publisher next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Hackmd Publisher compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Hackmd Publisher this skillmicrosoft/Huabu157—~266Automated safety check: NotesMIT
Markdown Article FormatterJimLiu/baoyu-skills26k7 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
DOCXrvdbreemen/OTGW-firmware20733 repos~4.3kAutomated safety check: PassProprietary
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 7 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • DOCX

    rvdbreemen/OTGW-firmware

    A skill your agent uses whenever the user wants to create, read, edit, or manipulate Word documents (.docx files).

    207 GitHub starsUsed in 33 repos~4.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Reads, creates and edits Word .docx files with python-docx, and drops to raw OOXML for tracked changes, comments and byte-exact edits.

    41k GitHub stars~2.5k tokensUpdated today
    Documents & OfficeAuto-check passed

More from microsoft/Huabu

All 10 skills in this repo
  • Code Review Expert

    microsoft/Huabu

    Official

    Expert code review of current git changes with a senior engineer lens.

    157 GitHub starsUsed in 2 repos~1.5k tokens
    Auto-check passed
  • Release

    microsoft/Huabu

    Official

    Use ONLY when the user explicitly asks to cut/publish a Huabu desktop release or tag a version.

    157 GitHub stars~1.1k tokensUpdated today
    Auto-check passed
  • Official

    Review the quality of an agent's tool descriptions, system/agent prompts, or SKILL.md files against current agent-engineering best practices.

    157 GitHub stars~2.3k tokensUpdated today
    Auto-check passed
  • Space

    microsoft/Huabu

    Official

    Space mental model (the infinite work surface), tool boundaries, and command reference.

    157 GitHub stars~2.4k tokensUpdated today
    Auto-check passed
  • Review Huabu Agent

    microsoft/Huabu

    Official

    Review the Huabu operate agent's three steering artifacts at their fixed repo locations — system prompt, tool descriptions, and skills.

    157 GitHub stars~1.2k tokensUpdated today
    Auto-check passed
  • Issue Tracker

    microsoft/Huabu

    Official

    Coordinate one or more GitHub issues through isolated Git worktrees, durable Huabu Tasks, and dedicated Fixing Agent Threads.

    157 GitHub stars~279 tokensUpdated today
    Auto-check passed

Questions about Hackmd Publisher

What does Hackmd Publisher do?

Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL. Hackmd Publisher is an agent skill from microsoft/Huabu, published by the product's own GitHub organization. Publish or update supplied Markdown or Huabu Space content on HackMD and return or write back the published URL.

When should I use Hackmd Publisher?

Hackmd Publisher fits situations like: the user asks for an end-to-end publish; republish workflow; local Markdown export; another publishing service.

How do I install Hackmd Publisher in Claude Code?

Run `npx skills add microsoft/Huabu --skill hackmd-publisher -a claude-code`. Or copy the skill folder (agent-teams/hackmd-publisher in microsoft/Huabu) into .claude/skills/hackmd-publisher in your project. Claude Code loads it when a task matches its description.

How do I install Hackmd Publisher in Codex?

Run `npx skills add microsoft/Huabu --skill hackmd-publisher -a codex`. Or copy the skill folder (agent-teams/hackmd-publisher in microsoft/Huabu) into .agents/skills/hackmd-publisher in your project. Codex loads it when a task matches its description.

Can I use Hackmd Publisher in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add microsoft/Huabu --skill hackmd-publisher -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/hackmd-publisher, .gemini/skills/hackmd-publisher, .github/skills/hackmd-publisher and .opencode/skills/hackmd-publisher in your project.

What does Hackmd Publisher need to run?

SKILL.md names no scripts, command-line tools or credentials: Hackmd Publisher is instructions for the agent only.

Does Hackmd Publisher access the network?

SKILL.md contains no URLs. Any network use would come from the scripts or tools the agent runs. This is read from the text; nothing was executed.

Is Hackmd Publisher safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. Review the folder before installing.

What licence does Hackmd Publisher use?

Hackmd Publisher is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Hackmd Publisher use?

About 266 tokens (SKILL.md is roughly 1.1k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full.

What are the alternatives to Hackmd Publisher?

Skills that share tags, products or a category with Hackmd Publisher: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and DOCX (rvdbreemen/OTGW-firmware, 207 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Hackmd Publisher?

microsoft (a GitHub organization, an official publisher) maintains it in microsoft/Huabu, which has 157 GitHub stars. The repository holds 10 skills in this directory. The repository was last updated on October 8, 2026.

Source: microsoft/Huabu on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.