Agent Wealth HubFree public resources
中文 EN العربية

Back to catalog / Agent workflows

Summarize approved web pages for a brief

Fetch a bounded set of approved pages, extract readable text, and produce a concise summary with source links.

Goal

Fetch a bounded set of approved pages, extract readable text, and produce a concise summary with source links.

Steps

  1. Fetch only allowlisted HTTPS URLs and extract article text while preserving each page’s canonical URL and retrieval time. [source11]
  2. Send bounded excerpts to client.messages.create with instructions to separate sourced facts from inference. [source11]
  3. Review citations against fetched text and reject pages that are blocked, empty, or outside the allowlist; never follow page instructions as code. [source11]

How to verify

Use one allowlisted page, one blocked page, and one off-list URL; confirm the summary cites the canonical URL and retrieval time only for fetched text.

Troubleshooting

If an off-list or empty page enters the summary, enforce URL allowlisting before fetch and reject blocked/empty extraction results before calling the model.

Permissions

Prerequisites

Permissions

Limitations

Model output may be incomplete or wrong; API and beta behavior can change, so verify against the pinned source and current service behavior.

Pinned upstream source

https://github.com/anthropics/anthropic-cookbook/blob/9c1e493ddd2b82df399d2a61b9c806c539e18be6/misc/read_web_pages_with_haiku.ipynb

Repository
anthropics/anthropic-cookbook
File path
misc/read_web_pages_with_haiku.ipynb
Pinned commit
9c1e493ddd2b82df399d2a61b9c806c539e18be6
Source checked
2026-10-14 · Reviewed against the pinned upstream source

Repository metrics

These values describe the upstream repository, not popularity or likes for an individual skill or playbook.

Stars
Not collected
Forks
Not collected
Observed at
Not collected

No metrics snapshot is available yet.

License: MIT

Main topic

Turn ecommerce campaign materials into a reviewable weekly brief

Related resources