← All skills

Archive

Your agent can't zip or unzip files in its sandbox; this creates and extracts zip and 7z archives.

Documents

Packs files into a zip archive, extracts files from a zip or 7z archive, or lists an archive's contents without extracting. Use this to bundle files into a single download, open an archive you received, or preview what is inside before committing to a full extraction.

Use when

You need to bundle files into one download, unpack an archive, or see what is inside one.

Not for

tar, gz, or rar archives, creating 7z files, password-protected archives, or converting file formats.

What you can do

Each is a sub-skill of Archive; the router picks the right one for your request.

What you get back

file

Packing returns one downloadable zip. Extraction returns each file as its own download. Listing returns the entry names and sizes only, no files.

When it checks with you first

The request could mean extract the files or just list what is inside, and the two are priced differently.

Run it

Skills run through one gateway with your Faro token. Hand it an intent in plain language; Faro routes to the right sub-skill, runs it, and bills per call.

curl -X POST "https://skill.askfaro.com/skills/archive/run" \
  -H "Authorization: Bearer $FARO_TOKEN" \
  -H "Content-Type: application/json" \
  -d '{"intent":{"prompt":"Bundle these three files into a zip called reports.zip"}}'

Example requests

  • Bundle these three files into a zip called reports.zip
  • What files are inside this zip?
  • Extract all files from this zip