← 返回 Skills 市场
GDrive Owncloud sync
作者
SydneyPhoenix26
· GitHub ↗
· v1.0.0
· MIT-0
243
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install owncloudsync
功能描述
Check that new files on Google Drive are present on OwnCloud + send email report
安全使用建议
This skill appears to implement its stated purpose, but exercise caution before installing or running it. Key points to consider:
- The skill archive includes a populated owncloud.json and a systemd unit with a plaintext password. Treat these as templates only — do NOT deploy the bundled credentials unchanged. Replace passwords and TLS certs with values you control.
- The skill requires gog (installed from steipete/tap/gogcli). Verify that tap and formula are trustworthy before adding the tap and installing the package.
- The bundle contains a Go service and a cron/find script that are intended to run on your OwnCloud server and will produce /tmp/allfiles.txt. Review and audit the find command, the service configuration, and file permissions; run the service only on a trusted host and ensure TLS certs are valid.
- Confirm how gog authenticates to Google Drive (it may require OAuth tokens or interactive login); avoid placing long-lived credentials in plaintext. The skill's GOG_ACCOUNT in owncloud.json is an account identifier, not an OAuth token.
- Before running, remove or sanitize any embedded secrets in the distributed files (owncloud.json, allfiles.service). If you need a second opinion, ask the author whether the included credentials are placeholders and request guidance on secure deployment.
If the author can (a) confirm that the embedded password is a placeholder and (b) provide a clear secure deployment guide (how gog auth is handled, explicit note that owncloud.json is local-only template, and provenance for the brew tap), my confidence in the package would increase.
功能分析
Type: OpenClaw Skill
Name: owncloudsync
Version: 1.0.0
The skill facilitates a file synchronization check between Google Drive and OwnCloud, generating an email report of missing or outdated files. The bundle includes a Zsh client script and a Go-based backend service to be installed on the OwnCloud server. Analysis reveals significant security-conscious coding practices, such as explicit guards against symlink attacks in findallfiles.sh and allfiles-service.go, regex-based input validation to prevent command injection, and the use of constant-time comparisons for authentication. The behavior is transparent and aligns perfectly with the stated purpose.
能力评估
Purpose & Capability
The declared purpose (check Google Drive files against OwnCloud and email a report) matches the included scripts and the use of gog, jq, curl and zsh. The bundle also provides a small indexing service (Go program + find script + systemd unit) that must be deployed on the OwnCloud server — this is coherent with the stated purpose but expands the scope (requires server-side installation and TLS certs).
Instruction Scope
SKILL.md and owncloud-sync.sh limit runtime access to the local owncloud.json config and an /allfiles endpoint on ALLFILES_URL. However the skill bundle itself contains a populated owncloud.json and a systemd unit with a plaintext password; the instructions assume you will deploy the provided Go service and cron script on the OwnCloud host. The runtime instructions do not ask the agent to read unrelated system files, but including real credentials and a ready-to-use service in the skill increases risk if users install without review.
Install Mechanism
Install uses a brew formula (steipete/tap/gogcli) to provide the gog binary. This is a third‑party tap (not an official homebrew/core package) — moderate risk compared with no install spec, but reasonable for a CLI dependency. No other automated downloads or archive extractions are present.
Credentials
Registry metadata declared no required env vars, but the skill depends on secrets supplied via owncloud.json (ALLFILES_USER, ALLFILES_PASS, GOG_ACCOUNT, etc.). The bundle includes an allfiles.service file with an embedded password (SuperSecretPasswordChangeMe2026!) and a populated owncloud.json — shipping credentials in the skill archive is disproportionate and dangerous. The Go service expects ALLFILES_USER/ALLFILES_PASS as env vars when run on the server; the README instructs matching these to owncloud.json, but that creates an explicit secret-copying step.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or agent-wide settings. It provides a systemd unit for an optional server-side service — installing that would create persistence on the OwnCloud host, but that is an operator action rather than an agent privilege escalation.
如何使用
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install owncloudsync - 安装完成后,直接呼叫该 Skill 的名称或使用
/owncloudsync触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release with Google Drive to OwnCloud sync and reporting features:
- Tracks recently created/imported files on Google Drive within a configurable period.
- Checks for presence and freshness of these files on OwnCloud.
- Generates and sends a daily email report listing files, with statuses: OK, MISSING, or NEED UPDATE.
- Requires a local owncloud.json config file for service URLs, credentials, and options.
- Script supports manual and on-demand execution via Zsh.
元数据
常见问题
GDrive Owncloud sync 是什么?
Check that new files on Google Drive are present on OwnCloud + send email report. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 243 次。
如何安装 GDrive Owncloud sync?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install owncloudsync」即可一键安装,无需额外配置。
GDrive Owncloud sync 是免费的吗?
是的,GDrive Owncloud sync 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
GDrive Owncloud sync 支持哪些平台?
GDrive Owncloud sync 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 GDrive Owncloud sync?
由 SydneyPhoenix26(@sydneyphoenix26)开发并维护,当前版本 v1.0.0。
推荐 Skills