From 0ac567e95e426c5bb50ee3f399b03e42a1132f44 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Fri, 27 Nov 2026 19:15:44 +0800 Subject: [PATCH 1/3] docs: link to the user guide from README Co-Authored-By: Claude Opus 5.5 --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index 8cf3a6b..469cad2 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,8 @@ [![Downloads/week](https://img.shields.io/npm/dw/@hackmd/hackmd-cli.svg)](https://npmjs.org/package/@hackmd/hackmd-cli) [![License](https://img.shields.io/npm/l/@hackmd/hackmd-cli.svg)](https://github.com/hackmdio/hackmd-cli/blob/master/package.json) +New to `hackmd-cli`? Read the [user guide](https://hackmd.io/@docs/hackmd-cli) for setup and common tasks. This README is the full command reference. + * [Usage](#usage) * [Full API access](#full-api-access) * [Commands](#commands) From f709a414efbdcf8e59b5efb799d30a844febfc57 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Sat, 28 Nov 2026 00:11:25 +0800 Subject: [PATCH 2/3] docs: add agent skill section to README Co-Authored-By: Claude Opus 5.5 --- README.md | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/README.md b/README.md index 469cad2..2e6e6f5 100644 --- a/README.md +++ b/README.md @@ -9,6 +9,7 @@ New to `hackmd-cli`? Read the [user guide](https://hackmd.io/@docs/hackmd-cli) f * [Usage](#usage) * [Full API access](#full-api-access) +* [Agent skill](#agent-skill) * [Commands](#commands) * [Configuration](#configuration) * [License](#license) @@ -65,6 +66,16 @@ Use repeated `--path key=value`, `--query key=value`, and `--header 'Name: value `api operations` and `api describe` need no connection or token. They use the API client bundled with this CLI, so older HackMD EE servers may not support every operation. `api call` uses the same access token and endpoint configuration as other commands. Writes are not retried automatically. +## Agent skill + +This repository includes an agent skill, [`hackmd-cli/SKILL.md`](hackmd-cli/SKILL.md), that teaches AI agents such as Claude Code, Cursor, and Codex to use `hackmd-cli`. Install the CLI and sign in first, then add the skill: + +```bash +npx skills add hackmdio/hackmd-cli +``` + +The command asks which agents to add it to. To update later, run `npx skills update`. For more HackMD skills, see [hackmd-skills](https://github.com/hackmdio/hackmd-skills). + ## Configuration ### Set access token From 04c130949336513d322aafff9ca9411e5ee1f601 Mon Sep 17 00:00:00 2001 From: Michael Wang Date: Sat, 28 Nov 2026 00:14:55 +0800 Subject: [PATCH 3/3] docs: link the license badge to LICENSE Co-Authored-By: Claude Opus 5.5 --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 2e6e6f5..1e7e5e1 100644 --- a/README.md +++ b/README.md @@ -3,7 +3,7 @@ [![oclif](https://img.shields.io/badge/cli-oclif-brightgreen.svg)](https://oclif.io) [![Version](https://img.shields.io/npm/v/@hackmd/hackmd-cli.svg)](https://npmjs.org/package/@hackmd/hackmd-cli) [![Downloads/week](https://img.shields.io/npm/dw/@hackmd/hackmd-cli.svg)](https://npmjs.org/package/@hackmd/hackmd-cli) -[![License](https://img.shields.io/npm/l/@hackmd/hackmd-cli.svg)](https://github.com/hackmdio/hackmd-cli/blob/master/package.json) +[![License](https://img.shields.io/npm/l/@hackmd/hackmd-cli.svg)](https://github.com/hackmdio/hackmd-cli/blob/develop/LICENSE) New to `hackmd-cli`? Read the [user guide](https://hackmd.io/@docs/hackmd-cli) for setup and common tasks. This README is the full command reference.