cli-anything-joplin
Skill này làm gì
Skill này cho phép agent làm việc với ứng dụng ghi chú Joplin từ dòng lệnh. Nó dành cho người giữ ghi chú trong Joplin và muốn sắp xếp chúng bằng lệnh văn bản.
Khi nào nên dùng
- ✓Khi bạn muốn một ghi chú hoặc sổ tay mới được tạo trong Joplin.
- ✓Khi bạn muốn đánh dấu hoàn thành hoặc liệt kê việc cần làm trong Joplin.
- ✓Khi bạn muốn tìm kiếm, di chuyển hoặc xuất ghi chú.
Liên kết skill
https://github.com/HKUDS/CLI-Anything/blob/main/joplin/agent-harness/cli_anything/joplin/skills/SKILL.mdSao chép rồi dán vào AI của bạn (Claude, ChatGPT hoặc Cursor) và nhờ nó làm theo hướng dẫn.
Cách dùng
Cách dễ nhất: sao chép tin nhắn và dán vào AI của bạn. AI sẽ đọc skill và làm theo hướng dẫn.
Tin nhắn có sẵn để dán
Dành cho Claude Code, Codex hoặc Cursor: chạy lệnh trong thư mục dự án của bạn và skill sẽ được cài đặt.
Tải tệp SKILL.md về và thả vào thư mục skill của agent.
Ví dụ cách nhờ AI
“Tạo một sổ tay tên Travel, thêm một ghi chú có danh sách đồ đóng gói và thêm một việc cần làm cho việc gia hạn hộ chiếu.”
5 skill mới mỗi tuần. Đọc chỉ 1 phút.
Cách hoạt động
Skill chạy chương trình terminal thật của Joplin ở nền và gửi lệnh của bạn tới nó. Nó giữ một file dự án và có thể trả về kết quả ở định dạng có cấu trúc.
Nội dung kỹ thuật (SKILL.md gốc)
Lấy nguyên văn từ GitHub, do tác giả viết bằng tiếng Anh.
cli-anything-joplin
Use this skill to automate Joplin notebook, note, to-do, tag, attachment,
search, sync, and import/export workflows through a stateful harness backed by
the real joplin terminal binary.
Requirements
- Python 3.10+
- Joplin terminal binary available as
joplin - Optional: pass
--profileto target a specific Joplin profile
Install
cd joplin/agent-harness
pip install -e .
Usage
# REPL mode (default)
cli-anything-joplin
# Machine-readable one-shot command
cli-anything-joplin --json notebooks list
# Stateful project
cli-anything-joplin project new --name demo -o ./demo.joplin-harness.json
cli-anything-joplin --project ./demo.joplin-harness.json notes create "Meeting note"
# Dry-run (no auto-save)
cli-anything-joplin --json --dry-run --project ./demo.joplin-harness.json notes create temp
JSON output contract
When --json is enabled, commands return:
ok: booleancommand: stable command identifier such asnotes.list,todos.toggledata: command payloaderror: null on success, or{ type, message }on failure
Command groups
project:new,open,save,info,json,statusnotebooks:list,create,use,removenotes:list,create,set,get,remove,copy,move,renametodos:list,create,toggle,clear,done,undonetags:list,add,remove,notetags,tagnotessearch:runsync:run(--target,--upgrade,--use-lock)interop:import,exportconfig:get,set,list,export,import-fileattach:addstatus:show,restorebackend:version,dump,keymap,geoloc,export-sync-statusserver:status,start,stope2ee:status,target-status,decrypt,decrypt-filesession:status,undo,redo,history
Agent guidance
- Prefer
--jsonfor parseable output. - Use
--projectwhen running multi-step workflows so history is persisted. - One-shot mutating commands auto-save the project unless
--dry-runis set. - REPL mode does not auto-save; run
project saveexplicitly. - Some Joplin CLI builds gate
searchbehind GUI mode; if you see"only available in GUI mode", treat search as best-effort. - Joplin 3.6.x can have a broken
versioncommand in npm global layouts; the harness falls back to installed package metadata forbackend version, probing the symlink-resolved binary directory, the Windows-style siblingnode_modules/joplin, the Unix-style parentlib/node_modules/joplin, and finallynpm root -g. - Backend
stdout/stderrin command results are verbatim; do not assume warnings were stripped from note bodies or exports. - On failure, parse
errorusing the samecommandfield as success (config.import_file,e2ee.decrypt_file). Multi-word subcommands use a single dot between group and subcommand.
Test workflow
# Quick feedback loop
python -m pytest -q cli_anything/joplin/tests/test_core.py
python -m pytest -q cli_anything/joplin/tests/test_full_e2e.py::TestCLISubprocess
# Real backend (joplin must be in PATH)
python -m pytest -v cli_anything/joplin/tests/test_full_e2e.py::TestBackendCommands
python -m pytest -v cli_anything/joplin/tests/test_full_e2e.py::TestBackendWorkflows
python -m pytest -v cli_anything/joplin/tests/test_full_e2e.py::TestBackendIntegration
# Full suite
python -m pytest -v --tb=no cli_anything/joplin/tests
# Verify the installed console script entry point
CLI_ANYTHING_FORCE_INSTALLED=1 python -m pytest -v -s cli_anything/joplin/tests/test_full_e2e.py
Current validation baseline (Windows + Joplin CLI 3.6.2):
python -m pytest -q cli_anything/joplin/tests/test_core.py->107 passedpython -m pytest -q cli_anything/joplin/tests->134 passed, 1 skipped
Câu hỏi thường gặp
Tôi có cần cài Joplin không?
Có, chương trình terminal Joplin phải được cài và có sẵn dưới tên joplin.
Nó có dùng được các hồ sơ khác nhau không?
Có, bạn có thể truyền một tùy chọn hồ sơ để nhắm tới một hồ sơ Joplin cụ thể.
Nó có đồng bộ ghi chú không?
Có, skill có các lệnh đồng bộ cho dữ liệu Joplin của bạn.
Chi tiết
Mô tả gốc của tác giả
Command-line interface for Joplin workflows using the real joplin terminal backend
repo: HKUDS/CLI-Anything
Độ phổ biến
- Sao GitHub
- 58k
- Vị trí xếp hạng
- #3213
- Giấy phép
- Apache-2.0
- Cập nhật
- 21/9/2026
Bình luận
- …
Thêm skill từ kho mã này
cli-anything-3mf
58kCho phép agent của bạn kiểm tra và sửa file in 3D, gồm tìm lỗ tròn, đổi kích thước chúng, sửa lưới và so sánh hai file.
cli-anything-qgis
58kCho phép agent của bạn mở, sửa và xuất dự án bản đồ QGIS từ terminal, gồm các lớp, đối tượng, bố cục in và công cụ xử lý.
cli-anything-adguardhome
58kCho phép agent của bạn quản lý AdGuard Home, một bộ chặn quảng cáo toàn mạng, gồm bộ lọc, DNS rewrite, thiết bị và nhật ký truy vấn.
cli-anything-anygen
58kCho phép agent của bạn tạo slide, tài liệu, website và sơ đồ từ một prompt bằng dịch vụ AnyGen.
Skill tương tự
knowledge-capture
394kDạy agent của bạn lưu các quyết định, sở thích và sự kiện quan trọng vào kho Knowledge dưới dạng ghi chú ngắn có ghi nguồn.
knowledge-claim-consolidation
394kGiúp agent của bạn dọn gọn kho Knowledge bằng cách gộp các khẳng định trùng lặp, chuyển chúng đến đúng trang chủ đề và loại bỏ những cái lỗi thời.
knowledge-correct
394kCho phép agent của bạn sửa hoặc rút lại một khẳng định hoặc trang Knowledge cụ thể theo yêu cầu của bạn, và giữ nhật ký những gì đã thay đổi.