A

Skill 详情

Arkcloud Ipfs

ARKCloud IPFS OpenClaw 技能,面向 file.arklink.hk。通过 ARKCloud 上传、发布、列举和删除文件,并返回 IPFS CID、访问链接、积分使用情况等。

来源平台:SkillHub
来源标识:SkillHub/arkcloud-ipfs
源文件:原始说明
编程开发 高关注 SkillHub 中 风险 下载 252 SkillHub
来源平台SkillHub
文档版本0.1.6
热度高关注
排名信号下载 252
概述 安装 文档 下载

快速判断

ARKCloud IPFS OpenClaw 技能,面向 file.arklink.hk。通过 ARKCloud 上传、发布、列举和删除文件,并返回 IPFS CID、访问链接、积分使用情况等。

最后校验2026-05-27
来源平台SkillHub
安全提示
下载副本ZIP 可用

适合任务

  • 按 SkillHub 收录说明复用成熟任务流程。
  • 通过下载包离线阅读完整 Skill 内容。
  • 结合热度指标优先评估常用 Skill。

输入与输出

输入:任务目标、上下文材料、文件路径、约束条件或需要处理的内容。

输出:按 Skill 说明生成的文档、代码、检查结果、计划、建议或操作步骤。

示例任务

  • 使用 Arkcloud Ipfs 帮我处理当前任务,并说明需要准备哪些输入。
  • 根据 Arkcloud Ipfs 的说明,先列出使用前的安全检查项。

安装方式

  1. 下载本站提供的 Skill ZIP 并解压。
  2. 把解压后的 Skill 目录放入当前 AI 工具支持的 skills 目录。
  3. 如需在线查看原始内容,可打开 GitHub 的 SKILL.md

在线原始地址:skillhub-arkcloud-ipfs/SKILL.md

风险边界

SkillHub 提供了源站安全报告入口,但本站不替代人工审查。使用前仍需检查权限、外部依赖和敏感数据边界。

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 <base_dir>/scripts/arkcloud_upload.py /path/to/file

The helper posts to POST /api/upload with Authorization: Bearer <ARKCLOUD_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 <base_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 <base_dir>/scripts/arkcloud_list.py

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

Check Health

Use the health helper before retrying an upload when the service may be unavailable:

python <base_dir>/scripts/arkcloud_health.py

It calls GET /api/health and prints the service response as JSON.

Delete Or Unpublish Uploads

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

python <base_dir>/scripts/arkcloud_delete.py <upload_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
建议反馈