hackmd

hackmd is a skill for Claude Code from EastSun5566/hackmd-skills. It costs 53 tokens per session (2,237 once invoked), scanned A, original, MIT.

Instructions for creating and editing HackMD documents, which are shared online Markdown notes, with diagrams and embedded external content.

In plain words
What is it for?
Use them to write or update HackMD notes containing formatted text, Mermaid, Graphviz, or PlantUML diagrams, and embeds such as YouTube videos or PDFs.
Why use it?
They explain HackMD’s document rules, including how titles, tags, alerts, and tables of contents work.

Skill for Claude Code

Written for Claude Code: shipped in a Claude Code plugin.

Part of the hackmd plugin — 3 skills shipped together

Good fit Use them to write or update HackMD notes containing formatted text, Mermaid, Graphviz, or PlantUML diagrams, and embeds such as YouTube videos or PDFs.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eastsun5566/hackmd-skills/hackmd
Install

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.

Any agent
npx skills add EastSun5566/hackmd-skills --skill hackmd
Clone the repo
git clone --depth 1 https://github.com/EastSun5566/hackmd-skills

Made for: Claude Code.

Or install hackmd, the plugin that ships this one along with the rest of its 3 skills.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for hackmd

README.md
[![agentmods](https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackmd/github.svg)](https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackmd)
Your own site
<a href="https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackmd"><img src="https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackmd/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for hackmd

Your own site · 80×15
<a href="https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackmd"><img src="https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackmd.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 53 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 2,237 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What 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.

ModelPer sessionOnce invoked
Fable 5.1 $0.00053 $0.02237
Opus 5.5 $0.00021 $0.00895
Sonnet 5.5 $0.00011 $0.00447
Haiku 4.5 $0.00005 $0.00224

Measured 3d ago against content hash 1a9016dff3e3, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

hackmd scanned grade A with 0 findings 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 3d 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.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/hackmd/SKILL.md · 327 lines

How it starts

The opening of the file, as written. The whole thing — 327 lines — stays where its author put it; the contents beside it link to each section on GitHub.

HackMD Flavored Markdown Skill

Create HackMD documents with Markdown, diagrams, and embeds, or organize linked notes into a Book mode reading guide. Use the user's requested language for generated content.

Metadata (YAML Front Matter)

When YAML metadata is enabled, put the frontmatter at the very top of the note:

---
title: My Note
description: Shown in link previews
image: https://example.com/cover.png
tags: feature, documentation, v2.0
robots: noindex
lang: en
dir: ltr
breaks: true
---

Common YAML fields: title, description, image, tags, robots, lang, dir, breaks (render single line breaks), and slideOptions. YAML type: slide or type: book does not switch the note's mode; use the UI or a mode-specific URL as described below.

  • Initial title: when a creation tool does not supply one, HackMD can derive it from YAML title, otherwise the first H1 (# Heading), otherwise "Untitled".
  • Initial tags: when a creation tool does not supply them, HackMD can derive them from YAML tags or the legacy inline format below.
  • Permissions and the remaining settings live in the editor's Share / Settings menus.

Saved note settings take precedence over matching YAML fields. To update an existing note's title or tags, use the title/tag controls, Note settings, or fields explicitly supported by the chosen tool. Editing YAML, H1, or H6 text alone is not a reliable way to update saved metadata. If a YAML setting seems ineffective, check the saved settings first. See the metadata changes and current note settings guides.

Tags (Legacy Inline Format)

Recognize this format in older notes or when deriving initial tags:

###### tags: `feature` `documentation` `v2.0`

Table of Contents

Auto-generate ToC with:

[TOC]

This will be replaced with a hierarchical list of headers.

Read the full file on GitHub · 327 lines

Files

What ships with it

3 files 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.

Changes

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.

  1. 3d ago Changed · -17 lines · +4 tokens per session 1a9016dff3e3
  2. 5d ago Changed b6db1b4513d3
  3. 14d ago Changed · -219 lines · -2 tokens per session 3915fb8322a9
  4. 1mo ago First seen · 563 lines · 51 tokens per session scan A a39f05d8eb3d

Subscribe to this mod's changes

hackmd is a skill published in the GitHub repository EastSun5566/hackmd-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 53 tokens to every session and 2,237 once invoked, about $0.0002 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

Other skills, from other repositories

ssotize

Audit and consolidate a fact that's scattered across places into one canonical source, after approval, and replace the rest with references. Use when asked to find duplication, check consistency, locate the source of truth, deduplicate, consolidate, unify, or establish SSOT across artifacts or platforms. Starts…

LilMGenius/paperthin · 78 tokens

pandoc-docx-template

Use this skill when converting Markdown to Word DOCX or DOCX back to Markdown with Pandoc, especially when the output should use the bundled Chinese Word reference templates, heading numbering variants, list indentation variants, SCI paper templates, and Lua filters for HTML tags, image captions, font color, and…

Achuan-2/pandoc_docx_template · 69 tokens

pdf

A set of instructions for working with PDF files, which are documents designed to preserve their layout across devices.

agentscope-ai/QwenPaw · 95 tokens

read

Fetches URLs and PDFs, then summarizes or returns clean Markdown; can also search the web through DeepSeek when built-in search is thin. Use when asked to read, fetch, quote, cite, convert, or save a URL or PDF. Not for local text files already in the repo.

tw93/Waza · 61 tokens

huashu-md-to-pdf

A document converter that turns Markdown files into professionally formatted PDF white papers with an Apple-style design.

alchaincyf/huashu-skills · 83 tokens

processing-markdown

Processes Markdown files using mq, a jq-like query language for Markdown. Use when the user mentions Markdown processing, content extraction, document transformation, or mq queries.

harehare/mq · 36 tokens