← 返回 Skills 市场
djanngau

Arkcloud Ipfs

作者 ngau · GitHub ↗ · v0.1.5 · MIT-0
cross-platform ✓ 安全检测通过
113
总下载
0
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install arkcloud-ipfs
功能描述
ARKCloud IPFS OpenClaw skill for file.arklink.hk. Upload, publish, list, and delete files through ARKCloud and return IPFS CID, access link, credit usage, an...
使用说明 (SKILL.md)

ARKCloud IPFS

Keywords: arkcloud, ARKCloud, arkcloud-ipfs, ARK Cloud, OpenClaw skill, CowAgent skill, Claude Code skill, IPFS, CID, file.arklink.hk, decentralized storage, upload API.

Use ARKCloud's token-protected upload API. Do not call or expose the raw Kubo API or gateway API. Public uploads must go through /api/upload.

Configuration

  • ARKCLOUD_BASE_URL: optional, defaults to https://file.arklink.hk.
  • ARKCLOUD_UPLOAD_TOKEN: bearer token for POST /api/upload.
  • ARKCLOUD_CLIENT_COOKIE: optional browser/client session cookie for client APIs.
  • ARKCLOUD_CSRF_TOKEN: optional CSRF token for client upload/delete APIs.

Never print, store, or commit plaintext tokens, session cookies, admin tokens, wallet private keys, seed phrases, or .env files. If the user asks to upload secrets, warn them and ask for confirmation before proceeding.

Upload A File

Use the bearer-token upload helper for normal file uploads:

python \x3Cbase_dir>/scripts/arkcloud_upload.py /path/to/file

The helper posts to POST /api/upload with Authorization: Bearer \x3CARKCLOUD_UPLOAD_TOKEN> and returns JSON containing:

  • cid
  • bytes
  • credits_charged
  • credits_remaining
  • filename
  • duplicate
  • short_url
  • url

If duplicate is true, ARKCloud returned an existing upload record and charged 0 credits.

After a successful upload, show the user these fields in this order:

  • CID: use cid
  • 文件名: use filename
  • 大小: use bytes
  • 链接: use url
  • 消耗积分: use credits_charged
  • 剩余积分: use credits_remaining

Prompt the user to open the link when they want to view or share the uploaded file. In user-facing copy, call it the access link, file link, or simply 链接.

Upload A Folder

Folder upload requires a logged-in client session because it uses POST /api/client/upload/folder with CSRF protection.

python \x3Cbase_dir>/scripts/arkcloud_upload.py /path/to/folder --folder

If ARKCLOUD_CLIENT_COOKIE or ARKCLOUD_CSRF_TOKEN is missing, tell the user to upload the folder from https://file.arklink.hk/ or provide a valid client session and CSRF token. Do not attempt to bypass this through raw IPFS endpoints.

List Uploads

Listing uploads requires a logged-in client session:

python \x3Cbase_dir>/scripts/arkcloud_list.py

It calls GET /api/client/uploads and prints the upload records as JSON.

Delete Or Unpublish Uploads

Deleting uploads requires a logged-in client session and CSRF token:

python \x3Cbase_dir>/scripts/arkcloud_delete.py \x3Cupload_id>

It calls DELETE /api/client/uploads/{upload_id}. Treat this as destructive: confirm with the user before deleting unless they explicitly asked for deletion.

Error Handling

  • Missing ARKCLOUD_UPLOAD_TOKEN: ask the user to configure a token from the ARKCloud wallet/client UI.
  • 401 or 403: token/session is missing, expired, inactive, or lacks CSRF.
  • Insufficient credits: report credits_required and credits_balance if present.
  • File too large or invalid path: report the path and avoid retrying unchanged.
  • Service unavailable: check GET /api/health or ask whether to retry later.

Publishing

This skill is installable from GitHub when the repo keeps this path:

skills/arkcloud-ipfs/SKILL.md

Install examples:

/skill install djanngau/arkcloud-ipfs-skill#skills/arkcloud-ipfs
cow skill install djanngau/arkcloud-ipfs-skill#skills/arkcloud-ipfs
安全使用建议
Because the artifact files could not be inspected, treat this as an inconclusive benign result and rerun with readable metadata.json and artifact contents before relying on it.
能力标签
cryptorequires-walletcan-make-purchasesrequires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
Artifact files could not be inspected in this run, so no purpose-capability mismatch is evidence-backed.
Instruction Scope
No artifact instructions were readable, so no scope concern is supported by evidence.
Install Mechanism
No install artifact was readable; supplied VirusTotal telemetry is clean but not a substitute for artifact review.
Credentials
No environment access request could be verified from artifacts.
Persistence & Privilege
No persistence or privilege behavior could be verified from artifacts.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install arkcloud-ipfs
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /arkcloud-ipfs 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.5
Document required upload result display fields: CID, filename, size, link, credits charged, and credits remaining.
v0.1.4
Use access-link wording in user-facing copy while preserving CID and file link output.
v0.1.3
Initial ClawHub release with ARKCloud upload, CID short URL, list, and delete helpers.
元数据
Slug arkcloud-ipfs
版本 0.1.5
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Arkcloud Ipfs 是什么?

ARKCloud IPFS OpenClaw skill for file.arklink.hk. Upload, publish, list, and delete files through ARKCloud and return IPFS CID, access link, credit usage, an... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 113 次。

如何安装 Arkcloud Ipfs?

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

Arkcloud Ipfs 是免费的吗?

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

Arkcloud Ipfs 支持哪些平台?

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

谁开发了 Arkcloud Ipfs?

由 ngau(@djanngau)开发并维护,当前版本 v0.1.5。

💬 留言讨论