hackmd

Web & Frontend Development
v1.0.0
Benign

Work with HackMD documents.

782 downloads782 installsby @nulltea

Setup & Installation

Install command

clawhub install nulltea/hackmd

If the CLI is not installed:

Install command

npx clawhub@latest install nulltea/hackmd

Or install with OpenClaw CLI:

Install command

openclaw skills install nulltea/hackmd

or paste the repo link into your assistant's chat

Install command

https://github.com/openclaw/skills/tree/main/skills/nulltea/hackmd

What This Skill Does

Connects agents to HackMD for reading, creating, updating, and deleting notes in personal and team workspaces. Includes change tracking to detect document modifications since the last check using stored timestamps.

Change tracking avoids redundant processing by only returning content when a document has actually been modified.

When to Use It

  • Polling a shared HackMD note for edits since last review
  • Creating meeting notes from structured agent output
  • Syncing team workspace documents with external data sources
  • Checking whether a spec doc has changed before re-processing it
  • Automating note cleanup by deleting outdated entries
View original SKILL.md file
# HackMD Integration

## Requirements

```bash
npm install -g @hackmd/hackmd-cli
```

## Quick Reference

### Read Notes

```bash
# List all personal notes
hackmd-cli notes

# Get note metadata (includes lastChangedAt)
hackmd-cli notes --noteId=<id> --output json

# Get note content (markdown)
hackmd-cli export --noteId=<id>

# List teams
hackmd-cli teams

# List team notes
hackmd-cli team-notes --teamPath=<path>
```

### Write Notes

```bash
# Create note
hackmd-cli notes create --content='# Title'

# Create from file
cat file.md | hackmd-cli notes create

# Update note
hackmd-cli notes update --noteId=<id> --content='# Updated'

# Delete note
hackmd-cli notes delete --noteId=<id>
```

### Team Notes

```bash
hackmd-cli team-notes create --teamPath=<path> --content='# Team Note'
hackmd-cli team-notes update --teamPath=<path> --noteId=<id> --content='...'
hackmd-cli team-notes delete --teamPath=<path> --noteId=<id>
```

## Change Tracking

Use `hackmd-track.js` (in `scripts/`) to detect document changes efficiently.

### Track a Note

```bash
node scripts/hackmd-track.js add <noteId>
```

### Check for Changes

```bash
# Single note - outputs content only if changed
node scripts/hackmd-track.js changes <noteId>

# All tracked notes
node scripts/hackmd-track.js changes --all

# JSON output for parsing
node scripts/hackmd-track.js changes <noteId> --json
```

### Manage Tracking

```bash
node scripts/hackmd-track.js list              # Show tracked notes
node scripts/hackmd-track.js remove <noteId>   # Stop tracking
node scripts/hackmd-track.js reset <noteId>    # Reset (next check shows as changed)
```

### How It Works

1. `hackmd-track.js add` stores note's `lastChangedAt` timestamp
2. `hackmd-track.js changes` compares current `lastChangedAt` with stored value
3. If changed: outputs content and updates stored timestamp
4. If unchanged: outputs nothing (use `--verbose` for status)

State stored in `./.hackmd/tracked-notes.json` (current working directory)

## Note Metadata Fields

When using `--output json`, notes include:

| Field            | Description                              |
| ---------------- | ---------------------------------------- |
| `lastChangedAt`  | Unix timestamp of last modification      |
| `lastChangeUser` | `{name, userPath, photo}` of last editor |
| `titleUpdatedAt` | When title changed                       |
| `tagsUpdatedAt`  | When tags changed                        |

## Rate Limits

- 100 calls per 5 minutes
- 2000 calls/month (10k on Prime plan)

Example Workflow

Here's how your AI assistant might use this skill in practice.

INPUT

User asks: Polling a shared HackMD note for edits since last review

AGENT
  1. 1Polling a shared HackMD note for edits since last review
  2. 2Creating meeting notes from structured agent output
  3. 3Syncing team workspace documents with external data sources
  4. 4Checking whether a spec doc has changed before re-processing it
  5. 5Automating note cleanup by deleting outdated entries
OUTPUT
Work with HackMD documents.

Share this skill

Security Audits

VirusTotalBenign
OpenClawBenign
View full report

These signals reflect official OpenClaw status values. A Suspicious status means the skill should be used with extra caution.

Details

LanguageMarkdown
Last updatedFeb 28, 2026