公众号文章监控与导出 okdata
БесплатноБез исполняемых скриптовНе проверенWhat did these Official Accounts publish this week, and can I have it all as Markdown? Lists the new articles of each WeChat Official Account you name over…
от conn-ho265 установок в других каталогахОб этом скилле
WeChat article monitoring and export with okdata
What did these Official Accounts publish this week, and can I have it all as Markdown? (这些公众号这周发了什么?能不能全文导出来?)
Lists the new articles of each WeChat Official Account you name over the past days, with reads and likes where WeChat gives them; exports the articles you pick as Markdown with their comments; then sums it up per account as a weekly report.
Runs on 1 platform: WeChat Official Accounts. Example: 35 calls on WeChat Official Accounts, at most $0.70.
Inputs
| Input | Needed | Meaning |
|---|---|---|
accounts |
yes | Official Account names, ids or article links, comma-separated. |
days |
no | How many days back to list, 1 to 30; 7 if not given. |
export |
no | Which articles to export in full: all, or titles or links, comma-separated; all if not given. |
Run it
- Plan and say the cost. List each call from the table below for the platform asked, add up the most it can cost and tell the person before the first paid call. A run of more than 40 calls needs their go-ahead.
- For an account given by name, call the account search once with the name as
queryand take the matching id. Skip this for accounts given by id or article link. - For each account, call its article list once and keep the articles published in the last
daysdays. - (If the platform has it.) For each post kept, call the metrics endpoint with its link to add reads and likes.
- For each article to export, call the article endpoint with its link (
url) and save the full text as one Markdown file: the title as the heading, then the account, publish time and link, then the body. - (If the platform has it.) For each exported article, call the comments endpoint with its link, one page, and add the comments at the end under a Comments heading.
- Lay it out as one table with the columns: Account, Title, Published, Reads, Likes, Comments, Markdown file, Link. Leave a cell empty when the platform does not give that figure; never guess one.
- Answer the question from the table, then say what was charged (the sum of
meta.billing.amount) and where the data came from.
What it calls
| Platform | Step | Endpoint | Price | Needs |
|---|---|---|---|---|
| WeChat Official Accounts | accountSearch | wechat_mp.accounts.search |
$0.058 per account · at most $0.58 per call | query |
| WeChat Official Accounts | accountPosts | wechat_mp.accounts.articles.list |
$0.02 per call · about 10 articles per page | id |
| WeChat Official Accounts | postMetrics | wechat_mp.articles.metrics |
$0.02 per call | url |
| WeChat Official Accounts | post | wechat_mp.articles.get |
$0.02 per call | url |
| WeChat Official Accounts | comments | wechat_mp.articles.comments.list |
$0.02 per call · about 20 comments per page | url |
How to call it
Over MCP (when the okdata server https://api.okdata.online/mcp is connected). The tools:
find(free, no key): Describe the data you need in words; get up to five capabilities with what they need, the price and a ready call. It never offers another platform in place of the one asked for.describe(free, no key): Read the full contract of one to five capabilities: parameters, links taken, price and the most a call can cost, paging, fields and an example item.call(the capability’s price, needs the key): Fetch one page of data as text: the first lines say what it cost, the balance left and how to get the next page. max_price caps a call.read_more(free, needs the key): Read the rest of an answer that was cut at about 20 KB, or the same result in another view, for 24 hours.account(free, no key): Balance and the key’s spending limits, a receipt for one call, usage by day or capability; which capabilities are up, even without a key.
Use describe when unsure of a parameter. A call looks like this (wechat_mp.accounts.articles.list, $0.02 per call · about 10 articles per page):
{
"name": "call",
"arguments": {
"capability": "wechat_mp.accounts.articles.list",
"id": "gh_363b924965e9"
}
}
Over HTTP (no MCP): the path is the endpoint id with dots as slashes under https://api.okdata.online/v1, parameters go in the query string and the key comes from OKDATA_API_KEY, never from the chat:
curl -G "https://api.okdata.online/v1/wechat_mp/accounts/articles/list" \
-H "Authorization: Bearer $OKDATA_API_KEY" \
--data-urlencode 'id=gh_363b924965e9'
Not connected yet? Follow https://okdata.online/agents.md.
Money and safety
- Before the first paid call, say what you will call and the most it can cost: each endpoint's price × calls (a per-item endpoint at its per-call cap). Ask before going past 40 calls in one run.
- One call returns one page. A next page is a new paid call: pass
page.next_cursorback ascursor(opaque, valid untilpage.cursor_expires_at: 24 hours on most endpoints, less on a few; same endpoint and parameters on
Установить 公众号文章监控与导出 okdata в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл 公众号文章监控与导出 okdata?
What did these Official Accounts publish this week, and can I have it all as Markdown? Lists the new articles of each WeChat Official Account you name over the past days, with reads and likes where WeChat gives them; exports the articles you pick as Markdown with their comments; then sums it up per account as a weekly report. Use when the user asks this about WeChat Official Accounts. 这些公众号这周发了什么?能不能全文导出来?列出你给的每个公众号这几天发的新文章,带上阅读和点赞(有的话);把选中的文章全文导出成 Markdown,评论有的话一起带上;最后按号汇总成一份周报。
Как установить скилл 公众号文章监控与导出 okdata?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл 公众号文章监控与导出 okdata запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
docx
Use this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
от AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
от Anthropicxlsx
Use this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
от Anthropicpptx
Use this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…
от Anthropic