piclist-upload SKILL.md skillB
piclist-upload from cat-xierluo/legal-skills is an agent skill: a SKILL.md folder an AI agent loads when a task calls for it.
mdr add cat-xierluo/legal-skills/piclist-upload@v1.5.0Pins v1.5.0 in mdr.lock. Pin the fingerprint instead.
- Audit grade
- B, 16 of 17 checks passed
- Kind
- SKILL.md skill
- Repository
- cat-xierluo/legal-skills
- Path
skills/piclist-upload/SKILL.md- Versions recorded
- 5
- Latest version
- v1.5.0, committed Sep 23, 2026
- First version recorded
- Sep 9, 2026
- Size
- 4,711 bytes
- Repository stars
- 775
- License
- none declared
通过 PicList HTTP Server 将 Markdown 文件中的本地图片上传到图床,并替换为云端链接。本技能应在用户需要上传 Markdown 中的图片、处理包含本地图片引用的 Markdown、批量处理多个 Markdown 文件或目录、或替换本地路径为云端链接以实现跨设备访问时使用。.
Collected from public GitHub. Every version is saved exactly as it was and never changes. Install it at an exact version with the mdr tool, and every file is checked before it reaches your agent. The main file is checked against the SHA-256 fingerprint recorded here, and the others against the fingerprints GitHub keeps for its source commit. The automatic checks below grade the latest version, and the same checks always give the same file the same grade.
What the file says
# PicList 图片上传
将 Markdown 文件中的本地图片上传到配置的图床,并将本地路径替换为云端链接。
## 前置条件
- 已安装 PicList 并启用 HTTP Server
- 已在 PicList 中配置图床
- 已安装 `jq`
- 已安装 `curl`
**系统兼容性**: 脚本兼容 bash 3.2+(macOS 自带 `/bin/bash` 直接可用,无需安装新版 bash)、Linux 各发行版、Git Bash(Windows)。`lsof` 缺失时自动回退 `/dev/tcp` 端口探测,无需 `bc`。
**首次配置**: 请参阅 [references/setup.md](references/setup.md) 安装和配置指南。
## ⚠️ 强制规则:必须通过脚本执行
**禁止手动 curl 上传。所有操作必须通过 `scripts/process.sh` 脚本执行。** 脚本已内置上传、URL 替换和本地文件删除的完整逻辑,手动操作容易遗漏步骤。
**默认行为是上传成功后删除本地图片。** 只有当用户明确要求保留时,才可添加 `--keep-local`。不得擅自保留本地图片。
## 使用方法
### 处理文件或目录(默认删除本地图片)
```bash
bash scripts/process.sh --in-place <file.md|directory...>
```
### 保留本地图片(仅在用户明确要求时使用)
```bash
bash scripts/process.sh --in-place --keep-local <file.md|directory...>
```
### 预览模式(不修改文件)
```bash
bash scripts/process.sh --dry-run <file.md|directory...>
```
## 命令选项
| 选项 | 说明 |
|------|------|
| `--in-place` | 直接修改原文件(必须指定,否则仅输出到终端) |
| `--keep-local` | 保留本地图片文件。**仅在用户明确要求时使用** |
| `--dry-run` | 预览模式,不上传、不修改文件 |
## 响应格式
解析上传返回的 JSON:
```json
{"success":true,"result":["https://example.com/image.png"]}
```
## 统计报告
处理完成后显示:
```markdown
📊 Summary:
Total uploaded: 5
Total skipped: 3
Total failed: 0
```
…Read the whole file at its exact version.
How to install
mdr add cat-xierluo/legal-skills/piclist-upload@sha256:f4d909cb121767f6The line at the top of this page pins the label v1.5.0, which is what most people want. This one pins the sha256 fingerprint of the contents instead, so it survives a label being moved. Either way the exact version is written to mdr.lock, and mdr install downloads and checks those contents again, so it installs them exactly or stops with an error.
[](https://markdownregistry.com/a/art_jxt5aacx4zemuscn)
2 badge image fetches in 30 days. What the badge shows.
Versions
The registry has recorded 5 versions of this file, between Sep 9, 2026 and Sep 23, 2026, about one every 3 days.
| version | committed | commit | size | audit | |
|---|---|---|---|---|---|
| v1.5.0 latest | 2026-09-23 | a6f977c | 4,711 B | B | view · diff |
| v1.4.1 | 2026-09-21 | 785e349 | 4,171 B | B | view · diff |
| v1.4.0 | 2026-09-18 | 5552d7a | 3,784 B | B | view · diff |
| v1.3.0 | 2026-09-09 | 21cbcec | 3,553 B | B | view · diff |
| v1.2.0 | 2026-09-09 | 7cfc280 | 3,553 B | B | view |
Audit of the latest version
- fail: No link to a raw IP address (matched: http://127.0.0.1:36677)
- pass: Frontmatter block present
- pass: Frontmatter declares a name
- pass: Frontmatter declares a description
- pass: Size between 200 bytes and 200 KB (4711 bytes)
- pass: No zero-width or bidi control characters
- pass: No instruction hidden inside an HTML comment
- pass: No link to an exfiltration or paste host
- pass: No credential-shaped string
- pass: No instruction to send local credentials anywhere
- pass: No text hidden with inline styles
- pass: No prompt-injection phrasing
- pass: No curl or wget piped into a shell
- pass: No recursive delete of root, home or parent
- pass: No instruction to read or print local credentials
- pass: No base64 blob over 200 characters
- pass: No script tag
Starting a new one? Use a template for SKILL.md on mdpantry, which passes every one of these checks and says what to change in it.
Source
cat-xierluo/legal-skills · 775 stars · license none declared · pushed 2026-11-01 · branch main
API
GET https://markdownregistry.com/api/v1/artifacts/art_jxt5aacx4zemuscn GET https://markdownregistry.com/api/v1/resolve?ref=cat-xierluo/legal-skills/piclist-upload GET https://markdownregistry.com/api/v1/blob/f4d909cb121767f6f51259b254042c208b656c89fbb255762f4a28fad847f317
Your AI assistant does the legwork. You hear about the deals worth your word. Hand yours the standing instructions at modelranch.com and it joins the network that reads files like this one.
Guides: the SKILL.md format and its required fields · what to check before you install a skill · how to pin a skill to an exact version · where to find agent skills · keeping a team on the same skills · which agent file does what.