filescom-behaviors

SkillFiles & storage

A Behavior is an API resource for what are also known as Folder Settings.

Use filescom-behaviors in Claude, ChatGPT or Ahel Desktop

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

Also: Claude Code · Cursor · Codex

Then ask your AI: use the filescom-behaviors 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-behaviorsStart free

What this skill tells your AI

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

A Behavior is an API resource for what are also known as Folder Settings. Every behavior is associated with a folder.

Depending on the behavior, it may also operate on child folders. It may be overridable at the child folder level or maybe can be added to at the child folder level. The exact options for each behavior type are explained in the table below.

Each behavior type also has a recursion mode in the behavior type documentation. always means the behavior is always recursive, never means it is never recursive, and sometimes means callers may choose the value of the recursive field.

Additionally, some behaviors are visible to non-admins, and others are even settable by non-admins. All the details are below.

Each behavior uses a different format for its settings value. The accepted fields and an example are shown with each behavior type. In the REST API, send these settings as JSON within the value field.

Note: Append Timestamp behavior removed. Check Override Upload Filename behavior which have even more functionality to modify name on upload.

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 behaviors list

List Behaviors.

FlagTypeDescription
--sort-byobjectIf set, sort records by the specified field in either asc or desc direction. Valid fields are behavior.
--filterobjectIf set, return records where the specified field is equal to the supplied value. Valid fields are clickwrap_id, form_field_set_id, impacts_ui, remote_server_id or behavior. Valid field combinations are [ impacts_ui, behavior ] and [ behavior, remote_server_id ].

files-cli behaviors find

Show Behavior.

FlagTypeDescription
--idint64Behavior ID. Required.

files-cli behaviors list-for [path]

List Behaviors by Path.

FlagTypeDescription
--sort-byobjectIf set, sort records by the specified field in either asc or desc direction. Valid fields are behavior.
--filterobjectIf set, return records where the specified field is equal to the supplied value. Valid fields are impacts_ui and behavior. Valid field combinations are [ impacts_ui, behavior ].
--pathstringPath to operate on. Required.
--ancestor-behaviorsboolIf true, behaviors above this path are shown.

files-cli behaviors create [path]

Create Behavior.

FlagTypeDescription
--valueobjectThis field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
--attachment-filefileCertain behaviors may require a file, for instance, the watermark behavior requires a watermark image. Attach that file here.
--disable-parent-folder-behaviorboolIf true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
--recursiveboolWhether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is sometimes; always behaviors stay recursive and never behaviors stay non-recursive.
--namestringName for this behavior.
--descriptionstringDescription for this behavior.
--pathstringPath where this behavior should apply. Required.
--behaviorstringBehavior type. Required.

files-cli behaviors webhook-test

Test Webhook.

FlagTypeDescription
--urlstringURL for testing the webhook. Required.
--methodstringHTTP request method (GET or POST).
--encodingstringEncoding type for the webhook payload. Can be JSON, XML, or RAW (form data).
--headersobjectAdditional request headers to send via HTTP.
--bodyobjectAdditional body parameters to include in the webhook payload.

files-cli behaviors update

Update Behavior.

FlagTypeDescription
--idint64Behavior ID. Required.
--valueobjectThis field stores data specific to the type of behavior. See The Behavior Types section for the accepted value for each type of behavior.
--attachment-filefileCertain behaviors may require a file, for instance, the watermark behavior requires a watermark image. Attach that file here.
--disable-parent-folder-behaviorboolIf true, disables the inherited behavior for this folder and its children. Valid only for behavior types that child folders may override, and requires recursive to be true. Rejected for all other behavior types.
--recursiveboolWhether the behavior should apply to child folders. This is only configurable for behavior types whose recursion mode is sometimes; always behaviors stay recursive and never behaviors stay non-recursive.
--namestringName for this behavior.
--descriptionstringDescription for this behavior.
--attachment-deleteboolIf true, delete the file stored in attachment.

files-cli behaviors delete

Delete Behavior.

FlagTypeDescription
--idint64Behavior ID. Required.

Signals

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