filescom-files

SkillFiles & storage

A File object represents a file or folder on your Files.com site. The type field is file for files and directory for folders.

Use filescom-files in Claude, ChatGPT or Ahel Desktop

Free. Sign in, add filescom-files and connect your AI. About a minute.

Also: Claude Code · Cursor · Codex

Then ask your AI: use the filescom-files skill

Details

Instructions available. Your AI can read the instructions. Execution depends on the setup they require.

Add Ahel to your AI once: Claude, ChatGPT, Cursor, Claude Code or Codex. Then ask it to use this.

filescom-filesStart free

What this skill tells your AI

The instructions your AI receives, as published by files-com/files-cli in skills/filescom-files/SKILL.md and read by Ahel’s review.

A File object represents a file or folder on your Files.com site. The type field is file for files and directory for folders.

All subcommands also accept the flags documented in CONTEXT.md (--api-key, --format, --workspace-id, --debug, and the pagination flags --cursor / --per-page / --max-pages on list). Those are not repeated below.

Commands

files-cli files download [path]

Download File.

FlagTypeDescription
--pathstringPath to operate on. Required.
--preview-sizestringRequest a preview size. Can be small (default), large, xlarge, or pdf.
--with-previewsboolInclude file preview information?
--with-priority-colorboolInclude file priority color information?
--with-direct-connection-infoboolInclude optional direct connection information for a direct Agent transfer attempt?

files-cli files create [path]

Upload File.

FlagTypeDescription
--pathstringPath to operate on. Required.
--custom-metadataobjectCustom metadata map to save when action=end completes the upload. Replaces existing metadata; an empty map clears it. No separate metadata-edit permission is required. Supported on native files and configured remote mounts, excluding remote server automount paths. Limited to 32 keys, 256 characters per key and 1024 characters per value.
--lengthint64Length of file.
--mkdir-parentsboolCreate parent directories if they do not exist?
--partint64Part if uploading a part.
--partsint64How many parts to fetch?
--provided-mtimedatetimeUser provided modification time.
--refstring(no description)
--restartint64File byte offset to restart from.
--sizeint64Size of file.
--copy-behaviorsboolIf copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
--structurestringIf copying folder, copy just the structure?
--with-renameboolAllow file rename instead of overwrite?
--buffered-uploadboolIf true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
--with-direct-connection-infoboolInclude optional direct connection information for a direct Agent transfer attempt?

files-cli files update [path]

Update File/Folder Metadata.

FlagTypeDescription
--pathstringPath to operate on. Required.
--custom-metadataobjectCustom metadata map of keys and values. Limited to 32 keys, 256 characters per key and 1024 characters per value.
--provided-mtimedatetimeModified time of file.
--priority-colorstringPriority/Bookmark color of file.

files-cli files delete [path]

Delete File/Folder.

FlagTypeDescription
--pathstringPath to operate on. Required.
--recursiveboolIf true, will recursively delete folders. Otherwise, will error on non-empty folders.

files-cli files find [path]

Find File/Folder by Path.

FlagTypeDescription
--pathstringPath to operate on. Required.
--preview-sizestringRequest a preview size. Can be small (default), large, xlarge, or pdf.
--with-previewsboolInclude file preview information?
--with-priority-colorboolInclude file priority color information?

files-cli files zip-list-contents [path]

List the contents of a ZIP file.

FlagTypeDescription
--pathstringPath to operate on. Required.

files-cli files copy [path]

Copy File/Folder.

FlagTypeDescription
--pathstringPath to operate on. Required.
--destinationstringCopy destination path. Required.
--copy-behaviorsboolIf copying a folder, also copy supported behaviors, email notification subscriptions, and per-folder branding to the destination folder tree?
--structureboolCopy structure only?
--overwriteboolOverwrite existing file(s) in the destination?

files-cli files move [path]

Move File/Folder.

FlagTypeDescription
--pathstringPath to operate on. Required.
--destinationstringMove destination path. Required.
--overwriteboolOverwrite existing file(s) in the destination?

files-cli files transform [path]

Transform a file and save the output to a destination path.

FlagTypeDescription
--pathstringPath to operate on. Required.
--destinationstringDestination file path for the transformed output. Required.
--transform-typestringTransform type. Supported values are image_convert, document_convert, and files_transform_script_execute. Required.
--target-formatstringDestination format to create. Required.
--scriptstringFiles TransformScript source. Required when transform_type is files_transform_script_execute.
--widthint64Maximum output width for image_convert.
--heightint64Maximum output height for image_convert.
--overwriteboolOverwrite existing file in the destination?

files-cli files gpg-decrypt [path]

Decrypt a GPG-encrypted file and save it to a destination path.

FlagTypeDescription
--pathstringPath to operate on. Required.
--destinationstringDestination file path for the decrypted file. Required.
--gpg-key-ids[]int64GPG Key IDs to decrypt with. If omitted, every accessible private GPG key in the source workspace is used.
--gpg-key-partner-idint64Partner ID whose GPG keys should be used for decryption.
--use-all-private-keysboolUse every accessible private GPG key in the source workspace for decryption.
--ignore-mdc-errorboolIgnore errors from the MDC (modification detection code) check.
--overwriteboolOverwrite existing file in the destination?

files-cli files gpg-encrypt [path]

Encrypt a file with GPG and save it to a destination path.

FlagTypeDescription
--pathstringPath to operate on. Required.
--destinationstringDestination file path for the encrypted file. Required.
--gpg-key-ids[]int64GPG Key IDs to encrypt with.
--gpg-key-partner-idint64Partner ID whose GPG keys should be used for encryption.
--signing-key-idint64Optional GPG Key ID to sign with.
--armorboolOutput ASCII-armored encrypted data.
--overwriteboolOverwrite existing file in the destination?

files-cli files unzip [path]

Extract a ZIP file to a destination folder.

FlagTypeDescription
--pathstringZIP file path to extract. Required.
--destinationstringDestination folder path for extracted files. Required.
--filenamestringOptional single entry filename to extract.
--overwriteboolOverwrite existing files in the destination?

files-cli files zip

Create a ZIP from one or more paths and save it to a destination path.

FlagTypeDescription
--paths[]stringPaths to include in the ZIP. Required.
--destinationstringDestination file path for the ZIP. Required.
--overwriteboolOverwrite existing file in the destination?

files-cli files begin-upload [path]

Begin File Upload.

FlagTypeDescription
--pathstringPath to operate on. Required.
--mkdir-parentsboolCreate parent directories if they do not exist?
--partint64Part if uploading a part.
--partsint64How many parts to fetch?
--refstring(no description)
--restartint64File byte offset to restart from.
--sizeint64Total bytes of file being uploaded (include bytes being retained if appending/restarting).
--with-renameboolAllow file rename instead of overwrite?
--buffered-uploadboolIf true, and the path refers to a destination not stored on Files.com (such as a remote server mount), the upload will be uploaded first to Files.com before being sent to the remote server mount. This can allow clients to upload using parallel parts to a remote server destination that does not offer parallel parts support natively.
--with-direct-connection-infoboolInclude optional direct connection information for a direct Agent transfer attempt?

Signals

GitHub stars
46
Forks
4
Last commit
Oct 2026
Advanced
Item type
skill
Key
filescom-files
Source
github.com/files-com/files-cli