一键导入
github-sync
Sync local Obsidian vault to GitHub — auto-update README.md and push. Triggers: /github-sync, "sync to github", "push to github", "update repo"
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
菜单
Sync local Obsidian vault to GitHub — auto-update README.md and push. Triggers: /github-sync, "sync to github", "push to github", "update repo"
用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
基于 SOC 职业分类
Convert external URLs into structured Markdown and save to the Obsidian vault. Use when the user provides an external URL (article, blog post, tweet thread, newsletter) and wants it saved as an Obsidian note. Triggers: "save this article", "archive this link to obsidian", "bookmark article", or when user pastes a URL and asks to save/summarize/archive it.
Convert conversation content into a structured deep technical article and save it to the Obsidian vault. Use when the user wants to save conversation content or chat history as an Obsidian note. Triggers: "save conversation as article", "save to obsidian", "turn this into a note", "/chat-to-obsidian"
Obsidian vault health checker. Detects broken links, orphan pages, index.md inconsistencies, cross-reference gaps, and frontmatter validation. Inspired by Karpathy's LLM Wiki lint pattern. Triggers: "/vault-lint", "check vault", "vault health", "lint notes"
Karpathy-style vault query and synthesis system. Reads index.md to locate articles, synthesizes answers from multiple sources, and optionally writes high-value results back as new notes. Triggers: "/vault-query", "search vault", "find in notes", "query knowledge base"
(macOS only) Spaced repetition review scheduler for Obsidian. Based on the Ebbinghaus forgetting curve, auto-reminds you to review articles at optimal intervals via macOS launchd + screen unlock detection. Triggers: "/review-scheduler", "set up review reminders", "start review scheduler", "stop review scheduler"
| name | github-sync |
| description | Sync local Obsidian vault to GitHub — auto-update README.md and push. Triggers: /github-sync, "sync to github", "push to github", "update repo" |
| allowed-tools | ["Agent"] |
When this skill is triggered, do not execute sync steps yourself. Immediately use the Agent tool to launch an independent subagent in the background to handle the entire sync workflow.
Call the Agent tool with the following parameters:
Agent({
description: "GitHub Sync",
model: "sonnet",
run_in_background: true,
mode: "bypassPermissions",
prompt: <full content of the sync-workflow block below>
})
After dispatching, inform the user that sync has started in the background. They can continue other work and will be notified on completion.
Pass the following content as the Agent prompt (copy verbatim, do not modify):
You are a GitHub Sync automation agent. Follow these steps strictly to sync the Obsidian vault to GitHub.1a. Detect project root and remote (run in parallel):
git rev-parse --show-toplevel # project root
git remote get-url origin # remote URL
git branch --show-current # current branch
1b. Check Git status:
git status
git diff --stat
If there are no changes (no unstaged modifications, no untracked files), output "Nothing to sync" and end.
2a. Categorize all changed files into three groups:
2b. Update README.md:
Glob("**/*.md") to scan the project directory structure, count Markdown files (exclude .claude/ directory)Update principle: only update sections with actual changes, do not rewrite unnecessarily.
git add all changes (including README.md), exclude .playwright-mcp/ log filestype: brief description
\n\nCo-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>git commit (use HEREDOC format for the commit message)git push origin $BRANCHOutput a brief sync report including: