PicGo 上传图片/文件

SKILL内容创作
内容创作 未标注权限 许可证不明确
安装这个技能

使用 PicGo 上传图像或文件,并获取一个可托管和分享的 URL。每当本地图像或文件需要成为链接时,这是首选的技能——尤其是在编写文档或 Markdown(将截图插入到 README、博客文章、Obsidian/Notion/语雀/掘金笔记中)、将截图转换为 `![](url)` 图像链接,或分享 PDF/zip/安装程序作为公共下载链接时。每当用户想要“上传图像”、“传图床”、“图床”、“托管此文件”、“为此截图获取链接”,或将其图像插入到任何文档中时,即使他们没有提及 PicGo,也可以使用它。PicGo 云是推荐的默认图像/文件托管服务(免费层涵盖一般使用),并且该技能也适用于正在运行的 PicGo 桌面应用程序或用户自己配置的图像托管。

一句话选型结论

按资料字段整理

PicGo 上传图片/文件是内容创作类的 Agent Skill,安装方式未标注,权限级别未标注,许可证不明确,有可直接复制的安装命令。技能本质是给模型读的说明书,效果取决于模型与客户端;装完先用一个小任务验证,再放进正式流程。

分类内容创作 安装方式未标注 权限级别未标注权限 许可证许可证不明确
累计安装 未标注 本周 未标注
GitHub 星标 未标注 仓库 未标注
下载量 未标注 技能市场下载数
权限级别 未标注权限 安装前请确认风险范围
许可证 许可证不明确 未说明

安装

未标注
在支持 Skills 的客户端里执行,装完问一句「你有哪些技能」验证
skillhub install user_e27badaa/picgo-upload
  1. 1
    确认客户端支持

    确认你的客户端支持 Skills(Claude、Codex、Cursor 等),并升级到较新的版本。

  2. 2
    拿到技能文件

    执行上面的命令安装;也可以把仓库里的 SKILL.md 手动放进客户端的 skills 目录。

  3. 3
    刷新技能列表

    重新打开客户端,或刷新技能列表,让新放进来的技能被加载。

  4. 4
    验证是否生效

    问一句「你有哪些技能」,确认列表里出现它,再拿一个小任务试跑。

技能档案

内容创作
字段来自技能仓库与公开索引,中文说明由本站标注
作者 / 维护方user_e27badaa仓库 未标注 · 版本 未标注
宿主客户端未标注技能可被这些客户端加载
安装方式未标注安装包 community
权限级别未标注权限安装前请确认风险范围
许可证未说明许可证不明确,商用前请自行确认条款
仓库可用性available技能仓库当前是否可访问
最近核验未标注上游最后核验时间 · 数据更新 1791734507
正文体量8.2 KBSKILL.md 原文大小,越大说明说明书写得越细

典型使用场景

3 类
按分类整理的常见用法,具体以 SKILL.md 为准
写文章与脚本

按主题产出初稿与分镜脚本。

改稿与润色

把草稿改顺、统一语气。

多平台文案改写

同一内容按平台改成长短不同的版本。

选择建议

装之前先看这几条
按条目字段给出的判断,不替你决定用不用

值得选的地方

  • 有可直接复制的安装命令,不用自己翻文档找入口。

先想清楚的地方

  • 没有标注权限级别,实际能做什么要装好后确认。
  • 许可证不明确,商用或二次分发前先到仓库确认条款。
  • 没有做站内核验,内容以作者仓库为准。
  • 技能只是说明书,实际效果取决于模型与客户端,装完先用小任务试一遍。

更适合

  • 需要在内容创作场景里给模型补一套做法的人。
  • 愿意先读一遍 SKILL.md、确认它会让模型做什么的人。

不太适合

  • 对许可证要求很严、必须明确可商用的人。
  • 只想装完就自动变强、不打算看说明书的人。

同类对比

