---
name: pcd-to-docx
description: "Convert .pcd files to .docx on this computer with Filestar (filestarcli). Use when the user wants a .pcd file as .docx, or asks to convert, export or open .pcd files as .docx. Runs in Filestar's cloud and needs a Filestar plan. Example request: \"Convert the PCD files in my Downloads folder to DOCX\"."
---

# Convert .pcd to .docx 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 photo.pcd -c "convert to docx" --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 photo.pcd -c "convert to docx" --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 photo.pcd --json`: the file type Filestar sees, and why. No network, nothing converted.
2. `filestarcli skills describe "convert to docx" -i photo.pcd --json`: the skill's parameters, their types and defaults.
3. `filestarcli -i photo.pcd -c "convert to docx" --json --user-agent <agent>/<version>`: runs it.

## Rules

- This skill runs in Filestar's cloud: the file is uploaded, converted and downloaded, and a Filestar plan is needed. Ask the person before you run it, and never pass `--cloud Forced` unless they asked for 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/pcd/convert-pcd-to-docx
- 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
