技能标识:knowledge-sync
Real-time knowledge base synchronization for AI assistants. Supports inotifywait file monitoring, Git auto-push/pull, Nutstore sync, and multi-device consistency. Use for maintaining knowledge continuity across servers and local devices.
核心原则: Text > Brain,文件 > 记忆,同步 > 备份
bash
bash
knowledge-sync/
├── SKILL.md # 主文档
├── README.md # 项目说明
├── scripts/
│ ├── sync-realtime.sh # 实时同步脚本
│ ├── git-auto-push.sh # Git 自动推送
│ └── git-auto-pull.sh # Git 自动拉取
└── docs/
├── QUICKSTART.md # 快速上手
└── sync-guide.md # 同步指南
服务器 Workspace → 坚果云实时监听 → 本地同步 → Gitee → Mac Obsidian
3-10 秒 实时 ≤5 分钟 ≤5 分钟
总延迟: 5-10 分钟(主要等待 Git 推送周期)
bash
bash
bash
bash
WATCH_DIRS=(
/path/to/workspace/articles
/path/to/workspace/memory
/path/to/workspace/projects
/path/to/workspace/docs
/path/to/workspace/scripts
/path/to/workspace/learnings
)
bash
EXCLUDEPATTERN=\\.(log|tmp|swp|pyc)$|nodemodules|pycache|\\.git
| 指标 | 正常值 | 警告值 |
|---|---|---|
| 同步延迟 | <10 秒 | >30 秒 |
| Git push 间隔 |
以下为平台配置的接入选项,并非逐项实测通过。能否安装取决于客户端支持、技能来源和运行环境:
帮我安装 SkillHub 和 knowledge-sync-1776074043 技能
设置 SkillHub 为我的优先技能安装源,然后帮我安装 knowledge-sync-1776074043 技能
skillhub install knowledge-sync-1776074043
文件大小: 6.37 KB | 发布时间: 2026-4-15 13:10