Langsung ke konten
Skillpedia
Tugas & proyek58k Β· #3213

cli-anything-joplin

Fungsinya

Skill ini memungkinkan agent Anda bekerja dengan aplikasi catatan Joplin dari baris perintah. Skill ini untuk orang yang menyimpan catatan di Joplin dan ingin mengaturnya dengan perintah teks.

Kapan dipakai

  • βœ“Saat Anda ingin catatan atau buku catatan baru dibuat di Joplin.
  • βœ“Saat Anda ingin menandai atau mendaftar item daftar tugas di Joplin.
  • βœ“Saat Anda ingin mencari, memindahkan, atau mengekspor catatan Anda.

Link skill

https://github.com/HKUDS/CLI-Anything/blob/main/joplin/agent-harness/cli_anything/joplin/skills/SKILL.md

Salin lalu tempelkan ke AI Anda (Claude, ChatGPT, atau Cursor) dan minta AI mengikuti instruksinya.

Cara pakai

Cara paling mudah: salin pesan ini dan tempelkan ke AI Anda. AI akan membaca skill dan mengikuti instruksinya.

Pesan siap tempel

Gunakan skill ini untuk membantu saya: https://github.com/HKUDS/CLI-Anything/blob/main/joplin/agent-harness/cli_anything/joplin/skills/SKILL.md Baca file SKILL.md di link tersebut dan ikuti instruksinya untuk tugas saya.
Mau AI Anda menemukan skill seperti ini sendiri?Pasang MCP Skillpedia gratis: cukup satu baris, dan AI mencari di antara 15.000+ skill sebelum tiap tugas.Pasang dalam 1 menit β†’

Contoh permintaan ke AI

β€œBuat buku catatan bernama Travel, tambahkan catatan berisi daftar kemasan, dan tambahkan tugas untuk memperpanjang paspor.”

5 skill baru setiap minggu. 1 menit baca.

Cara kerjanya

Skill ini menjalankan program terminal Joplin yang sebenarnya di latar belakang dan mengirim perintah Anda ke sana. Skill ini menyimpan file proyek dan bisa mengembalikan hasil dalam format terstruktur.

Konten teknis (SKILL.md asli)

Teks asli dari pembuat, dalam bahasa Inggris, langsung dari GitHub.

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 --profile to 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: boolean
  • command: stable command identifier such as notes.list, todos.toggle
  • data: command payload
  • error: null on success, or { type, message } on failure

Command groups

  • project: new, open, save, info, json, status
  • notebooks: list, create, use, remove
  • notes: list, create, set, get, remove, copy, move, rename
  • todos: list, create, toggle, clear, done, undone
  • tags: list, add, remove, notetags, tagnotes
  • search: run
  • sync: run (--target, --upgrade, --use-lock)
  • interop: import, export
  • config: get, set, list, export, import-file
  • attach: add
  • status: show, restore
  • backend: version, dump, keymap, geoloc, export-sync-status
  • server: status, start, stop
  • e2ee: status, target-status, decrypt, decrypt-file
  • session: status, undo, redo, history

Agent guidance

  • Prefer --json for parseable output.
  • Use --project when running multi-step workflows so history is persisted.
  • One-shot mutating commands auto-save the project unless --dry-run is set.
  • REPL mode does not auto-save; run project save explicitly.
  • Some Joplin CLI builds gate search behind GUI mode; if you see "only available in GUI mode", treat search as best-effort.
  • Joplin 3.6.x can have a broken version command in npm global layouts; the harness falls back to installed package metadata for backend version, probing the symlink-resolved binary directory, the Windows-style sibling node_modules/joplin, the Unix-style parent lib/node_modules/joplin, and finally npm root -g.
  • Backend stdout/stderr in command results are verbatim; do not assume warnings were stripped from note bodies or exports.
  • On failure, parse error using the same command field 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 passed
  • python -m pytest -q cli_anything/joplin/tests -> 134 passed, 1 skipped
Pertanyaan umum

Apakah saya perlu memasang Joplin?

Ya, program terminal Joplin harus terpasang dan tersedia sebagai joplin.

Apakah saya bisa memakai profil yang berbeda?

Ya, Anda bisa memberikan opsi profil untuk menargetkan profil Joplin tertentu.

Apakah skill ini bisa menyinkronkan catatan?

Ya, skill ini menyertakan perintah sinkronisasi untuk data Joplin Anda.

Detail

Deskripsi asli dari pembuat

Command-line interface for Joplin workflows using the real joplin terminal backend

repo: HKUDS/CLI-Anything

Popularitas

Bintang GitHub
58k
Peringkat
#3213
Lisensi
Apache-2.0
Diperbarui
21/9/2026

Apakah skill ini berguna?

0

Masuk untuk memberi suara.

Komentar

  • …

Skill lain dari repositori ini

Skill serupa