# Archive

> Skill `archive` on Faro. 3 sub-skills.

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.

**Category:** Documents  
**Tags:** zip, unzip, archive, 7z, compress  
**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.  
**Returns:** file — Packing returns one downloadable zip. Extraction returns each file as its own download. Listing returns the entry names and sizes only, no files.

## How to run
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. Raw tools are internal plumbing and are not directly callable.

```
POST https://skill.askfaro.com/skills/archive/run
Authorization: Bearer faro_<your_key>
Content-Type: application/json

{"intent":{"prompt":"Bundle these three files into a zip called reports.zip"}}
```

Or from the CLI:

```bash
pip install askfaro-cli && askfaro auth login
askfaro run archive "Bundle these three files into a zip called reports.zip"
```

Full run reference: https://askfaro.com/llms/run.md — Agent recipe: https://askfaro.com/llms/skill.md

## Example requests

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

## Sub-skills

### Create a zip

Packs a set of files into one downloadable zip archive.

**Cost:** ~1 credits / megabyte (up to 100) — Priced at 0.5 credits per MB of the files packed; a large bundle costs more.

**Use when:** You want to bundle several files into a single download.

**Details:** https://askfaro.com/llms/skills/archive/zip.md

---

### List contents

Lists the entries in a zip or 7z archive without extracting.

**Cost:** ~1 credits / megabyte (up to 100) — Priced at 0.5 credits per MB of the compressed archive, the cheap way to inspect before extracting.

**Use when:** You want to see what is inside an archive, or preview it before extracting.

**Details:** https://askfaro.com/llms/skills/archive/list.md

---

### Extract files

Extracts every file from a zip or 7z archive.

**Cost:** ~2 credits / megabyte (up to 250) — Priced at 0.5 credits per MB of the extracted contents, which can exceed the compressed size.

**Use when:** You want the actual files out of an archive.

**Details:** https://askfaro.com/llms/skills/archive/unzip.md

---

---
On the web: https://askfaro.com/search/archive