threerocks/article2media / skills/article-fetch
article-fetch
Verified文章抓取:把一篇文章转成干净的 Markdown(article.md,带标题、作者、平台、日期、链接的 front matter)。支持 X/Twitter 长文、帖子与线程(FxTwitter,不需要登录)、普通网页、微信公众号文章、本地 Markdown / 文本 / HTML 文件。article2media 的第一步,也可以单独用。Use when the user wants an article, X post or thread, web page or 公众号文章 fetched / saved / converted to Markdown (抓取文章、把这篇存成 markdown、提取正文、导出原文), or when another article2media skill needs the original text from a URL.
| File | Kind | Size |
|---|---|---|
| SKILL.md | skill md | 3.7 KB |
| agents/openai.yaml | config | 245 B |
| scripts/doctor.mjsexecutable | script | 790 B |
| scripts/fetch.mjsexecutable | script | 844 B |
scripts/fetch.mjs
View on GitHub#!/usr/bin/env node
// article-fetch · Fetch an article (X, web page, WeChat, local file) as article.md.
// Runs the shared engine (skills/article2media/engine), installed together with the article2media skill.
import fs from 'node:fs';
import { pathToFileURL } from 'node:url';
const engine = process.env.ARTICLE2MEDIA_ENGINE ? pathToFileURL(process.env.ARTICLE2MEDIA_ENGINE.replace(/\/?$/, '/scripts/')) : new URL('../../article2media/engine/scripts/', import.meta.url);
if (!fs.existsSync(new URL('fetch.mjs', engine))) {
console.error('✗ 找不到共享引擎 article2media/engine:article-fetch 要和 article2media 装在同一个 skills 目录里(插件安装会一起装好)');
process.exit(2);
}
process.env.A2M_CLI = 'fetch.mjs';
process.argv.splice(2, 0, '--kind', 'article');
await import(new URL('fetch.mjs', engine));
Related skills
| Skill | Stars | Updated | Works with | Status | Install |
|---|---|---|---|---|---|
| reverse-engineer-anythingmorluto/reaReverse engineer native, managed, Electron/JavaScript, packaged, firmware, and browser targets with REA, and build agent environments (AgentEnv bundles) of web applications from a live instance or a capture, and of Linux desktop apps with a task from a request. Use shipped-artifact or requested runtime evidence to explain features, compare versions, decompile code, or guide a reconstruction. Skip REA for ordinary source-repository architecture analysis. | Stars: 469k | Updated | Claude CodeCodex | Verified | Install |
| diagnosing-superpowersobra/superpowersUse when a superpowers session went wrong and your human partner wants to know why — repeated work, ignored plans, stumbles, poor results, a skill that didn't fire, "it took too long", "why is it so expensive", "what is it doing" — or wants to build a bug report for the superpowers maintainers, for the current session or a past one identified by id or path, on any harness. | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| dispatching-parallel-agentsobra/superpowersUse when facing 2+ independent tasks that can be worked on without shared state or sequential dependencies | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |
| executing-plansobra/superpowersUse when executing an implementation plan in the current session as the implementer yourself — your human partner chose inline execution, or no subagent tool is available | Stars: 321k | Updated | Claude CodeCodex | Verified | Install |