luci-upload
/install luci-upload
luci-upload
Upload a video or image file to memories.ai with capture time and location metadata. User can also download LUCI AI app to manually upload as well.
Setup
Requires MEMORIES_AI_KEY — same key as luci-memory. If not found, create {baseDir}/.env:
MEMORIES_AI_KEY=sk-your-key-here
Also requires ffprobe (from ffmpeg) for auto-extracting video metadata. Images can be uploaded without ffprobe finding anything — in that case the agent must supply time and location explicitly.
When to use
- User wants to upload a video or image to memories.ai
- User says "add this video/photo to my memory" or similar
- User wants to send/import media to Luci
How it works
The script tries to auto-extract capture time and GPS coordinates from the file metadata (via ffprobe). Videos from phones and JPEGs with EXIF usually work; PNGs and screenshots rarely have this info. If metadata is missing, the agent should ask the user for:
- When was it taken? → pass as
--datetimewith--timezone - Where was it taken? → pass as
--location(geocoded automatically) or--lat/--lon
The multipart Content-Type is chosen by file extension (.mp4 → video/mp4, .png → image/png, .jpg → image/jpeg, etc.).
How to invoke
# Probe metadata only (no upload) — do this first to check what info is available
bash {baseDir}/run.sh --probe --file /path/to/file
# Upload a video with auto-detected metadata
bash {baseDir}/run.sh --file /path/to/video.mp4
# Upload a video with explicit time and location name (geocoded to lat/lon)
bash {baseDir}/run.sh --file /path/to/video.mp4 --datetime "2025-06-22 14:00:00" --timezone Asia/Shanghai --location "Suzhou, China"
# Upload an image — usually needs explicit time/location since EXIF is often missing
bash {baseDir}/run.sh --file /path/to/photo.png --datetime "2025-09-01 00:00:00" --timezone Asia/Shanghai --location "Shunde, China"
# Upload with explicit coordinates and epoch timestamp
bash {baseDir}/run.sh --file /path/to/video.mp4 --time 1769097600000 --lat 31.3 --lon 120.59
Parameters
| Flag | Short | Description |
|---|---|---|
--file |
-f |
Path to video or image file (required) |
--probe |
Only show extracted metadata, don't upload | |
--time |
Start time as epoch milliseconds | |
--datetime |
Start time as readable datetime (e.g. 2025-06-22 14:00:00) |
|
--timezone |
Timezone for --datetime (e.g. Asia/Shanghai, UTC, +8) |
|
--lat |
Latitude | |
--lon |
Longitude | |
--location |
Location name to geocode (e.g. Suzhou, China) |
Workflow
- Probe first: run with
--probeto see what metadata the file has - If time and GPS are both present → upload directly
- If missing (common for images, screenshots), ask the user for the missing info (time and/or location)
- Upload with all parameters filled in
- 确保已安装 OpenClaw(本地或 Docker 部署)
- 在对话框中输入安装命令:
/install luci-upload - 安装完成后,直接呼叫该 Skill 的名称或使用
/luci-upload触发 - 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
luci-upload 是什么?
Upload a video or image to memories.ai. Use when the user wants to upload media, add a video/photo to their memory, or send a file to Luci. This skill is des... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 142 次。
如何安装 luci-upload?
在 OpenClaw 或 Claude Code 对话框中运行命令「/install luci-upload」即可一键安装,无需额外配置。
luci-upload 是免费的吗?
是的,luci-upload 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。
luci-upload 支持哪些平台?
luci-upload 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。
谁开发了 luci-upload?
由 Zhuorui Yu(@gimlettt)开发并维护,当前版本 v1.0.4。