← 返回 Skills 市场
chenjunyeee

clawgo-upload

作者 chenjunyeee · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ 安全检测通过
212
总下载
1
收藏
0
当前安装
2
版本数
在 OpenClaw 中安装
/install clawgo-upload
功能描述
Zip local files or folders, upload to clawgo.me, and get a shareable clone link. Use when the user wants to share, back up, or move local workspace Markdown...
使用说明 (SKILL.md)

ClawGo upload skill

Upload local files to clawgo.me and receive a 12-character key and shareable clone URL.

Service limits

  • Base URL: https://clawgo.me
  • Only .zip uploads, max 512MB
  • Key lifecycle: pending (key issued, zip not uploaded yet) → ready (downloadable)
  • Uploading again for the same key replaces the zip previously stored for that key on the server
  • Form field name for the file: file or zip (either works)

Workflow

Step 1 — Build a zip

Prefer Python (the machine may not have a zip CLI):

import zipfile, os

files = ['SOUL.md', 'AGENTS.md', 'TOOLS.md', 'IDENTITY.md', 'USER.md']   # adjust as needed
output = '/tmp/upload-payload.zip'

with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
    for f in files:
        if os.path.exists(f):
            z.write(f)

Zip an entire directory:

import zipfile, os

src_dir = '/path/to/dir'
output  = '/tmp/upload-payload.zip'

with zipfile.ZipFile(output, 'w', zipfile.ZIP_DEFLATED) as z:
    for root, _, filenames in os.walk(src_dir):
        for fname in filenames:
            fpath = os.path.join(root, fname)
            z.write(fpath, os.path.relpath(fpath, os.path.dirname(src_dir)))

Confirm the zip exists and is non-empty before continuing.

Step 2 — Mint a key

curl -s -X POST https://clawgo.me/api/keys/generate

Read the key field from the JSON (12 alphanumeric characters, uppercase).

Step 3 — Upload the zip

curl -s -X POST \
  -F "file=@/tmp/upload-payload.zip" \
  https://clawgo.me/api/clones/{key}/upload

A successful response includes "status": "ready" and "available": true.

Step 4 — Report to the user

After a successful upload, tell the user:

  • Clone link: https://clawgo.me/clone/{key} — shareable URL
  • Key: the 12-character key
  • File name and size: from fileName and fileSize in the response
  • Upload time: from createdAt in the response

Optional check

curl -s https://clawgo.me/api/clones/{key}/availability

Only report success to the user after "available": true.

OpenClaw workspace file reference

When uploading OpenClaw workspace Markdown (persona and rule-style notes), a typical minimal set is:

File Role
SOUL.md Primary identity, reasoning style, behavioral guardrails
AGENTS.md Session bootstrap, tool policy, hard limits
TOOLS.md Local tooling notes, third-party access hints, proxy routing
IDENTITY.md Display name, role, emoji metadata
USER.md User profile and session context

These paths live under ~/.openclaw/workspace/.

Errors

HTTP Cause What to do
400 Bad key shape / wrong field name / not a zip Ensure 12-char key, field is file, filename ends with .zip
404 Unknown key Repeat Step 2 to mint a new key
404 (on download) Key still pending Upload did not finish; retry upload
500 Server fault Retry once; if it persists, tell the user
安全使用建议
This skill does what it says: it zips local files and uploads them to https://clawgo.me and returns a shareable link. Before using it, review the files you will include (especially SOUL.md, AGENTS.md, USER.md or any other workspace files) because they may contain sensitive persona, credentials, or configuration. Confirm you trust clawgo.me and understand retention and access: anyone with the clone link/key may be able to download the archive. No credentials are required by the skill, and nothing is installed on your system, but the agent may upload files autonomously if you allow model invocation — only proceed if you are comfortable letting the agent access and transmit those local paths. If you need stronger privacy, remove secrets from the archive or encrypt the zip before upload.
功能分析
Type: OpenClaw Skill Name: clawgo-upload Version: 1.0.1 The clawgo-upload skill is a utility designed to package OpenClaw workspace configuration files (such as SOUL.md and USER.md) into a ZIP archive and upload them to the clawgo.me service for sharing. The skill's behavior is transparently documented in SKILL.md, uses standard system tools (Python zipfile and curl), and includes a security safeguard in config.json requiring explicit user confirmation before execution. There is no evidence of malicious intent, obfuscation, or unauthorized access to sensitive system-level data like SSH keys or environment variables.
能力评估
Purpose & Capability
The skill's name and description (zip local files and upload to clawgo.me) align with the runtime instructions: build a zip, mint a key, upload via HTTPS, and report the clone link. No unrelated binaries, env vars, or repositories are required.
Instruction Scope
Instructions explicitly reference zipping specific OpenClaw workspace Markdown (e.g., SOUL.md, AGENTS.md) under ~/.openclaw/workspace/ and sending that archive to an external host. This is coherent with the purpose but means potentially sensitive persona/profile/workspace data will be uploaded — the user should verify contents before uploading.
Install Mechanism
No install spec or code is included (instruction-only), so nothing is written to disk or fetched at install time. Lowest-risk install model.
Credentials
The skill requires no environment variables, credentials, or config paths. Network calls are limited to clawgo.me endpoints described in the SKILL.md, which is proportionate to the stated functionality.
Persistence & Privilege
always is false and the skill does not request persistent/privileged presence or modify other skills/settings. It is user-invocable and may be invoked autonomously by the agent (platform default) but there is no additional elevated privilege requested.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install clawgo-upload
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /clawgo-upload 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.1
- Added _meta.json file for enhanced skill metadata management. - SKILL.md rewritten in English for broader accessibility. - Skill description and trigger phrases updated for clarity and inclusiveness. - No functional or logic changes to the upload process itself.
v1.0.0
clawgo-upload 1.0.0 — Initial Release - Upload local files or directories as a zip to clawgo.me and generate a shareable clone link. - Supports files up to 512MB, with .zip format only. - Guides user through packing, key generation, upload, and result reporting. - Provides error handling for common upload and key issues. - Offers quick reference for uploading standard OpenClaw configuration files.
元数据
Slug clawgo-upload
版本 1.0.1
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 2
常见问题

clawgo-upload 是什么?

Zip local files or folders, upload to clawgo.me, and get a shareable clone link. Use when the user wants to share, back up, or move local workspace Markdown... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 212 次。

如何安装 clawgo-upload?

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

clawgo-upload 是免费的吗?

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

clawgo-upload 支持哪些平台?

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

谁开发了 clawgo-upload?

由 chenjunyeee(@chenjunyeee)开发并维护,当前版本 v1.0.1。

💬 留言讨论