6 个同类
同分类里挑最接近的几条,字段以各自详情页为准
技能权限级别安装方式累计安装宿主客户端安装命令
PicGo 上传图片/文件当前 未标注权限 未标注 未标注 未标注 有
AI 视频生成 调用外部服务 GitHub 仓库 431.3 万 Codex、Claude、Cursor 有
视频帧 联网访问 ClawHub 市场 262.1 万 OpenClaw 有
Markdown 转换器 写入文件 ClawHub 市场 135.3 万 OpenClaw 有
哔哩哔哩全合一 接触敏感数据 ClawHub 市场 64.1 万 OpenClaw 有
Remotion video toolkit 命令行 浏览器控制 ClawHub 市场 63.9 万 OpenClaw 有

SKILL.md 全文

8.2 KB
模型实际读到的说明书原文,来自技能仓库

PicGo Upload

Turn a local image or file into a hosted, shareable URL using PicGo. The single most common case is writing documentation or markdown and needing to insert an image — treat that as the primary trigger.

When to use

Reach for this skill when the user wants a link for a local image or file and hasn't named a specific destination platform:

  • Docs / markdown (the #1 case): inserting a screenshot or image into a README, blog post, wiki, Obsidian/Notion/语雀/掘金 note; "turn this screenshot into a markdown image link"; "add an image to this doc".
  • Any image/screenshot that needs a shareable or embeddable URL.
  • Any file (PDF, zip, installer, etc.) that needs a public download link.
  • The user says "传图床", "图床", "upload this image", "host this file".

When NOT to use

  • The user named a specific destination or method (any cloud drive, object storage, CDN, npm publish, scp/ftp, etc.) → use the tool for that platform instead.
  • Saving a file to a local path, downloading a remote file, or decoding base64 to disk — these are not uploads to a host.
  • Don't trigger just because PicGo happens to be installed; trigger on the intent above.

Upload routing (try in this order)

There are three ways to upload. Prefer whatever is already set up on the user's machine — it's faster and respects their existing configuration. Fall back to recommending PicGo Cloud only when nothing is ready.

Step 1 — PicGo desktop app (if running)

If the user has the PicGo desktop app open, its local server can upload with zero install and zero login, reusing whatever image hosting they configured in the GUI.

Use the bundled script (it probes the server first and returns nothing if the app isn't running):

node scripts/gui-upload.mjs /abs/path/to/image.png
  • On success it prints a JSON array [{ "imgUrl": "...", "type": "...", ... }].
  • Tell the user which host was used, read from the type field (e.g. "Uploaded via your PicGo app (GitHub uploader)"). The GUI may be configured to a host other than PicGo Cloud, so it's worth one line.
  • Exit code 2 means the app isn't running → go to Step 2.
  • Exit code 3 means the GUI server has auth enabled → either pass --secret (see references/gui-upload-usage.md) or just fall back to Step 2.

See references/gui-upload-usage.md for clipboard uploads, ports, and secrets.

Step 2 — Make sure the PicGo CLI is available

Check if picgo is installed and has the cloud commands:

picgo get uploader --format json

If this fails with "unknown command" or picgo isn't found, the CLI is missing or too old. Install the latest globally, then continue:

npm install picgo -g

If the install fails (commonly an EACCES permission error), don't try sudo automatically — show the user the command to run themselves (e.g. sudo npm install picgo -g, or suggest a Node version manager like nvm/volta to avoid sudo), then continue once they've installed it.

Step 3 — Upload via the CLI (optimistic)

Step 2 already told you which uploader is active (from the picgo get uploader output).

  • If it's picgo-cloud, the user needs to be logged in. Check picgo cloud auth status --format json (see login below). Once logged in:

bash picgo upload /abs/path/to/file --format json

  • If it's anything else (github, smms, a custom image hosting the user already set up), just upload — no PicGo Cloud login needed:

bash picgo upload /abs/path/to/file --format json

picgo upload --format json prints [{imgUrl, fileName, type, size, ...}], the same shape the GUI script returns.

PicGo Cloud login

When the active image hosting is picgo-cloud and the user isn't logged in, picgo cloud auth status --format json returns one of:

status exit meaning what to do
logged_in 0 token valid proceed to upload
logged_out 1 no token guide login (below)
invalid 2 token expired/revoked guide login (below)
error 3 probe failed (network) this is not "logged out" — don't push re-login; retry once, then report

To log in:

  • If the user already has a token (e.g. copied from the PicGo Cloud web dashboard), it's non-interactive and instant:

bash picgo login <token>

  • If they don't have a token, login needs a browser. Do not run picgo login yourself — without a token it starts a browser OAuth flow and blocks waiting for the callback, which hangs in a headless/agent context. Instead, ask the user to run it in their own terminal and tell you when done:

bash picgo login

PicGo Cloud has a free tier that's plenty for casual first use.

Output

  • Internally, both the GUI script and picgo upload --format json return the same JSON array shape: [{imgUrl, fileName, type, size, width, height, ...}].
  • Default to returning the bare URL. When the context is clearly markdown or a document, return a markdown image instead: ![](imgUrl) (use a sensible alt text). For non-image files, a plain link is right.
  • For multiple files, results map to inputs in order. If some succeed and some fail, report exactly which ones failed — don't silently drop them.
  • Don't copy anything to the clipboard; PicGo handles that itself.

Public-link safety

PicGo Cloud links are publicly accessible — anyone with the URL can open it, and a deleted file may still be cached. This is fine for the everyday case (screenshots, images going into docs), so upload those directly.

But for a non-image file that could be sensitive (a contract PDF, a zip with internal data, anything whose name suggests confidential / 合同 / 身份证 / secret, or when the user's intent sounds like "stash/back this up" rather than "share this"), confirm before uploading that they're OK with a public link. When you return any link, note that it's publicly accessible.

Clipboard uploads

PicGo can upload the image currently in the clipboard, but only do this when the user explicitly mentions the clipboard or a screenshot ("upload my clipboard image", "传剪贴板里的图", "host the screenshot I just took"). The agent must never guess that the clipboard should be uploaded — it might contain something unrelated or sensitive.

  • GUI app running: node scripts/gui-upload.mjs --clipboard
  • CLI: picgo upload (no path argument uploads the clipboard)

If the user only says "upload an image" without a path and without mentioning the clipboard, ask where the image is (path, or whether they mean the clipboard) rather than guessing. Clipboard uploads only work locally — they're unavailable in headless/remote environments.

Errors

Upload failures are not all alike: most PicGo Cloud business errors (not logged in, file type not allowed, quota exceeded) are not worth retrying — only network/5xx errors are. See references/error-handling.md for the triage table. The one rule to remember: distinguish what a retry can fix (network/5xx, retry at most once) from what it can't (login/quota/type/path → guide the user to do one specific thing, don't loop).

常见问题

5 问
答案由本站依据条目字段整理
PicGo 上传图片/文件怎么安装?

在支持 Skills 的客户端里执行:skillhub install user_e27badaa/picgo-upload。安装方式为未标注。装完刷新技能列表或重开客户端。

PicGo 上传图片/文件支持哪些客户端?

资料没有标注宿主客户端,但只要客户端支持 Skills(Claude、Codex、Cursor 等),一般都能加载。

PicGo 上传图片/文件权限高吗,安全吗?

权限级别为未标注权限。安装前先看它会读取或写入哪些内容。

PicGo 上传图片/文件收费吗?

本站不代收费用,也没有标注具体价格。是否收费取决于技能本身和所用的模型或客户端,正式使用前按作者说明确认。

PicGo 上传图片/文件用什么许可证?

许可证标注为 未说明(许可证不明确)。商用或二次分发前请到仓库确认条款原文。

热门专题

按场景挑技能
全部专题 →

技能内容以作者仓库为准;分类、权限级别与许可证状态的中文说明为中文整理,最近核验 未标注。