用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/benoror/obsidianos_work --skill sync-upstream-obsidianos命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
Fetch & embed AI transcripts as Obsidian callouts. Args: <path>, all, refresh <path>. Prompts for URLs if empty.
Stage and commit with flexible intent parsing. Accepts file/folder scope, free-text description, amend, or any combination.
Resolve and fill Participants frontmatter + link unlinked names in body. Args: <path>, all.
基于 SOC 职业分类
正在显示 SKILL.md
| name | sync-upstream-obsidianos |
| description | Pull structural updates from upstream ObsidianOS into the local vault. |
| license | MIT |
Shortcut to run .scripts/sync-upstream.sh.
| Command | What it does |
|---|---|
/sync-upstream-obsidianos | Preview and merge upstream updates |
/sync-upstream-obsidianos preview | Preview only — show what's new without merging |
upstream remote exists: git remote get-url upstream. If missing, tell the user to add it:
git remote add upstream <url-to-upstream-repo>
git status --short). If dirty, ask the user to commit or stash first.Run .scripts/sync-upstream.sh --preview and show the output (new commits and changed files).
If there are no new commits, report "already up to date" and stop.
If the user only asked for preview, stop here.
Present the preview results and ask the user to confirm before merging.
On confirmation, run the full sync:
echo y | ./.scripts/sync-upstream.sh
Show the merge outcome:
.sync-exclude.git log -1 --oneline).If the merge had conflicts, relay the conflict list and instruct the user to resolve manually.
.gitattributes merge=ours rules..sync-exclude are auto-removed from the merge (e.g. upstream example files).upstream remote doesn't exist, do not create it automatically — prompt the user for the URL.