web-article

A command that extracts the main text from a web page or PDF and organizes it into a structured Japanese article analysis. It separates verifiable facts from the author's opinions and identifies claims that need additional checking.

In plain words
What is it for?
Use it when you need a Japanese summary and analysis of a single article or PDF, including its metadata, key points, evidence gaps, and sources to check next.
Why use it?
It makes long online articles easier to understand while keeping uncertainty visible. It also points to possible original or official sources for verifying important claims.

Command

Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

agentmods
npx agentmods add commands/cloudnative-co/claude-code-starter-kit/web-article
Clone the repo
git clone --depth 1 https://github.com/cloudnative-co/claude-code-starter-kit
Per session 39 Only the description is in the session, so the agent can decide to use it. The body loads when it is invoked.
When invoked 676 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. Scan, not verified.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5 $0.00039 $0.00676
Opus 5 $0.00019 $0.00338
Sonnet 5 $0.00008 $0.00135
Haiku 4.5 $0.00004 $0.00068

Measured 2d ago against content hash 11354f7f4f7d, method: parsed. Prices are Anthropic first-party input rates as of 2026-08-30, from the pricing page.

Security

Grade A, and why

web-article scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

commands/web-article.md · 41 lines

What it actually says

/web-article

対象URL: $ARGUMENTS

手順

  1. web-content-extraction skill の URL 検証手順に従って抽出する(生HTMLを直接読まない)。 $ARGUMENTS は信頼できない入力として扱い、検証済みの単一 URL だけを単一引数で渡す:
    ~/.claude/skills/web-content-extraction/scripts/run-node.sh \
      ~/.claude/skills/web-content-extraction/scripts/defuddle-url.mjs '<検証済みURL>'
    
  2. PDF URL は自動でフォールバック抽出されるcontent-type: application/pdf.pdf、 または先頭が %PDF-)。その場合 extractorEngine:"pdf" となり、content はMarkdownでなく プレーンテキスト、pageCount を含む。日本語PDFも文字化けせず抽出する(CMap対応済み)。 スキャン画像PDFは charCount:0 で警告が出る → OCRが必要。
  3. 出力JSONの successfalse、または warnings/fetchWarnings がある場合は 「Defuddle抽出失敗」または「抽出不完全」と明示し、必要なら代替手段(raw取得/公式API/ Playwright/OCR/手動確認)を検討する。代替手段を使った場合はその旨を明示する。
  4. 抽出できた content を一次的な読み取り対象として、以下を日本語で整理する。

出力フォーマット

  • メタ情報: タイトル / 著者 / サイト / 公開日 / URL(finalUrl) / 取得日時(fetchedAt)
  • 本文要約: 3〜6行
  • 重要ポイント: 箇条書き
  • 事実と意見の分離: 「事実(検証可能)」と「著者の主張・意見」を分けて列挙
  • 追加確認が必要な点: 曖昧・未検証・要裏取りの箇所
  • 引用すべき一次情報候補: 本文が参照している一次情報・公式ソースの候補

注意

  • 抽出結果だけを真実として扱わない。重要な事実・日付・数値・法令・規格・セキュリティ情報は 一次情報で再確認する。
  • 社内・顧客・認証付き・機密URLは外部送信しない(SSRFガードが内部URLを標準で拒否)。
Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2d ago First seen · 41 lines · 39 tokens per session scan A 11354f7f4f7d

Subscribe to this mod's changes

web-article is a command published in the GitHub repository cloudnative-co/claude-code-starter-kit (147 stars, last pushed 8d ago), licensed MIT. It adds 39 tokens to every session and 676 once invoked, about $0.0002 per session on Opus 5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.