Agent skill

News Extractor

by NanmiCoder in NanmiCoder/skills-agent-proto

新闻站点内容提取。支持微信公众号、今日头条、网易新闻、搜狐新闻、腾讯新闻。当用户需要提取新闻内容、抓取公众号文章、爬取新闻、或获取新闻JSON/Markdown时激活。

Custom licenceAuto-check passedDocuments & Office

Install News Extractor

skills CLI
$ npx skills add NanmiCoder/skills-agent-proto --skill news-extractor -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install NanmiCoder/skills-agent-proto news-extractor --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/NanmiCoder/skills-agent-proto.git skills-src && mkdir -p .claude/skills && cp -r skills-src/.claude/skills/news-extractor .claude/skills/news-extractor && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
news-extractor
GitHub stars
256
Token cost
~854 tokens
SKILL.md length
143 words
Files
17 (incl. scripts, references)
Skills in repo
1
Repo updated
First seen
Licence
Custom licence

At a glance

新闻站点内容提取。支持微信公众号、今日头条、网易新闻、搜狐新闻、腾讯新闻。当用户需要提取新闻内容、抓取公众号文章、爬取新闻、或获取新闻JSON/Markdown时激活。

  • Works in 5 steps: 接收 URL - 用户提供新闻链接 → 平台检测 - 自动识别平台类型 → 内容提取 - 调用对应爬虫获取并解析内容 → …
  • Tasks that involve Markdown
  • SKILL.md covers 支持平台, 依赖安装, 使用方式 and 工作流程, plus 5 more sections
  • Runs Python scripts from its folder; calls uv; reaches mp.weixin.qq.com and toutiao.com

What it does

News Extractor is an agent skill from NanmiCoder/skills-agent-proto. 新闻站点内容提取。支持微信公众号、今日头条、网易新闻、搜狐新闻、腾讯新闻。当用户需要提取新闻内容、抓取公众号文章、爬取新闻、或获取新闻JSON/Markdown时激活。

Its SKILL.md is about 850 tokens, which your agent loads only when the skill is triggered. The skill folder holds 19 other files, including scripts and reference files (for example `references/platform-patterns.md`, `scripts/crawlers/__init__.py` and `scripts/crawlers/base.py`).

It sits in Documents & Office, covering Markdown. The repository describes itself as: 使用 LangChain 1.0 构建的 Skills Agent,演示 Anthropic Skills 三层加载机制的底层原理。

When your agent uses it

  • Tasks that involve Markdown

Example prompts

  • “/news-extractor”

Requirements

  • Python 3

Workflow steps

5 steps, taken from the first numbered list in SKILL.md.

  1. 接收 URL - 用户提供新闻链接
  2. 平台检测 - 自动识别平台类型
  3. 内容提取 - 调用对应爬虫获取并解析内容
  4. 格式转换 - 生成 JSON 和 Markdown
  5. 输出文件 - 保存到指定目录

What it can do on your machine

Read from SKILL.md and the folder at commit 73d8861. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 12 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • uv

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    Hosts in commands or code, which the agent is likely to contact:

    • mp.weixin.qq.com
    • toutiao.com
    • 163.com
    • sohu.com
    • news.qq.com

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names no API keys, tokens, secrets or passwords.

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

News Extractor loads about 854 tokens when it runs, and up to ~1.8k if it reads all its reference files. Until then it costs about 25 tokens; SKILL.md has 143 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~25
When it runs · the whole SKILL.md, loaded when a task matches
~854
With references · SKILL.md plus every file in references/, read only if the agent opens them
~1.8k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check passed

The automated check found no risky patterns in SKILL.md.

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

Its licence (Custom licence) doesn't allow us to republish the file, so here is its outline and opening line. It has 143 words (~854 tokens).

name
news-extractor

Read the full SKILL.md on GitHub

Files

SKILL.md and 16 other files (scripts, references) in .claude/skills/news-extractor of NanmiCoder/skills-agent-proto.

  • SKILL.md
  • .gitignore
  • pyproject.toml
  • references/platform-patterns.md
  • scripts/crawlers/__init__.py
  • scripts/crawlers/base.py
  • scripts/crawlers/fetchers.py
  • scripts/crawlers/netease.py
  • scripts/crawlers/sohu.py
  • scripts/crawlers/tencent.py
  • scripts/crawlers/toutiao.py
  • scripts/crawlers/wechat.py
  • scripts/detector.py
  • scripts/extract_news.py
  • scripts/formatter.py
  • scripts/models.py
  • uv.lock

Open the folder on GitHubat commit 73d8861

Compare with similar skills

News Extractor next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

News Extractor compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
News Extractor this skillNanmiCoder/skills-agent-proto256—~854Automated safety check: PassCustom licence
Markdown Article FormatterJimLiu/baoyu-skills26k7 repos~3.5kAutomated safety check: PassMIT
MarkitdownImCa0/just-laws78114 repos~3.2kAutomated safety check: NotesMIT
Obsidian MarkdownAtmosphere/atmosphere3.8k20 repos~1.3kAutomated safety check: PassApache-2.0
Gzh Designisjiamu/gzh-design-skill3.9k1 repos~2.2kAutomated safety check: PassAGPL-3.0
Crosspostingwasp-lang/wasp19k—~1.1kAutomated safety check: PassMIT

