Skip to content
Back to skills

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
toolsshellbash

Security analysis

A100/100

Pro scans all 2 files and shows the line behind each finding

Scanned September 7, 2026

npx -y skills add modbender/skill-library-mcp --skill caoliao-qrcode-markdown-content-skill --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Caoliao Qrcode Markdown Content Skill?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Caoliao Qrcode Markdown Content Skill
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/modbender-caoliao-qrcode-markdown-content-skill/badge)](https://www.skillsdirectory.com/skills/modbender-caoliao-qrcode-markdown-content-skill)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
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.md531 B
  • SKILL.md1.6 KB

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

View all in tools →

Comments

Loading comments…

Newsletter

Get the weekly list of safe new skills, and the ones we pulled.