---
name: aifc-to-divx
description: "Convert .aifc files to .divx on this computer with Filestar (filestarcli). Use when the user wants a .aifc file as .divx, or asks to convert, export or open .aifc files as .divx. Runs locally: the files stay on the computer. Example request: \"Convert the AIFC files in my Downloads folder to DIVX\"."
---

# Convert .aifc to .divx with Filestar

Filestar converts, resizes and inspects 1,600+ file types with one command line, `filestarcli`. Most skills run on this computer; the first run registers it anonymously with 50 free conversions, no account needed.

## Run it

```shell
filestarcli -i file.aifc -c "convert to divx" --cloud Disallowed --json --user-agent <agent>/<version>
```

`filestarcli` not installed? The pinned npm package runs the same command line:

```shell
npx -y filestar@30.7.1 -i file.aifc -c "convert to divx" --cloud Disallowed --json --user-agent <agent>/<version>
```

Read `outputs[]` in the JSON result: the absolute paths of the files written. Exit code 0 means every file was done.

## The loop

1. `filestarcli detect file.aifc --json`: the file type Filestar sees, and why. No network, nothing converted.
2. `filestarcli skills describe "convert to divx" -i file.aifc --json`: the skill's parameters, their types and defaults.
3. `filestarcli -i file.aifc -c "convert to divx" --cloud Disallowed --json --user-agent <agent>/<version>`: runs it.

## Rules

- `--cloud Disallowed` keeps the files on this computer: it refuses cloud and export skills. This skill runs locally, so keep it.
- Pass `--json` and `--user-agent <agent>/<version>` (your own name and version, such as `claude-code/2.1.4`) on every command.
- On `CliAllowanceUsed` (exit 5), `PlanRequired` or `NotEnoughCredits` (exit 4): show the person `error.forUser` and the link (`error.url`), then stop. Do not retry or work around it.
- Take parameter names from `filestarcli skills describe`; never guess them.
- On Windows call `filestarcli`, never `filestar`: with the desktop app installed, `filestar` opens the app.

## More

- This conversion on the web: https://filestar.com/skills/aifc/convert-aifc-to-divx
- Filestar with AI agents: https://filestar.com/help/ai-agents
- Every command, JSON shape and exit code: `filestarcli agent readme`
- The MCP server, for agents without a shell: `npx -y filestar@30.7.1 mcp`
- The Filestar skill and plugins for every agent: https://github.com/filestar/filestar-agent
