← 返回 Skills 市场
crazyfeng666

Dji Backup

作者 CrazyFeng666 · GitHub ↗ · v1.0.0
cross-platform ⚠ suspicious
781
总下载
0
收藏
2
当前安装
1
版本数
在 OpenClaw 中安装
/install dji-backup
功能描述
Automates copying DJI camera footage from an SD card to the next numbered backup folder on a NAS for organized archiving.
使用说明 (SKILL.md)

SKILL: DJI Video Backup

This skill automates backing up DJI camera footage from an SD card (or USB share) to a NAS archive folder.

Description

Use when the user asks to "copy DJI videos", "backup camera", or similar requests involving DJI footage and the NAS. It detects the source SD card, finds the next available destination folder (incrementing from DJI_001, DJI_002...), and copies the files.

Usage

  1. Check Source: Verify /Volumes/SD_Card/DCIM (or similar) exists.
  2. Check Destination: Look at /Volumes/File/DJI_Video/ to find the highest numbered folder (e.g., DJI_005).
  3. Create New Folder: Create the next number (e.g., DJI_006).
  4. Copy: Copy the contents of the source DCIM subfolder (e.g., 100MEDIA or DJI_001) into the new destination folder.
  5. Notify: Tell the user when started and when finished.

Paths

  • Source: /Volumes/SD_Card/DCIM (Look for subfolders like DJI_xxx or 100MEDIA)
  • Destination: /Volumes/File/DJI_Video

Example Logic

# Find next folder index
last_dir=$(ls -d /Volumes/File/DJI_Video/DJI_* | sort | tail -1)
# extract number, add 1, mkdir new_dir
# cp -R /source/* /new_dir/
安全使用建议
This skill is coherent for local copying of DJI footage to a mounted NAS, and it requires no credentials. Before using it, confirm that the source (/Volumes/SD_Card/DCIM) and destination (/Volumes/File/DJI_Video) paths match your environment to avoid accidental copies or overwrites. Ensure the NAS has sufficient space and that you want the agent to perform file operations on those mounts. Because it is instruction-only, the agent will run shell-style file operations (ls, mkdir, cp) against those paths — consider asking for confirmation before any destructive actions and test the logic on a small sample folder first.
功能分析
Type: OpenClaw Skill Name: dji-backup Version: 1.0.0 The `SKILL.md` describes a file backup operation that involves executing shell commands like `ls`, `mkdir`, and `cp -R`. While these operations are necessary for the stated purpose, the `cp -R` command in the example logic, combined with the agent's potential interpretation of 'or similar' for source paths, presents a critical shell injection vulnerability (RCE risk) if user input is not properly sanitized by the agent. There is no explicit instruction for malicious actions like data exfiltration or persistence, but the potential for an agent to misinterpret or broadly apply the instructions with user-controlled input makes it suspicious.
能力评估
Purpose & Capability
The SKILL.md describes copying DJI footage from a mounted SD card (source) to a NAS mount (destination). The skill declares no credentials, binaries, or installs — consistent with a local file-copy helper. The only minor issue is the package lacks a human-readable description field, but that is documentation quality, not a capability mismatch.
Instruction Scope
Instructions are narrowly scoped to checking /Volumes/SD_Card/DCIM, enumerating /Volumes/File/DJI_Video/DJI_*, creating a new folder, and copying files. There are no instructions to read unrelated files, access network endpoints, or exfiltrate secrets. Note: the use of hard-coded mount paths is an assumption that may cause mistakes if a user’s mounts differ; the agent might operate on whatever is mounted at those paths.
Install Mechanism
No install spec and no code files — instruction-only. This is lowest-risk from an install perspective (nothing is written to disk by an installer).
Credentials
No environment variables, credentials, or config paths are requested. This is proportionate for a local backup operation.
Persistence & Privilege
always is false and the skill does not request persistent/system-wide changes. Autonomous invocation is allowed by default (normal). The skill does not attempt to modify other skills or global agent settings.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install dji-backup
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /dji-backup 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.0
Initial release of DJI Video Backup skill: - Automates backup of DJI camera footage from SD card or USB share to a NAS archive. - Automatically detects source and destination folders, incrementing folder names as needed (e.g., DJI_001, DJI_002). - Copies content from SD card DCIM subfolders (such as 100MEDIA, DJI_xxx) to the NAS. - Notifies the user when the backup starts and finishes.
元数据
Slug dji-backup
版本 1.0.0
许可证
累计安装 2
当前安装数 2
历史版本数 1
常见问题

Dji Backup 是什么?

Automates copying DJI camera footage from an SD card to the next numbered backup folder on a NAS for organized archiving. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 781 次。

如何安装 Dji Backup?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install dji-backup」即可一键安装,无需额外配置。

Dji Backup 是免费的吗?

是的,Dji Backup 完全免费(开源免费),可自由下载、安装和使用。

Dji Backup 支持哪些平台?

Dji Backup 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Dji Backup?

由 CrazyFeng666(@crazyfeng666)开发并维护,当前版本 v1.0.0。

💬 留言讨论