url

Use python-slugify to transcribe and normalize messy human titles into safe, repeatable slugs for URLs, filenames, or record IDs; this skill focuses strictly on transcription and normalization, not routing or full publishing workflows.

Installation

Review the source and dependencies with a prompt. A package is available to download.

Install with an AI assistant

Copy the prompt so your assistant can review the pinned revision and dependencies first.

View promptHide prompt
Check whether SkillPI Skill Finder is installed for your current agent. If it is missing, install and enable it using the official instructions at https://github.com/Findskills/skillpi. Then use Skill Finder to locate and install "url" from this exact SkillPI detail page: https://skillpi.com/skills/deepskill-48cd1ee33d414c4ab20d958949c5c78d5eb24f2db82e515bb4735a8731ae8db2. Verify the upstream source and version against https://skillhub.cn/skills/user_3c6cb52e/generate-stable-url-slugs-from-multilingual-titles-before-publishing-pages-docs-or-filenames before installing. If they do not match, stop and report the mismatch. Report the installed path and source version.

Source and setup

skillhub.cn

Setup guidance pending

See the original source for supported tools, dependencies, and permissions.

Installation test pending

Use python-slugify to transcribe and normalize messy human titles into safe, repeatable slugs for URLs, filenames, or record IDs; this skill focuses strictly on transcription and normalization, not routing or full publishing workflows.

0 Downloads

Introduction source: third_party · user_3c6cb52e · 1.0 Reference

SkillPi interpretation

Tasks
Fetch and extract text from web URLs
Audience
Not specified in the source documentation.
Inputs and outputs
Not specified in the source documentation.
Software, accounts and paid services
```bash pip install httpx beautifulsoup4
Limits and differences
Not specified in the source documentation.
Testing
Not tested

Browse files

Browse files at the source ↗

Original SKILL.md

Open original ↗
Frontmatter
name: url
version: "1.0"
description: Fetch and extract text from web URLs
entry:
  script: scripts/main.py
  class: UrlSkill
triggers:
  extensions:
    - "https://"
    - "http://"
  intents:
    - "fetch url"
    - "web page"
    - "website"
requires:
  - httpx
  - beautifulsoup4
author: axoviq.com
license: AGPL-3.0-or-later

URL Skill

Fetches a web URL using httpx, strips navigation/script/style tags with BeautifulSoup, and returns clean body text. PDF URLs are extracted with pypdf (primary) and pdfminer.six (fallback).

Setup

pip install httpx beautifulsoup4

# Optional — needed only if you ingest PDF URLs:
pip install pypdf pdfminer.six

Standalone usage

import asyncio
from synthadoc.skills.url.scripts.main import UrlSkill

skill = UrlSkill()

async def main():
    result = await skill.extract("https://example.com/article")
    print(result.text)          # clean body text
    print(result.metadata)      # {"url": "https://..."}

asyncio.run(main())

DomainBlockedException is raised when the site returns HTTP 401, 403, or 429. Catch it to log and skip the domain:

from synthadoc.skills.base import DomainBlockedException

try:
    result = await skill.extract(url)
except DomainBlockedException as e:
    print(f"Blocked: {e.domain} (HTTP {e.status_code})")

When this skill is used

  • Source starts with https:// or http://
  • User intent contains: fetch url, web page, website

Current listing version

1.0

Verify the source revision ↗

Safety and assessment details

Quality assessment

Out of 100 · Assessment report from SkillPi LAB.

The source report is incomplete. Only provided dimension scores are shown; missing scores are not inferred.

Scenario Value75/100

Highlights

  • 提供网页正文提取功能,适用于内容抓取、信息聚合等高频刚需场景
  • 支持 HTML 和 PDF 两种格式,覆盖常见网页资源类型
Trigger Precision65/100

Areas to improve

  • description 与实际功能不一致 Reported severity: Minor

    description 首句强调 slug 生成,但实际功能为 URL 内容提取,易引发用户误解

    Recommendation: 建议修改 description 首句,准确描述核心功能为提取网页正文文本

Static text checks

100 / 100 · skillpi-20261123-no-r3-v1

No current rules matched the text.

This score reflects rule matches in the text and is provided for reference before use. It excludes attachments and runtime behavior.

Permissions and checks before use

Automatically summarized from this main document. Matches may be examples or defensive advice; they are not actual permission declarations. Attachments, external dependencies and runtime behavior are not covered.

  • Install or fetch external dependencies

    Use official sources and pin versions. Check install scripts in an isolated environment. This document check does not cover code downloaded later.

    Mentioned in main document · lines 32, 35
Domains or addresses referenced in the document

These addresses may be documentation links or examples, not an approved network allowlist. Verify actual destinations and outgoing data before use.

  • ...
  • example.com

These notices grant no permissions. Your host tool must still confirm file changes, secrets, external transfers or costs as needed.

Security rating and access scope

safe · Static evidence review; not a runtime safety guarantee.

```bash pip install httpx beautifulsoup4

Before use, confirm and authorize actual file access, external services and network destinations in your host. This review grants no runtime permissions.