← 返回 Skills 市场
shadoprizm

OCC Artifact Gallery

作者 shadoprizm · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ⚠ pending
24
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install occ-artifact-gallery
功能描述
Use when an agent generates local files/folders and must return mobile-accessible OCC/Tailscale viewer links instead of filesystem paths.
使用说明 (SKILL.md)

Artifact Gallery

Overview

OCC Artifact Gallery turns generated local outputs on a VPS/headless server into stable HTTPS links that users can open from Telegram, WhatsApp, Discord, or a browser.

Use this for images, PDFs, HTML, Markdown, JSON, audio, video, reports, screenshots, and generated folders. Do not give users only /home/... paths when they are on mobile.

Canonical URLs

  • Gallery UI: https://n2-pro.tail1c2e65.ts.net/artifacts
  • Artifact viewer: https://n2-pro.tail1c2e65.ts.net/artifacts/a/{artifact_id}
  • API: http://127.0.0.1:8080/api/artifacts-gallery

CLI

Register a generated file:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py register \
  --path /home/shadoprizm/occ/brain/infographic-studio/active/INFOG-6311545c/infographic-v1.png \
  --title "OCC Infographic dogfood output" \
  --source-system occ \
  --source-agent concierge \
  --tags infographic dogfood

List recent artifacts:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py list --limit 20

Get links:

/home/shadoprizm/occ/venv/bin/python /home/shadoprizm/occ/scripts/artifact_gallery_tool.py links art_xxxxx

Agent response contract

When replying over mobile/chat channels, include:

  • brief summary
  • viewer_url
  • optional download_url
  • artifact type/size

Example:

Done — generated the report.

View:
https://n2-pro.tail1c2e65.ts.net/artifacts/a/art_xxxxx

Download:
https://n2-pro.tail1c2e65.ts.net/api/artifacts-gallery/art_xxxxx/download

Safety

The gallery only serves allowlisted roots and refuses credential/dot/secret-like paths. If registration fails, do not bypass it by inventing a URL; fix the path/root or report the failure.

如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install occ-artifact-gallery
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /occ-artifact-gallery 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial MVP: register generated files and return mobile-accessible artifact viewer links.
元数据
Slug occ-artifact-gallery
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

OCC Artifact Gallery 是什么?

Use when an agent generates local files/folders and must return mobile-accessible OCC/Tailscale viewer links instead of filesystem paths. 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 24 次。

如何安装 OCC Artifact Gallery?

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

OCC Artifact Gallery 是免费的吗?

是的,OCC Artifact Gallery 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

OCC Artifact Gallery 支持哪些平台?

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

谁开发了 OCC Artifact Gallery?

由 shadoprizm(@shadoprizm)开发并维护,当前版本 v0.1.0。

💬 留言讨论