diffs
하는 일
이 스킬은 AI 에이전트에게 수정 전후의 텍스트나 패치를 시각적 비교로 바꾸는 도구를 제공합니다. 정확한 변경 사항을 검토하거나 공유하고 싶은 사람을 위한 스킬입니다.
사용하는 경우
- ✓텍스트나 코드 수정에서 정확히 무엇이 바뀌었는지 보여 주고 싶을 때.
- ✓링크로 공유하거나 PDF나 PNG 파일로 보낼 수 있는 비교본이 필요할 때.
- ✓변경 사항을 손으로 요약하면 불명확하거나 틀리기 쉬울 때.
스킬 링크
https://github.com/openclaw/openclaw/blob/main/extensions/diffs/skills/diffs/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 노트의 두 버전 사이에서 정확히 무엇이 바뀌었는지 보여 주고, 보낼 수 있는 PDF도 만들어 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
도구는 이전 텍스트와 새 텍스트를 비교하거나 패치를 읽고, 뷰어 페이지, 파일 또는 둘 다를 만듭니다. 변경이 있었는지 보고하고 뷰어 링크나 파일 경로를 돌려줍니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
When you need to show edits as a real diff, prefer the diffs tool instead of writing a manual summary.
The diffs tool accepts either before + after text, or a unified patch string.
Check details.changed: identical before/after input returns false without creating an artifact; rendered results return true.
Use mode=view when you want an interactive gateway-hosted viewer. After the tool returns, present details.viewerUrl with an available surface-presentation tool.
If the deployment uses a loopback trusted proxy (for example Tailscale Serve with gateway.trustedProxies including 127.0.0.1), raw loopback viewer requests can be rejected without forwarded client-IP headers. In that topology, prefer mode=file / mode=both, or use a configured viewerBaseUrl / explicit proxy/public baseUrl when you need a shareable viewer URL.
Use mode=file when you need a rendered file artifact. Set fileFormat=png (default) or fileFormat=pdf. The tool result includes details.filePath.
For large or high-fidelity files, use fileQuality (standard|hq|print) and optionally override fileScale/fileMaxWidth.
When you need to deliver the rendered file to a user or channel, do not rely on the raw tool-result renderer. Instead, use an available file-sending tool to send details.filePath as an attachment.
Use mode=both when you want both the gateway viewer URL and the rendered artifact.
If the user has configured diffs plugin defaults, prefer omitting mode, theme, layout, and related presentation options unless you need to override them for this specific diff.
Include path for before/after text when you know the file name.
자주 묻는 질문
아무것도 바뀌지 않았다면 파일을 만드나요?
아니요. 수정 전후 텍스트가 같으면 도구는 변경 없음을 보고하고 결과물을 만들지 않습니다.
렌더링된 파일을 다른 사람에게 보낼 수 있나요?
네. 사용 가능한 파일 전송 도구를 통해 스킬이 파일을 첨부로 보낼 수 있습니다.
어떤 파일 형식을 만들 수 있나요?
기본적으로 PNG 이미지를 만들며, 요청하면 PDF 파일도 만듭니다.
상세 정보
작성자의 원본 설명
Use the diffs tool to produce real, shareable diffs (viewer URL, file artifact, or both) instead of manual edit summaries.
repo: openclaw/openclaw
인기도
- GitHub 스타
- 394k
- 순위
- #17
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
discord-user-post
394k에이전트가 승인한 메시지를 정확한 채널을 확인한 뒤 Discord 데스크톱 앱에서 내 계정으로 올리도록 돕습니다.
discrawl
394k에이전트가 저장된 로컬 Discord 메시지 보관본을 검색하고 요약하며, 최신 상태를 확인하고 다이렉트 메시지를 읽도록 돕습니다.
gitcrawl
394k에이전트가 저장된 GitHub 이슈와 풀 리퀘스트 보관본을 검색하고, 중복 항목을 묶고, GitHub에서 현재 상태를 확인하도록 돕습니다.
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
비슷한 스킬
executing-plans
311k에이전트가 작성된 구현 계획을 현재 세션에서 단계별로 실행하고, 각 단계를 테스트한 뒤 다음으로 넘어가도록 돕습니다.
finishing-a-development-branch
311k에이전트가 완성된 코드의 테스트를 실행한 뒤, 병합, 풀 리퀘스트 열기, 브랜치 유지 중에서 고를 수 있도록 명확한 선택지를 제시하도록 돕습니다.
receiving-code-review
311k에이전트가 코드 리뷰 피드백을 신중하게 검토하도록 돕습니다. 무엇이든 바꾸기 전에 각 지적을 실제 코드와 대조합니다.