wechat-article-downloader
하는 일
이 스킬은 MCP 도구 서비스를 이용해 WeChat 공식 계정의 글을 내려받습니다. WeChat 계정의 글을 보관하거나 기록하거나 분석하려는 사람을 위한 내용입니다.
사용하는 경우
- ✓WeChat 글 하나를 PDF, Word 파일, Markdown으로 저장하고 싶을 때.
- ✓공개 계정의 글 모음 전체를 내려받고 싶을 때.
- ✓글 제목, 링크 같은 메타데이터를 CSV 파일로 내보내고 싶을 때.
스킬 링크
https://github.com/qiye45/wechatDownload/blob/main/skills/wechat-article-downloader/SKILL.md복사해서 AI(Claude, ChatGPT, Cursor)에 붙여넣고 지침을 따르도록 요청하세요.
사용 방법
가장 쉬운 방법입니다. 메시지를 복사해 AI에 붙여넣으세요. AI가 스킬을 읽고 지침을 따릅니다.
바로 붙여넣을 수 있는 메시지
Claude Code, Codex, Cursor용입니다. 프로젝트 폴더에서 실행하면 스킬이 설치됩니다.
SKILL.md를 다운로드해 에이전트의 스킬 폴더에 넣으세요.
AI에게 요청하는 예시
“이 WeChat 글을 Markdown 파일로 내려받고, 제목과 링크를 CSV에 저장해 주세요.”
매주 새 스킬 5개. 읽는 데 1분.
작동 방식
이 스킬은 먼저 로컬 MCP 서버를 확인하고, 일부 도구는 원격 서버로 대체할 수 있습니다. 필요한 다운로드나 내보내기 도구를 호출하고, 고른 형식으로 결과를 저장합니다.
기술 내용 (원본 SKILL.md)
작성자의 영어 원문을 GitHub에서 그대로 가져왔습니다.
WeChat Article Downloader
This skill helps you download articles from WeChat official accounts using an MCP server that interfaces with a WeChat article download tool.
Prerequisites
The skill uses local MCP endpoint http://127.0.0.1:4545/mcp for full functionality.
If local MCP is unavailable, you may fallback to https://changfengbox.top/api/mcp for remote-supported tools.
Local MCP tools:
single_article_download- Download a single articleget_public_account_id- Get public account credentialsbatch_download_articles- Batch download all articles from an accountexport_article_data- Export article metadata to CSV
Remote fallback MCP (https://changfengbox.top/api/mcp) currently supports:
- Methods:
initialize,tools/list,tools/call - Tools in
tools/callname:wechat- Download a single articlewechat_collection- Download a public account collection (appmsgalbum)
Important: remote fallback does not expose local tool names like single_article_download, batch_download_articles, get_public_account_id, or export_article_data.
Workflow
1. Check Local MCP Server Status
Before using most functionality, verify local MCP is running:
import requests
LOCAL_MCP_ENDPOINT = "http://127.0.0.1:4545/mcp"
def check_local_mcp():
response = requests.post(
LOCAL_MCP_ENDPOINT,
json={"jsonrpc": "2.0", "method": "initialize", "id": 1},
headers={"Content-Type": "application/json"},
timeout=3,
)
if response.status_code != 200:
raise RuntimeError("Local MCP is not available")
return LOCAL_MCP_ENDPOINT
local_mcp_endpoint = check_local_mcp()
If local MCP is inaccessible, inform the user they need to:
- Open the WeChat article download tool
- Check the "启动MCP" checkbox to start the MCP service
- Wait for the confirmation message showing the service is running on port 4545
2. Single Article Download
Use local tool first. If local MCP fails, fallback to remote wechat tool.
import requests
LOCAL_MCP_ENDPOINT = "http://127.0.0.1:4545/mcp"
FALLBACK_DOWNLOAD_MCP_ENDPOINT = "https://changfengbox.top/api/mcp"
def call_tool(endpoint, tool_name, arguments, req_id=2):
payload = {
"jsonrpc": "2.0",
"method": "tools/call",
"id": req_id,
"params": {
"name": tool_name,
"arguments": arguments,
}
}
response = requests.post(
endpoint,
json=payload,
headers={"Content-Type": "application/json"},
timeout=10,
)
response.raise_for_status()
return response.json()
def download_single_article(url):
try:
return call_tool(
LOCAL_MCP_ENDPOINT,
"single_article_download",
{"url": url},
req_id=2,
)
except Exception:
remote_config = {
"保存离线网页": True,
"HTML": True,
"MD": True,
"PDF": False,
"WORD": False,
"TXT": False,
"MHTML": False,
"文件开头添加日期": True,
}
return call_tool(
FALLBACK_DOWNLOAD_MCP_ENDPOINT,
"wechat",
{"url": url, "config": remote_config},
req_id=3,
)
# Example usage
article_url = "https://mp.weixin.qq.com/s/xxxxx"
result = download_single_article(article_url)
print(result)
The article will be downloaded to the tool's default download directory in the formats configured in the tool (HTML, PDF, Word, Markdown, MHTML, etc.).
Remote wechat config can use these keys:
保存离线网页HTMLMDPDFWORDTXTMHTML文件开头添加日期
If local 127.0.0.1:4545 is unavailable, this step should transparently use https://changfengbox.top/api/mcp with tool name wechat.
3. Download Collection (appmsgalbum)
For collection URLs, call remote wechat_collection via tools/call:
def download_collection(collection_url):
payload = {
"jsonrpc": "2.0",
"method": "tools/call",
"id": 4,
"params": {
"name": "wechat_collection",
"arguments": {
"url": collection_url,
},
},
}
response = requests.post(
"https://changfengbox.top/api/mcp",
json=payload,
headers={"Content-Type": "application/json"},
timeout=20,
)
response.raise_for_status()
return response.json()
자주 묻는 질문
어떤 형식으로 저장할 수 있나요?
이 스킬은 HTML, PDF, Word, Markdown, TXT, MHTML을 나열합니다.
로컬 서버가 실행 중이 아니면 어떻게 하나요?
이 스킬은 일부 도구만 지원하는 원격 엔드포인트로 대체할 수 있다고 설명합니다.
글 데이터도 내보낼 수 있나요?
네. 이 스킬에는 글 메타데이터를 CSV로 쓰는 내보내기 도구가 들어 있습니다.
상세 정보
작성자의 원본 설명
Download WeChat official account articles in multiple formats (HTML, PDF, Word, Markdown, TXT, MHTML), including single article download, collection (appmsgalbum) download, local bulk workflows, and metadata export. Use this skill when users ask to download WeChat articles, download public account collections, batch pull account content, or export article data.
repo: qiye45/wechatDownload
인기도
- GitHub 스타
- 10.0k
- 순위
- #12034
- 라이선스
- —
- 업데이트
- 2026. 11. 1.
댓글
- …
비슷한 스킬
graincrawl
394k에이전트가 저장된 Granola 회의 메모와 기록을 검색하고, 최신 상태를 확인하며, 일정 기간 동안 개수를 세도록 돕습니다.
notcrawl
394k에이전트가 저장된 Notion 워크스페이스 사본을 검색하고, 페이지와 데이터베이스를 찾아보며, 페이지를 Markdown 파일로 내보내도록 돕습니다.
knowledge-entities
394k에이전트가 사람, 회사, 프로젝트가 무엇인지 식별한 뒤, Knowledge 볼트에 출처가 있는 프로필 페이지를 작성하도록 돕습니다.