sn-update
Skill5.7k starsChanged 7 months agoMITView on GitHub
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.
Trending
Quiet since September.thin dataabout the whole repository
Who's talking about OpenSenseNova/SenseNova-Skills
- sudosubin/agents.nix“agent-skills.github.opensensenova.sensenova-skills: init at 2026.09”GitHub · Sep 30, 2026
- OpenSenseNova/SenseNova6.7“docs: 安装入口合并到 SenseNova-Skills INSTALL 文档”GitHub · Apr 29, 2026
- SenseTime-FVG/agent_pack“Sync SenseNova-Skills to latest upstream (+2 new skills)”GitHub · Apr 28, 2026
The biggest 3 of 3 mentions linking to the repository that our crawl found. Each line is their own headline.
In this repository35 other files it gives its agents.
- sn-da-excel-workflowSkill
- sn-da-image-captionSkill
- sn-da-large-file-analysisSkill
- sn-da-non-spreadsheet-analysisSkill
- sn-deepresearch-cliSkill
- sn-deep-researchSkill
- sn-image-baseSkill
- sn-image-doctorSkill
- sn-image-imitateSkill
- sn-image-resumeSkill
- sn-infographicSkill
- sn-md-to-html-reportSkill
- sn-motion-htmlSkill
- sn-ppt-creativeSkill
- sn-ppt-dazzleSkill
- sn-ppt-doctorSkill
- sn-ppt-entrySkill
- sn-ppt-standardSkill
- sn-ppt-storySkill
- sn-ppt-toolsSkill
- sn-ppt-workbenchSkill
- sn-prepare-citationsSkill
- sn-proactive-agentSkill
- sn-report-format-discoverySkill
- sn-research-reportSkill
- sn-search-academicSkill
- sn-search-codeSkill
- sn-search-financeSkill
- sn-search-imageSkill
- sn-search-market-cnSkill
- sn-search-social-cnSkill
- sn-search-social-enSkill
- sn-search-social-mediaSkill
- sn-search-year-reportSkill
- sn-team-harnessSkill
The file
We split this skill into the rules it gives an agent
8 rules. About 0 are common, 4 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈4
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Very specific: line 38
No list given → every sn-* skill upstream.
- Distinctive: line 47
Check which directories exist:
- Very specific: line 64
First run: if you want to actually limit blob download, use partial clone with --filter=blob:none --no-checkout, then sparse-checkout only …
- Very specific: line 74
URL changed: if cache's origin differs from the requested URL, delete and re-clone.
- Very specific: line 100
Always write .sn-version on install so future runs can use A.
- Distinctive: line 120
If the bucket ends up empty (all targets were fresh installs), remove it.
- Distinctive: line 130
After every run, prune the per-agent backup root to at most 3 buckets.
- Distinctive: line 132
Run this even when the current run produced no backup of its own.
≈ “Common” is an estimate: at least 1 in 5 of the 213,897 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
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 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-updateupdating itself — fine; the new copy takes effect on the next invocation.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

