Back to skills
SKILL.md
Caoliao Qrcode Markdown Content Skill
ASecurity从草料二维码链接获取 Markdown 内容。当用户提供匹配 https://qr61.cn/{path1}/{path2} 格式的 URL,或要求获取草料二维码链接内容时使用。
- 21 stars
- 0 votes
- 0 copies
- 25 views
- Added September 7, 2026
Security analysis
100/100Pro scans all 2 files and shows the line behind each finding
npx -y skills add modbender/skill-library-mcp --skill caoliao-qrcode-markdown-content-skill --agent claude-codeAre you the author of Caoliao Qrcode Markdown Content Skill?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/modbender-caoliao-qrcode-markdown-content-skill)---
name: caoliao-qrcode-markdown-content
description: 从草料二维码链接获取 Markdown 内容。当用户提供匹配 https://qr61.cn/{path1}/{path2} 格式的 URL,或要求获取草料二维码链接内容时使用。
---
# 草料二维码 Markdown 内容获取
在草料二维码短链接末尾拼接 `.md` 后缀,获取页面的 Markdown 格式内容。
## URL 格式
匹配规则:`https://qr61.cn/{segment1}/{segment2}`
- 域名:`qr61.cn`
- 路径:恰好两段(如 `oZwrwZ/q2wR1WE`),每段为字母数字字符
示例:`https://qr61.cn/oZwrwZ/q2wR1WE`
## 工作流程
1. **校验 URL** — 确认域名为 `qr61.cn`,路径恰好为两段且非空。
2. **构造请求 URL** — 在原始 URL 末尾追加 `.md`:
```
https://qr61.cn/oZwrwZ/q2wR1WE → https://qr61.cn/oZwrwZ/q2wR1WE.md
```
3. **通过 Shell 工具使用 `curl` 获取内容**,根据操作系统选择对应命令:
**Windows (PowerShell):**
```powershell
curl.exe -L -s "https://qr61.cn/oZwrwZ/q2wR1WE.md"
```
**macOS / Linux:**
```bash
curl -L -s "https://qr61.cn/oZwrwZ/q2wR1WE.md"
```
> Windows 下必须使用 `curl.exe` 而非 `curl`,避免 PowerShell 将其解析为 `Invoke-WebRequest`。
4. **将获取到的 Markdown 内容返回给用户**。若请求失败或返回错误,告知用户具体问题。
## 注意事项
- `-L` 参数用于跟随重定向。
- `-s` 参数用于静默输出,不显示进度信息。
- 如果 URL 末尾有斜杠 `/`,需先移除再拼接 `.md`。
Files in this skill
- README.md
- SKILL.md
Attribution
Related skills
View all in tools →Comments
Loading comments…
Newsletter
Get the weekly list of safe new skills, and the ones we pulled.