hackmd
由 nulltea 提供
Web & Frontend Development简介
Work with HackMD documents.
描述
该技能的功能
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.
何时使用
- 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
示例工作流
User asks: 'Check if the project spec note has been updated and summarize any changes'
- 1
Run
hackmd-track.js changes <noteId> --jsonto check for modifications - 2
Compare current
lastChangedAtagainst stored timestamp - 3
If changed, fetch full note content via
hackmd-cli export --noteId=<id> - 4
Parse markdown content and extract changed sections
- 5
Return a summary of detected changes to the user
Summary of what changed in the spec note since the last check, or a notice that nothing has changed
前置要求
- HMD_API_ACCESS_TOKEN environment variable
- HackMD account (free tier has 2000 API calls/month; Prime plan for 10k)
安装
clawhub install nulltea/hackmd运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。