sn-update
하는 일
이 스킬은 설치된 SenseNova 스킬을 상위 프로젝트의 최신 버전으로 업데이트합니다. OpenClaw나 hermes-agent에서 SenseNova 스킬을 쓰고 최신 상태로 유지하고 싶은 사람을 위한 것입니다.
사용하는 경우
- ✓설치된 모든 SenseNova 스킬을 최신 버전으로 업데이트하고 싶을 때.
- ✓이름을 정한 SenseNova 스킬 하나만 새로 고치고 싶을 때.
- ✓이미 최신인 스킬이라도 강제로 다시 설치하고 싶을 때.
스킬 링크
https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-update/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“제 SenseNova 스킬을 모두 최신 버전으로 업데이트해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
에이전트는 사용하는 에이전트 폴더를 확인하고, 상위 저장소를 동기화한 뒤, 더 새로운 스킬 파일을 제자리에 복사합니다. 두 에이전트 폴더가 모두 있으면 묻습니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
sn-update
Refresh installed sn-* skills from upstream
SenseNova-Skills.
Decide the scope
- No list given → every
sn-*skill upstream. - Specific skills named → only those. Don't expand.
- A named skill missing upstream → surface as error and stop.
- User said "force / 强制" → re-install even when up-to-date.
Decide the target agent
Check which directories exist:
~/.openclaw/skills/ |
~/.hermes/skills/ |
Target |
|---|---|---|
| exists | absent | openclaw |
| absent | exists | hermes |
| exists | exists | ask the user — never silently dual-write |
| absent | absent | no install found, stop |
Sync the upstream repo
Persistent cache at ~/.cache/sn-update/repo/. Default URL:
https://github.com/OpenSenseNova/SenseNova-Skills.git. User may override
with a fork URL.
- First run: if you want to actually limit blob download, use partial
clone with
--filter=blob:none --no-checkout, then sparse-checkout only the selectedskills/<name>paths before copying them.--filter=blob:nonealone does not keep the cache small if the full worktree is checked out; that checkout will still download most or all needed blobs. It still preserves history metadata for SHA queries. - Subsequent runs: fetch + hard-reset to the upstream default branch, and
re-apply sparse-checkout for only the requested
skills/<name>paths before copying. If updating the wholesn-*bundle, expect most/all skill blobs to be downloaded. - URL changed: if cache's
origindiffers from the requested URL, delete and re-clone.
Compare versions per skill (A → B → C)
For each skill, pick the highest-precedence signal present on both sides (installed + upstream); equal → skip, differ → install.
Upstream "version" is the per-subtree commit SHA — using repo HEAD would mark unrelated skills as stale every time:
git -C <cache> log -1 --format=%H -- skills/<skill-name>
- A —
.sn-versionmarker: one-line file inside the installed skill holding the SHA from its last install. - B —
.sn-releasemarker (fallback): one-line file holding the upstream tag name. Compare againstgit describe --tags --abbrev=0. - C — optional
version:field in SKILL.md frontmatter: parse from YAML on both sides, but only for forks or skills that explicitly add this field. If either side lacks it, C does not apply. - Nothing usable → treat as stale and install.
Always write .sn-version on install so future runs can use A.
Install with backup
For each skill flagged "install":
- Move (not copy) any existing
<agent-skills>/<skill-name>/into a single timestamped backup bucket shared by all skills in this run:~/.<agent>/skills_backup/<UTC-timestamp>/<skill-name>/(e.g.2026-04-30T15-29-07Z). - Copy
<cache>/skills/<skill-name>/→<agent-skills>/<skill-name>/. Never symlink (ln -s) from the cache. The cache lives under~/.cache/with permissions the agent runtime may not be able to traverse, and some runtimes refuse to load skills resolved through symlinks. Always do a real recursive copy so the installed tree is self-contained and owned by the agent skills dir. - Write
.sn-versionwith the upstream subtree SHA inside the new copy.
If the bucket ends up empty (all targets were fresh installs), remove it.
The backup tree is a sibling of skills/, never a .bak folder
inside it — most agent runtimes scan the whole skills/ directory and
would pick up stale duplicates.
Enforce backup retention
After every run, prune the per-agent backup root to at most 3 buckets. Timestamps sort lexicographically; keep the newest 3, delete the rest. Run this even when the current run produced no backup of its own.
Report to the user
Group by status, keep it short:
Updated (3): sn-ppt-standard, sn-image-base, sn-deep-research
Already up-to-date (5): sn-ppt-creative, sn-ppt-doctor, ...
Backup: ~/.openclaw/skills_backup/2026-04-30T15-29-07Z/
- Omit
Backup:when nothing was backed up. - Show SHA pairs (
abc1234 → def5678) only if the user asks for detail. - Errors get their own line — never bury them in a success summary.
Edge cases
- Asks to delete sn- skills* — not this skill's job. Decline; point at
~/.<agent>/skills_backup/if they want to roll back. - User is in the dev repo and asks
자주 묻는 질문
스킬 하나만 업데이트할 수 있나요?
네. 특정 스킬의 이름을 지정하면 그 스킬만 업데이트됩니다.
OpenClaw와 Hermes가 모두 설치되어 있으면 어떻게 하나요?
어느 쪽을 업데이트할지 묻기 때문에, 두 곳에 모두 쓰지 않습니다.
저장소의 포크를 쓸 수 있나요?
네. 기본 저장소 대신 다른 저장소 주소를 지정할 수 있습니다.
상세 정보
작성자의 원본 설명
Update SenseNova Skills (the sn-* bundle) inside an OpenClaw or hermes-agent install. ALWAYS use this skill when the user says any of: "update SenseNova skills", "update SN skills", "更新 sensenova skills", "更新 sn skills", "刷新 sn-*", "升级 sn-* skills", or names a specific sn-* skill to update (e.g. "更新 sn-ppt-standard", "refresh sn-image-base"). Default scope is the whole sn-* bundle; if the user names specific skills, update ONLY those.
인기도
- GitHub 스타
- 6.0k
- 순위
- #14468
- 라이선스
- MIT
- 업데이트
- 2026. 11. 2.
댓글
- …
이 저장소의 다른 스킬
sn-code-video
6.0k에이전트가 Canvas, SVG, Three.js 또는 Remotion으로 코드 기반 영상을 만들고 MP4로 내보내도록 가르칩니다.
sn-image-base
6.0k다른 스킬들이 SenseNova 서비스로 이미지를 만들고, 사진 내용을 인식하고, 텍스트를 다듬을 수 있도록 기본 도구를 제공합니다.
sn-image-doctor
6.0kSenseNova-Skills 설치, Python 패키지, API 키를 확인하고, 빠진 키는 파일에 저장합니다.
sn-image-imitate
6.0k에이전트가 참고 사진의 스타일을 복사하면서 내용은 요청에 맞게 바꾼 새 이미지를 만들도록 돕습니다.