본문으로 건너뛰기
Skillpedia
자동화7.8k · #12829

obsidian-excalidraw-cli

하는 일

이 스킬은 AI가 실행 중인 Obsidian 앱의 Excalidraw 도면을 명령줄 인터페이스로 다루도록 합니다. 도면을 만들고, 살펴보고, 편집하고, 렌더링할 수 있습니다. 다이어그램을 AI로 바꾸려는 Obsidian 사용자를 위한 스킬입니다.

사용하는 경우

  • ✓AI가 Obsidian에서 Excalidraw 도면을 만들거나 편집하기를 원할 때.
  • ✓노트나 문서에 쓸 도면의 내보낸 이미지가 필요할 때.
  • ✓도면 변경이 실제로 저장되었는지 확인하고 싶은 경우.

스킬 링크

https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-cli/SKILL.md

복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.

사용 방법

가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.

바로 붙여넣을 수 있는 메시지

Use this skill to help me: https://github.com/zsviczian/obsidian-excalidraw-plugin/blob/master/docs/AITrainingData/excalidraw-cli/SKILL.md Read the SKILL.md file at that link and follow its instructions for my task.
AI가 이런 스킬을 알아서 찾아 쓰길 원하시나요?무료 Skillpedia MCP를 설치하세요. 한 줄이면 작업마다 스킬 15,000+개 중에서 검색합니다.1분 만에 설치 →

AI에게 요청하는 예시

“Obsidian에서 onboarding.excalidraw라는 도면에 이름표가 붙은 순서도를 추가한 뒤 이미지로 내보내 주세요.”

매주 새 스킬 5개. 읽는 데 1분.

작동 방식

Obsidian에 도면을 읽도록 요청하고, 고유한 요청 ID로 변경을 적용하며, 변경이 저장되었는지 확인한 뒤, 검토용 이미지를 내보냅니다. 정확한 도면 경로를 사용합니다.

기술 내용 (원본 SKILL.md)

작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.

Use a local terminal with Obsidian running and CLI enabled (API 1.12.2+). Always put vault="<name or ID>" before the command. Native root: obsidian-excalidraw-plugin. Start with obsidian vault="<vault>" obsidian-excalidraw-plugin:help, then :schema action=create. All results use apiVersion 1. Check ok, mutation and persistence; process exit zero alone does not prove success. Put large requests in a visible vault-relative JSON file and pass input="<file>". Inline json is for small requests. Requests in files include apiVersion:1; the native command supplies command. The in-process ea.executeCLI request also includes command. Use exact drawing paths including extensions. Never assume an active drawing. :open explicitly creates a tab and can run configured drawing scripts. Loop: :read source=live detail=elements (or detail=images to inventory) → :apply with expectedRevision and a unique requestId → check persistence=saved → :export → inspect the image file. For duplicate views use the view ID from :open or :read. Refresh after STALE_REVISION; retry BUSY with the same requestId only when refused before execution; unknown outcomes require read-back. New skeleton IDs are local labels; use returned idMap actual IDs for updates. Updates reject identity, bindings and asset internals. Every write requires requestId. Repeat the identical effective request to retrieve its receipt; different content with the same ID fails. :result requestId=<id> recovers a receipt after lost stdout. Receipts expire after 15 minutes/reload; unknown outcome requires read-back before another write. :api surface=ea name=<method> gives existing EA signatures. :api surface=lib lists the supported installed Lib reference; advanced exports remain available to scripts. :icons query=<name> discovers installed canonical Lucide names (paged); create icons / apply op=lucide insert editable native groups. groupMap maps logical icon aliases to groupId/elementIds; idMap remains single-element only. Defaults: size=96, strokeColor=#1e1e1e, roughness=1, opacity=100; optional strokeWidth is final scene units. No trusted script is required. :script requires trusted=true and an explicit existing local script file. utils.input contains args; utils.excalidrawLib is the installed runtime. Await all work; completion does not imply saved drawing. One-shot EA is cleaned up; utility prompts fail INTERACTION_REQUIRED. Trusted code can still invoke other interactive APIs: this is not a sandbox, timeout cancellation or transaction. Export names an explicit out=.svg/.png; overwrite=true is required for existing outputs. Live exports never implicitly save. Disk exports require local Vault assets; use a loaded live source or placeholders for remote assets. For cheap previews: :read detail=images, then :export imagePolicy={"default":"placeholder","rules":[{"ids":["wanted-id"],"mode":"original"}]}. This is lossless for the underlying drawing, not the preview. imageMetadata apply operations set bounded descriptive label/tags, with null clearing; request-only imagePolicy.labels does not persist. Thumbnail mode uses thumbnailMaxDimension=512 by default; only PNG/JPEG/WebP with safe preflight dimensions are decoded (24 MiB / 16 million pixels maximum). maxWidth/maxHeight/maxPixels bound output dimensions; maxArtifactBytes caps final bytes. Source revision covers originals; representationId identifies the preview. SVG width controls display size, not embedded raster payload size; use imagePolicy for that. Use :schema for exact fields, operation limits, and runnable examples. Do not edit compressed drawing Markdown directly or install another Excalidraw CLI.

자주 묻는 질문

Obsidian이 실행 중이어야 하나요?

네. 명령줄 인터페이스가 켜진 채로 Obsidian이 열려 있어야 합니다.

같은 변경이 반복되는 것을 어떻게 막나요?

각 쓰기 작업에 고유한 요청 ID가 붙으므로, 같은 요청을 반복하면 중복 변경이 아니라 같은 영수증이 돌아옵니다.

오류 없이 끝나면 믿어도 되나요?

아니요. 깔끔하게 종료된 과정이 성공을 증명하지는 않으므로, 변경이 저장되었는지 확인해야 한다고 스킬은 말합니다.

상세 정보

작성자의 원본 설명

Create, inspect, edit and render Obsidian Excalidraw drawings through the running app's native CLI.

repo: zsviczian/obsidian-excalidraw-plugin

인기도

GitHub 스타
7.8k
순위
#12829
라이선스
AGPL-3.0
업데이트
2026. 11. 2.

이 스킬이 유용한가요?

0

로그인 투표하려면 로그인하세요.

댓글

  • …

이 저장소의 다른 스킬

비슷한 스킬