cli-anything-joplin
できること
このスキルは、エージェントがJoplinのノートアプリをコマンドラインから扱えるようにします。Joplinにメモを保存し、テキストのコマンドで整理したい人向けです。
使う場面
- ✓Joplinに新しいノートやノートブックを作成したいとき。
- ✓JoplinでToDoにチェックを付けたり、一覧を表示したりしたいとき。
- ✓ノートを検索、移動、書き出ししたいとき。
スキルのリンク
https://github.com/HKUDS/CLI-Anything/blob/main/joplin/agent-harness/cli_anything/joplin/skills/SKILL.mdコピーしてAI(Claude、ChatGPT、Cursor)に貼り付け、指示に従うよう頼んでください。
使い方
いちばん簡単な方法:メッセージをコピーしてAIに貼り付けるだけ。AIがスキルを読んで指示に従います。
貼り付け用メッセージ
Claude Code、Codex、Cursorの場合:プロジェクトのフォルダで実行するとスキルがインストールされます。
SKILL.mdをダウンロードして、エージェントのスキル用フォルダに入れてください。
AIへの頼み方の例
“「旅行」というノートブックを作成し、持ち物リストのノートを追加して、パスポート更新のToDoを追加してください。”
毎週5つの新しいスキル。1分で読めます。
仕組み
このスキルは、実際のJoplinターミナルプログラムをバックグラウンドで実行し、コマンドを送信します。プロジェクトファイルを保持し、結果を構造化された形式で返すこともできます。
技術的な内容(元のSKILL.md)
作者による元のテキスト(英語)を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
--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
よくある質問
Joplinのインストールが必要ですか?
はい。Joplinのターミナルプログラムがインストールされ、joplinとして利用できる必要があります。
別のプロファイルを使えますか?
はい。プロファイルオプションを指定すると、特定のJoplinプロファイルを対象にできます。
ノートを同期できますか?
はい。Joplinのデータを同期するコマンドが含まれています。
詳細
作者による元の説明
Command-line interface for Joplin workflows using the real joplin terminal backend
repo: HKUDS/CLI-Anything
人気
- GitHubのスター
- 58k
- ランキング
- #3213
- ライセンス
- Apache-2.0
- 更新日
- 2026/9/21
コメント
- …
このリポジトリの他のスキル
cli-anything-3mf
58kエージェントが3Dプリントのファイルを調べて直せるようにします。丸い穴を見つける、そのサイズを変える、メッシュを修復する、2つのファイルを比べることができます。
cli-anything-qgis
58kエージェントがターミナルからQGISのマッププロジェクトを開き、編集し、書き出せるようにします。レイヤー、フィーチャー、印刷レイアウト、処理ツールを含みます。
cli-anything-adguardhome
58kエージェントがAdGuard Homeを管理できるようにします。AdGuard Homeはネットワーク全体で広告を遮断するツールで、フィルター、DNSの書き換え、クライアント、クエリのログを扱います。
cli-anything-anygen
58kエージェントが、AnyGenのサービスを使って、書かれたプロンプトからスライド、文書、ウェブサイト、図を生成できるようにします。