मुख्य सामग्री पर जाएँ
Skillpedia
विविध6.0k · #14468

sn-update

यह क्या करती है

यह स्किल इंस्टॉल की हुई SenseNova स्किल को उनके नवीनतम upstream संस्करणों पर अपडेट करती है। यह उन लोगों के लिए है जो OpenClaw या hermes-agent में SenseNova स्किल इस्तेमाल करते हैं और उन्हें अद्यतन रखना चाहते हैं।

कब इस्तेमाल करें

  • ✓जब आप सभी इंस्टॉल SenseNova स्किल को नवीनतम संस्करण पर अपडेट करना चाहें।
  • ✓जब आप सिर्फ़ एक नामित SenseNova स्किल ताज़ा करना चाहें।
  • ✓जब आप स्किल के पहले से अद्यतन होने पर भी ज़बरदस्ती दोबारा इंस्टॉल करवाना चाहें।

Skill का लिंक

https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-update/SKILL.md

इसे कॉपी करके अपने AI (Claude, ChatGPT या Cursor) में पेस्ट करें और निर्देशों का पालन करने को कहें।

कैसे इस्तेमाल करें

सबसे आसान तरीका: मैसेज कॉपी करके अपने AI में पेस्ट करें। वह skill पढ़कर निर्देशों का पालन करेगा।

पेस्ट करने के लिए तैयार मैसेज

इस skill से मेरी मदद करो: https://github.com/OpenSenseNova/SenseNova-Skills/blob/main/skills/sn-update/SKILL.md इस लिंक की SKILL.md फ़ाइल पढ़ो और मेरे काम में उसके निर्देशों का पालन करो।
क्या आप चाहते हैं कि आपका AI ऐसी skills खुद ढूँढे?मुफ़्त Skillpedia MCP इंस्टॉल करें: बस एक लाइन, और हर काम से पहले यह 15,000+ skills में खोजता है।1 मिनट में इंस्टॉल करें →

AI से क्या माँगें: उदाहरण

“मेरी सभी SenseNova स्किल को नवीनतम संस्करण पर अपडेट कीजिए।”

हर हफ़्ते 5 नई skills, 1 मिनट में पढ़ें।

यह कैसे काम करती है

एजेंट जाँचता है कि आप कौन सा agent फ़ोल्डर इस्तेमाल करते हैं, upstream repository को सिंक करता है और नई स्किल फ़ाइलें सही जगह कॉपी करता है। जब दोनों agent फ़ोल्डर मौजूद हों, तो यह आपसे पूछता है।

तकनीकी सामग्री (मूल 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 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:

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:

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 दोनों इंस्टॉल हों तो?

यह पूछती है कि किसे अपडेट करना है, ताकि दोनों में एक साथ न लिखा जाए।

क्या मैं repository के fork का उपयोग कर सकता हूँ?

हाँ। मुख्य repository के बजाय आप कोई दूसरा repository पता दे सकते हैं।

जानकारी

लेखक का मूल विवरण

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.

repo: OpenSenseNova/SenseNova-Skills

लोकप्रियता

GitHub स्टार
6.0k
रैंकिंग में स्थान
#14468
लाइसेंस
MIT
अपडेट की गई
2/11/2026

क्या यह skill काम की है?

0

लॉग इन करें वोट करने के लिए।

कमेंट

  • …

इस repository की और skills

sn-code-video

6.0k

यह आपके एजेंट को Canvas, SVG, Three.js या Remotion से कोड द्वारा वीडियो बनाना सिखाती है, हर फ़्रेम जाँचकर और MP4 के रूप में export करके।

वीडियो और ऑडियोमोशन और एनिमेशन

sn-image-base

6.0k

यह दूसरी स्किल को SenseNova सेवाओं से तस्वीरें बनाने, चित्र की सामग्री पहचानने और टेक्स्ट सुधारने के बुनियादी टूल देती है।

डिज़ाइनइमेज और आइकन

sn-image-doctor

6.0k

यह जाँचती है कि आपका SenseNova-Skills सेटअप इंस्टॉल है, उसके Python packages और ज़रूरी API keys मौजूद हैं, फिर गायब keys को फ़ाइल में सहेजती है।

कोडिंगडिप्लॉय और क्लाउड (DevOps)

sn-image-imitate

6.0k

यह आपके एजेंट को एक संदर्भ चित्र की शैली कॉपी करके नई तस्वीर बनाने में मदद करती है, जिसकी सामग्री आपके अनुरोध के हिसाब से बदली जाती है।

डिज़ाइनइमेज और आइकन

मिलती-जुलती skills