Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

hackmd

bởi nulltea

Web & Frontend Development
782Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Work with HackMD documents.

Mô tả

Kỹ năng này làm gì

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.

Khi nào nên dùng

  • 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

Quy trình ví dụ

ĐẦU VÀO

User asks: 'Check if the project spec note has been updated and summarize any changes'

AGENT
  1. 1

    Run hackmd-track.js changes <noteId> --json to check for modifications

  2. 2

    Compare current lastChangedAt against stored timestamp

  3. 3

    If changed, fetch full note content via hackmd-cli export --noteId=<id>

  4. 4

    Parse markdown content and extract changed sections

  5. 5

    Return a summary of detected changes to the user

ĐẦU RA

Summary of what changed in the spec note since the last check, or a notice that nothing has changed

Yêu cầu

  • HMD_API_ACCESS_TOKEN environment variable
  • HackMD account (free tier has 2000 API calls/month; Prime plan for 10k)

Cài đặt

clawhub install nulltea/hackmd

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết