hackwiki

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

A command-line tool for searching, reading, and maintaining HackMD-backed wiki pages. HackMD is a collaborative online note and document service.

In plain words
What is it for?
Use it to inspect notes, answer questions from wiki content, create or update pages when requested, and manage Hackwiki workspace sessions.
Why use it?
It helps you find existing wiki knowledge before creating pages and keeps updates in the correct workspace and format.

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 it to inspect notes, answer questions from wiki content, create or update pages when requested, and manage Hackwiki workspace sessions.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/eastsun5566/hackmd-skills/hackwiki
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 hackwiki
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 hackwiki

README.md
[![agentmods](https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackwiki/github.svg)](https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackwiki)
Your own site
<a href="https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackwiki"><img src="https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackwiki/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 hackwiki

Your own site · 80×15
<a href="https://agentmods.dev/skills/eastsun5566/hackmd-skills/hackwiki"><img src="https://agentmods.dev/badge/skills/eastsun5566/hackmd-skills/hackwiki.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 31 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 490 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.00031 $0.00490
Opus 5.5 $0.00012 $0.00196
Sonnet 5.5 $0.00006 $0.00098
Haiku 4.5 $0.00003 $0.00049

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

Security

Grade A, and why

hackwiki 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 4d 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/hackwiki/SKILL.md · 26 lines

What it actually says

Hackwiki CLI

Authentication

Use HMD_API_ACCESS_TOKEN or an existing hackmd-cli login config; the CLI binary is optional. If session reports a missing token, ask the user to set the environment variable or, for interactive login, ask before following the official HackMD CLI skill to install the CLI. The user creates and enters the API token; then retry session.

Workflow

  1. If the user specifies a team, pass --team <teamPath> to every command or set HACKWIKI_TEAM_PATH; never switch workspace during a task. Run hackwiki session --json (or npx @hackwiki/cli session --json) and confirm its workspace before continuing. If the wiki is not initialized, ask the user before running hackwiki init --json in that same workspace.
  2. Follow the wiki's schema. Search before creating a page; use hackwiki search "<query>" --json, then hackwiki page read <noteId> --json. Add --type <type> to narrow results or --full-text when needed.
  3. Answer questions from existing pages without writing. Save only knowledge worth reusing, and only when the user requests or confirms a wiki change. Update existing pages instead of creating duplicates.
  4. When saving a source, record its origin in the raw page. Link conclusions back to sources. Explain conflicting evidence before changing a conclusion.
  5. For approved changes, use page create, page update, or page rename; the CLI maintains the index and log. Never run page delete without explicit user confirmation. Run hackwiki lint --json afterward. Fix issues caused by this change; report unrelated issues.

Use --file <path> for existing Markdown or --file - for stdin, --json for machine-readable output, and hackwiki <command> --help for command details. Use --api-url or HMD_API_ENDPOINT_URL for HackMD EE.

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. 4d ago First seen · 26 lines · 31 tokens per session scan A 74785e90c729

Subscribe to this mod's changes

hackwiki is a skill published in the GitHub repository EastSun5566/hackmd-skills (2 stars, last pushed 4d ago), licensed MIT. It adds 31 tokens to every session and 490 once invoked, about $0.0001 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-10-20.

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