agentleFS
memgraftermemgrafter/skills-flatagents/website-scraper/SKILL.md

website-scraper

Skill3 starsChanged 8 months agoApache-2.0View on GitHub

Turn a URL into a durable knowledge artifact: searchable markdown summary + local raw text archive, so you can recall it later without revisiting the web.

2 other projects use a version of this.

Adopted by

Most recently taken up by

The file

Files
SKILL.md

Website Scraper

Archive web pages into a personal knowledge base with structured summaries and preserved source text.

Why use it

  • Preserve disappearing pages — keep a local copy before content changes or vanishes
  • Fast recall — read a concise summary instead of re-reading the full page
  • Reliable re-use — raw extracted text is saved for future LLM context
  • Searchable metadata — YAML frontmatter supports filtering/query workflows

When to use

  • Saving tutorials, docs, blog posts, or repo READMEs for later
  • Building a research/reference archive
  • Capturing sources for ongoing project work
  • Converting “read later” links into durable notes

When NOT to use

  • JavaScript-heavy SPAs that require browser rendering
  • Pages behind auth/paywalls/captchas
  • High-volume crawling (this flow is designed for one URL at a time)

Usage

./run.sh "https://example.com/article"

Examples

# Archive a blog post
./run.sh "https://simonwillison.net/2024/Dec/19/one-shot-python-tools/"

# Archive a GitHub README page
./run.sh "https://github.com/SWE-agent/mini-swe-agent"

# Use a custom archive location
DATA_DIR=~/research ./run.sh "https://arxiv.org/abs/2501.09891"

Output

Per URL, the scraper writes:

  • {year}/{date}_{slug}.md — summary + YAML frontmatter
  • {year}/raw/{date}_{slug}.txt — raw extracted text (for LLM context)
  • {year}/README.md — auto-updated index row

How it works

Fetch page → extract clean text (trafilatura) → generate validated summary/frontmatter → save summary + raw text.

Cost: ~0.5 cents/page. Benefit: permanent, searchable, LLM-ready references.

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.