📦 Knowledge Sync — 知识库实时同步

v1.0.0

为 AI 助手提供知识库实时同步,支持 inotifywait 文件监控、Git 自动推拉、Nutstore 同步与多设备一致性。

0· 212·1 当前·1 累计
下载技能包
最后更新
2026/4/21
0
安全扫描
VirusTotal
可疑
查看报告
OpenClaw
安全
high confidence
NULL
评估建议
This skill implements a real-time file sync and periodic Git backup and is internally coherent, but review these before installing: 1) Automatic commits: git-auto-push.sh does git add -A and pushes to origin main — remove sensitive files from the workspace or add safe .gitignore rules and verify remotes before enabling to avoid accidental exfiltration. 2) Credentials: the scripts will use whatever Git/Nutstore/Gitee credentials are available to the user account; ensure those credentials are appr...
详细分析 ▾
用途与能力
The name/description (real-time sync, git backup, Nutstore/Gitee integration) match the scripts and SKILL.md. The scripts implement inotify-based sync and periodic git push behavior. Minor inconsistency: SKILL.md and README reference a git-auto-pull.sh script and a systemd unit (sync-realtime.service) but that pull script and any service unit file are not present in the repository; the git push/pull behavior is otherwise implemented by the included git-auto-push.sh and sync-realtime.sh.
指令范围
Runtime instructions ask the user/agent to enable a user systemd service and schedule cron jobs; the included scripts operate only on workspace directories and copy files to Nutstore and Obsidian paths and perform git operations. They do not read unrelated system files. Important behavioral note: git-auto-push.sh runs git add -A and will automatically commit and push all workspace contents — this can inadvertently upload secrets or private files to the remote (Gitee) if present.
安装机制
This is an instruction-only skill with two shell scripts included and no install spec. No downloads or third-party package installs are performed by the skill itself, which reduces supply-chain risk.
凭证需求
The skill declares no required environment variables or credentials; however, it implicitly depends on Git credentials/configuration (SSH keys or credential helpers) and on user file paths (hardcoded /home/admin/...). It does not request remote tokens explicitly, but will use whatever git authentication is configured for the account running the scripts. Make sure Git/Nutstore/Gitee credentials are appropriate and scoped.
持久化与权限
SKILL.md instructs running a long-running user systemd service and cron jobs (persistent presence on the host). The skill itself does not set always: true and does not modify other skills. Persistence is consistent with its purpose but you should review and control the service and crontab entries before enabling them.
安全有层次,运行前请审查代码。

运行时依赖

无特殊依赖

版本

latestv1.0.02026/3/15

NULL

可疑

安装命令

点击复制
官方npx clawhub@latest install knowledge-sync
镜像加速npx clawhub@latest install knowledge-sync --registry https://cn.longxiaskill.com
数据来源ClawHub ↗ · 中文优化:龙虾技能库