cli-anything-zotero은(는) 무엇을 하나요?
cli-anything-zotero는 Zotero 데스크톱을 위한 에이전트 네이티브 CLI입니다. Zotero를 재구현하지 않고, Zotero의 실제 로컬 표면을 구성합니다:
설치
pip install -e .
진입점
cli-anything-zotero
python -m cli_anything.zotero
중요한 제약 사항
search items,item export,item citation,item bibliography명령어는 Zotero 로컬 API가 활성화되어 있어야 합니다.note add는 실행 중인 Zotero GUI 컨텍스트에 의존하며, 앱에서 동일한 라이브러리가 선택되어 있어야 합니다.- 가져오기 시 PDF 첨부 지원은 동일한 커넥터 세션에서 생성된 아이템으로 제한됩니다. 기존 아이템에 대한 임의 첨부 파일 업로드는 아직 지원되지 않습니다.
- 실험적인 SQLite 쓰기 명령어는 로컬 전용, 사용자 라이브러리 전용이며, 불안정한 고급 사용자 작업으로 간주되어야 합니다.
- 동일한 키가 여러 라이브러리에 중복된 경우, 후속 명령어 전에
session use-library <id>를 설정하세요.
명령어 그룹
App
애플리케이션 및 런타임 검사 명령어입니다.
| 명령어 | 설명 |
|---|---|
status | status 실행 |
version | version 실행 |
launch | launch 실행 |
enable-local-api | enable-local-api 실행 |
ping | ping 실행 |
Collection
컬렉션 검사 및 선택 명령어입니다.
| 명령어 | 설명 |
|---|---|
list | list 실행 |
find | find 실행 |
tree | tree 실행 |
get | get 실행 |
items | items 실행 |
use-selected | use-selected 실행 |
create | create 실행 |
Item
아이템 검사 및 렌더링 명령어입니다.
| 명령어 | 설명 |
|---|---|
list | list 실행 |
find | find 실행 |
get | get 실행 |
children | children 실행 |
notes | notes 실행 |
attachments | attachments 실행 |
file | file 실행 |
export | export 실행 |
citation | citation 실행 |
bibliography | bibliography 실행 |
context | context 실행 |
analyze | analyze 실행 |
add-to-collection | add-to-collection 실행 |
move-to-collection | move-to-collection 실행 |
Search
저장된 검색 검사 명령어입니다.
| 명령어 | 설명 |
|---|---|
list | list 실행 |
get | get 실행 |
items | items 실행 |
Tag
태그 검사 명령어입니다.
| 명령어 | 설명 |
|---|---|
list | list 실행 |
items | items 실행 |
Style
설치된 CSL 스타일 검사 명령어입니다.
| 명령어 | 설명 |
|---|---|
list | list 실행 |
Import
공식 Zotero 가져오기 및 쓰기 명령어입니다.
| 명령어 | 설명 |
|---|---|
file | file 실행 |
json | json 실행 |
Note
하위 노트 읽기 및 추가.
| 명령어 | 설명 |
|---|---|
get | get 실행 |
add | add 실행 |
Session
세션 및 REPL 컨텍스트 명령어입니다.
| 명령어 | 설명 |
|---|---|
status | status 실행 |
use-library | use-library 실행 |
use-collection | use-collection 실행 |
use-item | use-item 실행 |
use-selected | use-selected 실행 |
clear-library | clear-library 실행 |
clear-collection | clear-collection 실행 |
clear-item | clear-item 실행 |
history | history 실행 |
예제
런타임 상태
Zotero 경로 및 백엔드 가용성을 검사합니다.
cli-anything-zotero app status --json
선택된 컬렉션 읽기
Zotero GUI에서 선택된 컬렉션을 유지합니다.
cli-anything-zotero collection use-selected --json
인용 렌더링
Zotero 로컬 API를 사용하여 인용을 렌더링합니다.
cli-anything-zotero item citation <item-key> --style apa --locale en-US --json
하위 노트 추가
기존 Zotero 아이템 아래에 하위 노트를 생성합니다.
cli-anything-zotero note add <item-key> --text "핵심 요약" --json
LLM 컨텍스트 구축
다운스트림 모델 분석을 위한 구조화된 컨텍스트를 어셈블합니다.
cli-anything-zotero item context <item-key> --include-notes --include-links --json
버전
0.1.0