Przejdź do treści
Biblioteka skilli
AI i agenci · Automatyzacja

sn-update

/sn-update

Aktualizuje pakiet SenseNova Skills (sn-*) w instalacji OpenClaw lub hermes-agent, domyślnie cały pakiet, a przy wskazaniu konkretnych skilli tylko je.

Licencja
MIT
Ostatnia zmiana repozytorium
09.10.2026

Ocena i bezpieczeństwo

100/ 100Klasa: dobry
Format25 / 25
Frontmatter z nazwą i opisem, poprawna nazwa, opis do 1024 znaków, nazwa zgodna z folderem.
Odkrywalność25 / 25
Opis mówi, kiedy użyć skilla, ma sensowną długość i jest w 3. osobie.
Treść35 / 35
Co najmniej 150 słów i do 500 linii, nagłówki, listy kroków, przykłady albo kod.
Higiena15 / 15
Bez zaślepek typu TODO, bez ścieżek Windows, z licencją.
Ryzykobrak sygnałów w skanie
Pliki w paczce
1
Skrypty
0
Komentarze HTML
0
Adresy URL w SKILL.md
2
Przestarzałość

Brak sygnałów. Repozytorium zmienione 09.10.2026, bez odwołań do wycofanych modeli i API.

Licencja

MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.

Co robi i kiedy

Aktualizuje pakiet SenseNova Skills (sn-*) w instalacji OpenClaw lub hermes-agent, domyślnie cały pakiet, a przy wskazaniu konkretnych skilli tylko je.

Wyzwalacze z opisu

update SenseNova skillsupdate SN skills更新 sensenova skills更新 sn skills刷新 sn-*升级 sn-* skills更新 sn-ppt-standardrefresh sn-image-base
Oryginalny opis (EN)

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.

Jak działa

  1. Decide the scope
  2. Decide the target agent
  3. Sync the upstream repo
  4. Compare versions per skill (A → B → C)
  5. Install with backup
  6. Enforce backup retention
  7. Report to the user
  8. Edge cases
Sekcje z nagłówków SKILL.md, w oryginale · 134 linii, 717 słów
Podgląd SKILL.md
---
name: sn-update
description: |
  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.
metadata:
  project: SenseNova-Skills
  tier: 1
  category: meta
  user_visible: true
triggers:
  - "sn-update"
  - "更新 sn"
  - "更新 sensenova"
  - "update sn skills"
  - "update SN skills"
  - "更新 sn skills"
  - "刷新 sn-*"
  - "刷新 sn skills"
  - "更新 sn-ppt-standard"
  - "refresh sn-image-base"
  - "update sensenova skills"
---

# sn-update

Refresh installed `sn-*` skills from upstream
[SenseNova-Skills](https://github.com/OpenSenseNova/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 selected `skills/<name>` paths before copying them. `--filter=blob:none`
  alone 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 whole `sn-*` bundle, expect most/all skill blobs to
  be downloaded.
- **URL changed**: if cache's `origin` differs 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:

```text
git -C <cache> log -1 --format=%H -- skills/<skill-name>
```

- **A — `.sn-version` marker**: one-line file inside the installed skill
  holding the SHA from its last install.
- **B — `.sn-release` marker** (fallback): one-line file holding the
  upstream tag name. Compare against `git 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":

1. **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`).
2. **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.
3. **Write `.sn-version`** with 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:

```text
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 to "update sn skills" — they mean
  push to their agent install. Proceed normally; this skill only touches
  the cache and the agent install dirs, never the dev checkout.
- **`sn-update` updating itself** — fine; the new copy takes effect on
  the next invocation.

Wersje

W bazie nie ma innych skilli o nazwie sn-update.

Identyczna treść występuje jeszcze w 1 innych folderach na GitHubie. Tu pokazujemy jedną, najlepiej ocenioną kopię.

Migawka bazy z 13.11.2026 · wersja paczki e6c61b34a148 (skrót SHA-256 całej paczki)

Pobrania w ostatnich 30 dniach: 2 · ranking

Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.

Podobne skille

  • 100pilotdeck-skills-migration
    Migruje skille z Claude Code, OpenClaw, Hermes i własnych katalogów do globalnego katalogu skilli PilotDeck, kopiując je i konsolidując w jednym miejscu.
  • 100sn-ppt-entry
    Uruchamia tworzenie prezentacji, decku lub PPTX z zapytania i opcjonalnych plików albo wznawia istniejące zadanie prezentacji SenseNova.
  • 100hermes-skills
    Instaluje pakiet zewnętrznych skilli Hermes na samodzielnie hostowanym Hermes v0.22.5 przez SSH: ustala dokładne identyfikatory, pomija zainstalowane, instaluje po wyraźnej zgodzie, weryfikuje i cofa.
  • 95find-skills
    Wyszukuje i odkrywa skille OpenClaw z różnych źródeł, gdy trzeba znaleźć dostępne skille lub konkretną funkcjonalność do instalacji.
  • 96update-skills
    Aktualizuje repozytorium skilli piabrota/skills do najnowszej wersji i pokazuje zmiany.
  • 100skill-writer
    Tworzy i ulepsza skille agentów zgodnie ze specyfikacją Agent Skills, przy pisaniu i aktualizacji skilli.

Uwagi i zgłoszenia

Wiadomość trafi do Bartosza Sokolińskiego. Adres e-mail jest potrzebny tylko do odpowiedzi. Szczegóły w polityce prywatności.