跳到正文
cccskills
免费在 GitHub 公开

magicmd

Use when the user wants public article URLs from WeChat, Juejin, CSDN, or technical blogs converted into Markdown packages, including batch conversion, local media, metadata, and extraction reports.

中文简介正在准备中。当前显示原文说明。

didilili/MagicMD星标 18(GitHub 18 + cccskills 0)

实测评分 未实测

查看安装方法

包含的文件(2)

  • SKILL.md3.1 KB
  • agents/openai.yaml234 B

SKILL.md(原文)

安装前可以查看交给 AI 代理的指令内容。

MagicMD

MagicMD converts public article links into Markdown packages. Use it as a thin tool wrapper: call the published CLI, inspect the output, and report what was created.

User-Facing Prompts

When users are not sure what to ask, suggest concise prompts like these:

Use MagicMD to convert this public article into a Markdown package, then summarize the output files and warnings.
Read urls.txt, batch convert all public article links into output/articles with MagicMD, skip existing packages, and report failures from batch-report.md.
Use MagicMD doctor to check whether this workspace can convert WeChat, Juejin, CSDN, and generic article links.
Inspect this MagicMD output directory and tell me which articles need manual review before publishing.

When to Use

Use this skill for:

  • Single public article URL to Markdown conversion.
  • Batch conversion from a URL list.
  • WeChat Official Account, Juejin, CSDN, and generic public article pages.
  • Agent workflows that need article.md, metadata, local images, videos, or extraction reports before publishing elsewhere.

Do not use it to bypass login, paywalls, private pages, CAPTCHA, rate limits, or platform access controls.

Command Choice

Prefer an installed CLI when available:

magicmd doctor
magicmd "<url>" -o output/
magicmd batch urls.txt -o output/

If magicmd is not installed, use the PyPI package through uvx:

uvx --from "magicmd==0.7.1" magicmd doctor
uvx --from "magicmd==0.7.1" magicmd "<url>" -o output/
uvx --from "magicmd==0.7.1" magicmd batch urls.txt -o output/

For repeated batch runs:

magicmd batch urls.txt -o output/ --skip-existing
magicmd batch urls.txt -o output/ --overwrite

Workflow

  1. Run magicmd doctor when the environment is unknown.
  2. Put multiple URLs in a plain text file, one URL per line.
  3. Convert with magicmd "<url>" -o <output_dir> or magicmd batch <urls.txt> -o <output_dir>.
  4. Verify each output package contains article.md, metadata.json, and extraction-report.json.
  5. Check local media directories such as images/ or videos/ when media download is enabled.
  6. For batch jobs, inspect batch-report.md and batch-report.json.
  7. If conversion is incomplete, inspect extraction-report.json, debug.html when present, and the source URL.

Reporting Back

Tell the user:

  • Output directory path.
  • Number of successful and failed conversions.
  • Important warnings from extraction-report.json or batch-report.md.
  • Whether media was downloaded locally.
  • Any limits encountered, such as 403, login requirement, video hotlink protection, or missing dynamic resources.
  • Next suggested action: publish, manually review, retry with browser support, or collect failure evidence.

Keep the original URL and output package intact so the user can compare against the source page.

评价

还没有评价。欢迎分享你的使用感受。

评论

无需登录即可发表。欢迎分享使用感受、提问,或说明在哪些环境下无法运行。

还没有评论。来写第一条吧。

提交后会立即公开。请勿填写邮箱、电话等个人信息。URL 最多 2 个。

0 / 1000 字

此表单受 reCAPTCHA 保护,适用 Google 的隐私权政策和服务条款。

报告此技能的问题