用 Codex 或 Claude 帮你安装 复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它检查 Skill 页面并帮你完成安装。
直接命令不会经过审查 Prompt;运行前请先检查来源。
npx skills add https://github.com/iamtouchskyer/memex --skill memex-sync命令会保持在同一行。复制前请横向滚动并检查完整内容。
想先保存到本地?可下载 SkillsMP 当前能够提供的文件。
正在显示 SKILL.md
基于 SOC 职业分类
| name | memex-sync |
| description | Sync Zettelkasten cards across devices via git. |
| whenToUse | When the user asks to sync, backup, or share their memory cards across devices. Handles git-based push/pull and initial setup of sync remotes. |
Sync your Zettelkasten cards across devices using git.
memex sync --init <url> — initialize sync with a git remotememex sync --init — auto-create a private GitHub repo via gh CLImemex sync — pull remote changes, commit local changes, pushmemex sync --status — show sync configuration and last sync timememex sync on|off — enable/disable auto-sync after every write/archivedigraph sync {
"User invokes /memex-sync" -> "memex sync --status";
"memex sync --status" -> "Configured?" [shape=diamond];
"Configured?" -> "memex sync" [label="yes"];
"Configured?" -> "Ask user for repo URL" [label="no"];
"Ask user for repo URL" -> "User provides URL?" [shape=diamond];
"User provides URL?" -> "memex sync --init <url>" [label="yes"];
"User provides URL?" -> "memex sync --init (auto-create via gh)" [label="no, use gh"];
"memex sync --init <url>" -> "Report success";
"memex sync --init (auto-create via gh)" -> "Report success";
"memex sync" -> "Report result";
}
Run memex sync --status to see if sync is already configured.
If sync is not configured:
memex sync --init <url>memex sync --init (auto-creates a private memex-cards repo on GitHub via gh CLI)If already configured, run memex sync to push and pull changes.
Tell the user the result. If sync failed, show the error message.
memex sync uses git fetch + git merge then git push~/.memexmemex sync on if the user asks about it; don't enable by default