AGENT SKILL

scrape-tools

Use when a task needs structured data extracted from web pages or HTML files - CSS/XPath selection, TLS-impersonated fetching, adaptive selectors that survive markup churn. Routes to extensions/scrape-tools.

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
scrape-tools
triggers
[ "user", "model" ]
description
Use when a task needs structured data extracted from web pages or HTML files - CSS/XPath selection, TLS-impersonated fetching, adaptive selectors that survive markup churn. Routes to extensions/scrape-tools.

03 SKILL.md 正文

scrape-tools

Extension: extensions/scrape-tools/ (installed to %APPDATA%\devin\extensions\scrape-tools\).

When to use

  • Extract data from saved HTML -> parse.py (offline, zero network).
  • Fetch + extract in one step -> scrape.py (curl_cffi, TLS impersonation, SSRF-safe redirects on).
  • Selector rot expected (sites that reshuffle classes) -> --adaptive.
  • JS-rendered or bot-walled targets -> --browser dynamic|stealthy, but ONLY after the user has run python -m scrapling.cli.install themselves.

When NOT to use

  • Credential scraping, auth-bypass crawling, ToS-violating targets - refuse.
  • "Undetectable" promises - not supported; enterprise WAFs still block.
  • API endpoints that exist - prefer the real API over scraping HTML.
  • XML feeds - parser is HTML-only.

Commands

PARSE:  .venv/Scripts/python parse.py <file|-> --css SEL [--first]
SCRAPE: .venv/Scripts/python scrape.py <url> --css SEL [--impersonate chrome] [--adaptive]
BROWSER:.venv/Scripts/python scrape.py <url> --css SEL --browser stealthy
        # fails closed with feature_off:browser_tier_not_installed until
        # user runs: .venv/Scripts/python -m scrapling.cli.install

All output is JSON on stdout; exit!=0 with {"ok":false,"error":...} on failure.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0