Similar skills

  • Markdown Article Formatter

    JimLiu/baoyu-skills

    Reformats plain text or Markdown articles with frontmatter, a title, a summary, headings, bold, lists and code blocks, and saves a separate formatted copy.

    26k GitHub starsUsed in 7 repos~3.5k tokens
    Documents & OfficeAuto-check passed
  • Markitdown

    ImCa0/just-laws

    Convert files and office documents to Markdown. An agent skill from ImCa0/just-laws.

    781 GitHub starsUsed in 14 repos~3.2k tokens
    Documents & OfficeAuto-check: notes
  • Obsidian Markdown

    Atmosphere/atmosphere

    Create and edit Obsidian Flavored Markdown with wikilinks, embeds, callouts, properties, and other Obsidian-specific syntax.

    3.8k GitHub starsUsed in 20 repos~1.3k tokens
    Documents & OfficeAuto-check passed
  • Gzh Design

    isjiamu/gzh-design-skill

    微信公众号文章排版引擎,将 Markdown 转换为可直接粘贴到公众号编辑器的 HTML。主题风格从 references/theme-index.md 注册的自定义主题库中选取,自动章节编号、关键词下划线标记、引言卡片、目录导航、代码块、图片/GIF、作者签名。支持 Markdown / Word(.docx) / PDF / 纯文本输入(非 Markdown…

    3.9k GitHub starsUsed in 1 repo~2.2k tokens
    Documents & OfficeAuto-check passed
  • Crossposting

    wasp-lang/wasp

    Crosspost Wasp blog articles (MDX) to DEV.to and Medium. An agent skill from wasp-lang/wasp.

    19k GitHub stars~1.1k tokensUpdated today
    Documents & OfficeAuto-check passed
  • Review The Docs

    supabase/supabase

    Official

    Review Supabase docs changes locally in your supabase/supabase checkout — either an open PR (triage, classify, verify) or your own branch before opening a PR (local self-review).

    111k GitHub stars~4.6k tokensUpdated today
    Documents & OfficeAuto-check passed

Questions about News Extractor

What does News Extractor do?

新闻站点内容提取。支持微信公众号、今日头条、网易新闻、搜狐新闻、腾讯新闻。当用户需要提取新闻内容、抓取公众号文章、爬取新闻、或获取新闻JSON/Markdown时激活。. News Extractor is an agent skill from NanmiCoder/skills-agent-proto.

When should I use News Extractor?

News Extractor fits situations like: tasks that involve Markdown.

How do I install News Extractor in Claude Code?

Run `npx skills add NanmiCoder/skills-agent-proto --skill news-extractor -a claude-code`. Or copy the skill folder (.claude/skills/news-extractor in NanmiCoder/skills-agent-proto) into .claude/skills/news-extractor in your project. Claude Code loads it when a task matches its description.

How do I install News Extractor in Codex?

Run `npx skills add NanmiCoder/skills-agent-proto --skill news-extractor -a codex`. Or copy the skill folder (.claude/skills/news-extractor in NanmiCoder/skills-agent-proto) into .agents/skills/news-extractor in your project. Codex loads it when a task matches its description.

Can I use News Extractor in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add NanmiCoder/skills-agent-proto --skill news-extractor -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/news-extractor, .gemini/skills/news-extractor, .github/skills/news-extractor and .opencode/skills/news-extractor in your project.

What does News Extractor need to run?

Going by SKILL.md and its folder, News Extractor needs Python for the scripts in its folder and the command-line tools its instructions call (uv). Our summary lists: Python 3.

Does News Extractor access the network?

SKILL.md names 5 domains. In commands or code: mp.weixin.qq.com, toutiao.com, 163.com, sohu.com and news.qq.com; the agent is likely to contact these when it follows the instructions. This is read from the text; nothing was executed.

Is News Extractor safe to install?

Our automated static check of SKILL.md found no risky patterns, such as piping downloads into a shell, reading credential files or hidden Unicode. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does News Extractor use?

News Extractor has a licence file (the repository's licence) that doesn't match a standard licence. Read it on GitHub before reusing the skill.

How many tokens does News Extractor use?

About 854 tokens (SKILL.md is roughly 3.4k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 924 tokens, read only when the agent opens those files.

What are the alternatives to News Extractor?

Skills that share tags, products or a category with News Extractor: Markdown Article Formatter (JimLiu/baoyu-skills, 26k stars), Markitdown (ImCa0/just-laws, 781 stars), Obsidian Markdown (Atmosphere/atmosphere, 3.8k stars) and Gzh Design (isjiamu/gzh-design-skill, 3.9k stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains News Extractor?

NanmiCoder (a GitHub user) maintains it in NanmiCoder/skills-agent-proto, which has 256 GitHub stars. The repository was last updated on May 2, 2026.

Source: NanmiCoder/skills-agent-proto on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.