تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

url-fetcher

بواسطة johstracke

Web & Frontend Development
1.1kالتنزيلات وفق ما يذكره clawskills.sh
0المشاهدات
لا إعجاباتسجّل الدخول للإعجاب بهذه المهارة
—لم يُقيَّم بعد
تقييمك

موجز

Simple web content fetching without API keys or external dependencies.

الوصف

ما الذي تفعله هذه المهارة

Fetches web content using Python's standard library with no external dependencies or API keys. Supports HTML retrieval, basic HTML-to-markdown conversion, and safe file writes with path and URL validation built in.

No API key, no pip installs, and no cost make it the fastest way to add web fetching to an agent workflow with zero setup.

متى تستخدمها

  • Saving articles to local markdown files for offline reading
  • Batch-downloading documentation pages into a workspace folder
  • Extracting plain text from blog posts for further processing
  • Previewing raw HTML of a URL before deciding to save it
  • Collecting multiple research pages into organized local files

مثال على سير العمل

الإدخال

User asks: fetch this article and save it as markdown to my workspace

الوكيل
  1. 1

    Validates the URL is http/https and not localhost or internal

  2. 2

    Runs url_fetcher.py fetch --markdown <url> ~/workspace/article.md

  3. 3

    Checks the output path is within allowed directories

  4. 4

    Writes converted markdown content to the specified file

الإخراج

Markdown file saved at ~/workspace/article.md with HTML tags stripped and content converted to plain text

التثبيت

clawhub install johstracke/url-fetcher

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط