hackmd-cli
БесплатноБез исполняемых скриптовНе проверенHackMD command-line interface for managing notes, folders, and other v1 API operations. Use for HackMD content, team workflows, exports, or API automation.
Об этом скилле
HackMD CLI
Command-line tool for managing HackMD notes, team notes, personal folders, and team folders via the HackMD API.
Setup
Install
npm install -g @hackmd/hackmd-cli
Configure Access Token
Create an API token at hackmd.io/settings#api, then configure:
# Interactive login (saves to ~/.hackmd/config.json)
hackmd-cli login
# Or via environment variable
export HMD_API_ACCESS_TOKEN=YOUR_TOKEN
For HackMD EE instances, also set the API endpoint:
export HMD_API_ENDPOINT_URL=https://your.hackmd-ee.endpoint
Commands
Other API operations
Prefer the focused notes, folders, and other commands when available. For other operations, find the operation ID and parameters, then call it:
hackmd-cli api operations
hackmd-cli api describe GetTeamNote
hackmd-cli api call GetTeamNote --path teampath=docs --path noteId=abc
hackmd-cli api call CreateNote --body @note.json
hackmd-cli api call UploadNoteImage --path noteId=abc --file [email protected]
Repeat --path key=value, --query key=value, or --header 'Name: value' as needed. --body accepts JSON text, @file, or - for stdin. --file image=@path is for multipart upload; use --mime if the extension is unknown. --include shows HTTP status and headers. The list comes from the API client bundled with the CLI; older EE servers may not support every operation. Generic writes are not retried automatically. Do not run writes or deletes without the user's authorization.
Authentication
hackmd-cli login # Set access token interactively
hackmd-cli logout # Clear stored credentials
hackmd-cli whoami # Show current user info
Personal Notes
# List all notes
hackmd-cli notes
# Get specific note
hackmd-cli notes --noteId=<id>
# Create note
hackmd-cli notes create --content='# Title' --title='My Note' --description='Summary'
hackmd-cli notes create --readPermission=owner --writePermission=owner
# Create note inside a folder
hackmd-cli notes create --parentFolderId=<folder-id> --content='# Title'
# Create from file/stdin
cat README.md | hackmd-cli notes create
# Create with editor
hackmd-cli notes create -e
# Update note
hackmd-cli notes update --noteId=<id> --content='# New Content'
hackmd-cli notes update --noteId=<id> --title='New title'
hackmd-cli notes update --noteId=<id> --description='New summary'
hackmd-cli notes update --noteId=<id> --clear=description
# Move note into a folder
hackmd-cli notes update --noteId=<id> --parentFolderId=<folder-id>
hackmd-cli notes update --noteId=<id> --root
# Delete note
hackmd-cli notes delete --noteId=<id>
Team Notes
# List team notes
hackmd-cli team-notes --teamPath=<team-path>
# Get a specific team note
hackmd-cli team-notes --teamPath=<team-path> --noteId=<id>
# Create team note
hackmd-cli team-notes create --teamPath=<team-path> --content='# Team Doc' --description='Summary'
# Create team note inside a folder
hackmd-cli team-notes create --teamPath=<team-path> --parentFolderId=<folder-id> --content='# Team Doc'
# Update team note
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --content='# Updated'
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --title='New title'
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --description='New summary'
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --clear=description
# Move team note into a folder
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --parentFolderId=<folder-id>
hackmd-cli team-notes update --teamPath=<team-path> --noteId=<id> --root
# Delete team note
hackmd-cli team-notes delete --teamPath=<team-path> --noteId=<id>
Personal Folders
# List all folders
hackmd-cli folders
# Get specific folder
hackmd-cli folders --folderId=<id>
# Create folder
hackmd-cli folders create --name='Docs'
# Create nested folder
hackmd-cli folders create --name='Docs' --parentFolderId=<folder-id>
# Create folder with metadata
hackmd-cli folders create --name='Docs' --description='Project docs' --icon=1F600 --color='#4F46E5'
# Update folder
hackmd-cli folders update --folderId=<id> --name='Updated Docs'
hackmd-cli folders update --folderId=<id> --root
hackmd-cli folders update --folderId=<id> --clear=description --clear=icon --clear=color
# Delete folder
hackmd-cli folders delete --folderId=<id>
# Get / update folder order
hackmd-cli folders order
hackmd-cli folders order --order='{"root":["folder-id-1","folder-id-2"]}'
Team Folders
# List all team folders
hackmd-cli team-folders --teamPath=<team-path>
# Get specific team folder
hackmd-cli team-folders --teamPath=<team-path> --folderId=<id>
# Create team folder
hackmd-cli team-folders create --teamPath=<team-path> --name='Team Docs'
# Create nested team folder
hackmd-cli team-folders create --teamPath=<team-
Установить hackmd-cli в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл hackmd-cli?
HackMD command-line interface for managing notes, folders, and other v1 API operations. Use for HackMD content, team workflows, exports, or API automation.
Как установить скилл hackmd-cli?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл hackmd-cli запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
doc-coauthoring
Guide users through a structured workflow for co-authoring documentation. Use when user wants to write documentation, proposals, technical specs, decision…
от Anthropicacademy-guide
Stop and check this skill before finishing any reply to a question about how to use Claude or a Claude product — it recommends matching courses, tutorials…
от Anthropicinternal-comms
A set of resources to help me write all kinds of internal communications, using the formats that my company likes to use. Claude should use this skill…
от Anthropicskill-development
This skill should be used when the user wants to "create a skill", "add a skill to plugin", "write a new skill", "improve skill description", "organize skill…
от Anthropic