Index of every page on this site: llms.txt
All skills
crawlio-app avatar

/extract-and-export

@ef8fa35
Run it yourself

Use this skill when the user asks to "download and export a site", "crawl and extract content", "archive a website", "export as WARC/ZIP/PDF", or wants a complete crawl-extract-export pipeline. Crawls the site, extracts structured content, and exports in the requested format.

Use this Skill: https://skilld.dev/gh/crawlio-app/crawlio-plugin/extract-and-export

Nothing lands on disk. Nothing to clean up.

Fork this Skill

Edit a local copy. It keeps the author and licence.

SKILL.md

≈74 tokens for metadata: the name and description. ≈880 when used: this file.

Description uses 3.7% of example budget

Before choosing a Skill, your Agent reads its name and description. All available Skills share that space.

  • A shorter description leaves more room for other Skills. This entry exceeds our 1% size suggestion.

In our Claude Code example, all Skill names and descriptions share 8,000 characters. This Skill uses ≈297 characters, or 3.7%.

The 1% threshold is a size suggestion. Longer descriptions can still fit.

Your model, settings, and other Skills decide how much text your Agent can read.

Example settings and source

The example uses a 200k-token context and default Claude Code settings. The count includes the name, description, separators, and when_to_use when present. Codex also counts local file paths.

Skit's source and limits: Codex 0.160.1, Claude Code 2.1.292.

extract-and-export

Complete crawl-extract-export pipeline. Crawls a site, extracts structured content (clean HTML, markdown, metadata, asset manifests), and exports in any of 7 formats.

When to Use

Use this skill when the user wants to download a site AND get usable output — not just a raw crawl, but extracted content ready for consumption, archival, or deployment.

For crawl-only workflows (no extraction or export), use crawl-site instead.

Arguments

  • $0 (required): The URL to crawl
  • $1 (optional): Maximum crawl depth (default: 3)
  • $2 (optional): Export format (default: folder)

Export Formats

Format Description
folder Mirror on disk with original directory structure
zip Compressed archive, ready to share
singleHTML All assets inlined into a single HTML file
warc ISO 28500 web archive standard
pdf Rendered pages as portable document
extracted Structured data only — clean HTML, markdown, metadata, no raw assets
deploy Production-ready bundle with crawl-manifest.json

Workflow

1. Configure Settings

update_settings({
  settings: {
    maxConcurrent: 4,
    crawlDelay: 0.5,
    stripTrackingParams: true
  },
  policy: {
    scopeMode: "sameDomain",
    maxDepth: $1 or 3,
    respectRobotsTxt: true,
    includeSupportingFiles: true,
    downloadCrossDomainAssets: true,
    autoUpgradeHTTP: true
  }
})

Adjust based on site size:

  • Small site (<100 pages): maxDepth: 10, maxConcurrent: 8
  • Medium site (100-1000): maxDepth: 5, maxConcurrent: 4
  • Large site (1000+): maxDepth: 3, maxPagesPerCrawl: 500

2. Start the Crawl

start_crawl({ url: "$0" })

3. Monitor Progress

Poll get_crawl_status with since parameter for efficient change detection:

get_crawl_status()
// Returns: seq: 42, downloaded: 85/150

get_crawl_status({ since: 42 })
// Returns: "No changes" or updated status

4. Check for Issues

After crawl completes:

get_failed_urls()     // Any failures to retry?
get_errors()          // Any engine errors?

Retry transient failures:

recrawl_urls({ urls: ["https://example.com/failed-page"] })

5. Review What Was Downloaded

get_site_tree()       // File structure overview
get_downloads()       // Detailed download info with content types

6. Extract Content

extract_site()

This runs the extraction pipeline and produces per-page artifacts:

  • Clean HTML (tracking scripts removed)
  • Markdown conversion
  • Metadata (title, description, headings, links)
  • Asset manifests

Poll get_extraction_status if the extraction takes time.

7. Export

export_site({ format: "$2" or "folder" })

Poll get_export_status for large exports.

8. Report Results

Summarize:

  • Crawl: Total pages discovered, downloaded, failed
  • Extraction: Pages processed, artifacts created
  • Export: Format, location, file size
  • Issues: Any errors or notable findings

Tips

  • For archival workflows, use warc — it's the ISO standard and preserves full HTTP headers
  • For AI consumption, use extracted — just the structured data, no raw assets
  • For sharing, use zip — compressed and portable
  • For deployment, use deploy — includes crawl-manifest.json with full metadata
  • For large sites, set maxPagesPerCrawl to avoid runaway crawls
  • Save the project after export for future reference: save_project({ name: "example.com export" })

Source: SKILL.md on GitHub

No rule matched.

skilld matched fixed text patterns in SKILL.md and file names. Patterns miss obfuscated code.

skilld run checks every file with the same patterns. It asks for approval before it loads a Skill with a behavior marked Needs approval.

1 alert8mo4 checks · Risk SAFE
  • Gen Agent Trust Hub8mo

    The 'extract-and-export' skill is a legitimate utility for crawling and archiving websites. It defines a transparent workflow for downloading site content, extracting structured data, and exporting it in various formats. No security vulnerabilities or malicious patterns were detected.

  • Socket8mo

    1 alert: obfuscatedFile

  • Snyk8mo

    Risk: MEDIUM · No issues

  • Runlayer8mo

    1 file scanned · No issues

Signed by skilld at ef8fa35. This ties the file your Agent reads to that commit on GitHub. It does not review the instructions.

Last checked against GitHub 2 months ago.

Dormantupdated 7 months ago
argument-hint
<url> [maxDepth] [format]
version
2.0.0

README badge

README badge for crawlio-app/crawlio-plugin/extract-and-export