agentsclimarketplace

Clipsmith web

Skill OctopusGarage/clipsmith/skills/clipsmith-web

Capture a generic web article into a Clipsmith bundle using browser or fetch-based extraction available to the agent.From its SKILL.md

Install
npx -y skills add OctopusGarage/clipsmith --skill clipsmith-web

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • 0 stars0 stars. Stars are a popularity signal and not a quality one, but at this level it is likely that nobody has read this closely except its author, and you would be relying on your own review.

SKILL.md

4.4 KB, ~1.1k tokens by cl100k_base, as published. Nobody here has run it

Clipsmith Web Capture

Use this skill for generic web pages when no platform-specific Clipsmith skill matches.

Run the bundled browser extractor first:

cd /Users/kingsonwu/programming/OctopusGarage/clipsmith/skills/clipsmith-web
npx tsx scripts/run.ts \
  --url "<url>" \
  --output_dir "$HOME/Downloads/clipsmith-web"

Use --preserve_full_raw only when debugging a difficult capture or when the user explicitly asks for a fuller raw archive. The default output intentionally keeps raw evidence small.

The script creates a draft bundle directory containing:

  • capture.json
  • post.md
  • summary.md
  • raw/source.html
  • raw/rendered.txt
  • raw/metadata.json

AI Normalization Step

After the script finishes, read prompts/extract-article.md, then inspect the bundle's raw/source.html, raw/rendered.txt, and raw/metadata.json.

Use the current AI session to rewrite post.md into clean, complete article Markdown:

  • remove site chrome, navigation, cookie banners, newsletter prompts, related links, social sharing labels, and footer text
  • preserve the full article body in order
  • preserve article headings, lists, quotes, code blocks, tables, and meaningful links
  • improve title, canonical_url, author, and published_at in capture.json only when the raw evidence supports the change
  • keep raw audit files declared in capture.json.assets

Do not invent article text. If the raw files contain only a bot challenge, login wall, error page, or a short/ambiguous fragment, keep the bundle partial or stop and report the condition instead of fabricating content.

Eval Step

After normalization, run the bundle validator and the local web capture eval when the URL matches a known profile:

uv run clipsmith validate-bundle "<bundle_dir>" --json
cd /Users/kingsonwu/programming/OctopusGarage/clipsmith/skills/clipsmith-web
node scripts/eval.mjs --bundle_dir "<bundle_dir>" --profile "<profile>"

Known profiles:

  • anthropic-building-effective-agents for https://www.anthropic.com/engineering/building-effective-agents
  • openai-core-dump-epidemiology for https://openai.com/index/core-dump-epidemiology-data-infrastructure-bug/
  • kingson-agent-runtime-skill-ai for https://kingson4wu.github.io/zh/posts/20260328-agent-agent-runtime-skill-ai/

The kingson-agent-runtime-skill-ai profile is a user-owned fixture that guards Chinese article cleanup, heading preservation, table formatting, summary quality, and removal of blog chrome such as tags, share controls, and repeated table-of-contents text.

For URLs without a matching deterministic profile, still read prompts/evaluate-article.md and perform the AI eval checklist against post.md, summary.md, capture.json, raw/rendered.txt, and raw/metadata.json. Do not report a bundle ready if validator fails, local eval fails, or AI eval finds missing article sections, unsupported metadata, or remaining page chrome.

When maintaining this skill or adding another article-like provider, also follow the guardrail in prompts/evaluate-article.md and compare known profiles with the source-repo baselines in evals/ai-evals/ when they are present. Packaged skill installs may omit eval fixtures and baselines. The final response must include its required Web capture AI eval: PASS|FAIL report when that guardrail applies.

Bundle Contract

capture.json must use schema clipsmith.capture_bundle.v1, platform web, the source URL, relative content file references, declared raw audit assets, warnings, and status. Final web bundles may contain only:

  • capture.json
  • post.md
  • summary.md
  • raw/source.html
  • raw/rendered.txt
  • raw/metadata.json
  • optional raw/source.full.html.gz
  • optional raw/page.mhtml
  • optional ocr.md/ocr.txt when OCR text was produced
  • separate OCR image files for image OCR captures

If OCR ran at any point, write the raw OCR transcript to ocr.md or ocr.txt and declare it in capture.json.content_files with kind: "ocr-text"; do not store OCR text only inside summary.md.

Before reporting success, always run:

uv run clipsmith validate-bundle "<bundle_dir>" --json

Do not write knowledge records. If the page is login-gated, rate-limited, or blocked by bot protection, stop and report the condition instead of fabricating content.

What ships with it: 17 files

55.4 KB alongside SKILL.md, 3 of them executable

agents/

scripts/

tests/

Keep looking

Skills are one crate of 326,144. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.