Skip to content
Agentmart
Submit a tool

filescom-automations

An Automation is an automated process of controlling workflows on your Files.com site.

Skill by Files-com

IndexedMIT★ 46
Write a review

Install

Works with Claude Code, Claude apps, Codex, Cursor, Gemini CLI, GitHub Copilot, VS Code, OpenCode, Goose, Windsurf. Read the repository before you give any tool access to your data.

npx agentmarket install skill/files-com-filescom-automations

Asks which of your tools to add it to (Claude Code, Codex, Cursor, VS Code, Windsurf, Gemini CLI, Claude Desktop) and shows the change first. See https://agentmart.dev/cli.

Get the weekly diff

The weekly diff: one email a week with new agent tools, notable updates and grade changes, plus security alerts for tools you follow. Double opt-in, one-click unsubscribe.

We use your email only for this newsletter. Privacy

About

An Automation is an automated process of controlling workflows on your Files.com site.

No reviews yet. Installed it? Reviews come from verified installers only. How reviews work

Permissions

What this skill can do and what it asks for, from its SKILL.md and code. Checked Oct 25, 2026.

Tools
No tools found
Secrets
None asked for
Install scripts
None found

Network hosts it talks to 1

  • codeload.github.com · found in install command

Files it touches

  • ~/.claude/skills/filescom-automations

What's inside

Skill name
filescom-automations
Description
An Automation is an automated process of controlling workflows on your Files.com site.
License
MIT
Instructions
358 lines in SKILL.md · view on GitHub

Files (1)

  • SKILL.md

SKILL.md (first lines)

# filescom-automations

An Automation is an automated process of controlling workflows on your Files.com site.

Automations are different from Behaviors because Behaviors are associated with a current folder, while Automations apply across your entire site.

Automations are never removed when folders are removed, while Behaviors are removed when the associated folder is removed.

## Path Matching

The `path` attribute specifies which folders this automation applies to.
It gets combined with the `source` attribute to determine which files are actually affected by the automation.
Note that the `path` attribute supports globs, and only refers to _folders_.
It's the `source` attribute, which also supports globs, combined with the `path` attribute that determines which files are affected, and automations only operate on the files themselves.
Additionally, paths in Automations can refer to folders which don't yet exist.

### Path Globs

Although Automations may have a `path` specified, it can be a glob (which includes wildcards), which affects multiple folders.

`*` matches any folder at that level of the path, but not subfolders.  For example, `path/to/*` matches `path/to/folder1` and `path/to/folder2`, but not `path/to/folder1/subfolder`.

`**` matches subfolders recursively.  For example, `path/to/**` matches `path/to/folder1`, `path/to/folder1/subfolder`, `path/to/folder2`, `path/to/folder2/subfolder`, etc.

`?` matches any one character.

Use square brackets `[]` to match any character from a set. This works like a regular expression, including negation using `^`.

Curly brackets `{}` can be used to denote parts of a pattern which will accept a number of alternatives, separated by commas `,`.
These alternatives can either be literal text or include special characters including nested curly brackets.
For example `{Mon,Tue,Wed,Thu,Fri}` would match abbreviated weekdays, and `202{3-{0[7-9],1?},4-0[1-6]}-*` would match dates from `2023-07-01` through `2024-06-30`.

To match any of the special characters literally, precede it with a backslash and enclose that pair with square brackets. For example to match a literal `?`, use `[\?]`.

Globs are supported on `path`, `source`, and `exclude_pattern` fields. Globs are not supported on remote paths of any kind or for any field.

By default, Copy and Move automations that use globs will implicitly replicate matched folder structures at the destination.  If you want to flatten the folder structure, set `flatten_destination_structure` to `true`.

## Automation Triggers

Automations can be triggered in the following ways:

* `custom_schedule` : The automation will run according to either the reusable Site-level Schedule selected by `schedule_id` or its own custom schedule fields for `days_of_week` (0-based) and `times_of_day`. A time zone may be specified via `time_zone` in Rails TimeZone name format.
* `daily` : The automation will run in a picked `interval`. You can specify `recurring_day` or `recurring_days` to select one or more day numbers inside the interval.
* `webhook` : the automation will run when a request is sent to the corresponding webhook URL.
* `action` : The automation will run when a specific action happens, e.g. a file is created or downloaded.

Future enhancements will allow Automations to be triggered by an incoming email, or by other services.

Currently, all Automation types support all triggers, with the following exceptions: `Create Folder` and  `Run Remote Server Sync` are not supported by the `action` trigger.

Automations can be triggered manually if trigger is not set to `action`.

## Destinations

The `destinations` parameter is a list of paths where files will be copied, moved, or created. It may include formatting parameters to dynamically determine the destination at runtime.

### Relative vs. Absolute Paths

In order to specify a relative path, it must start with either `./` or `../`. All other paths are considered absolute. In general, leading slashes should never be used on Files.com paths, including here. Paths are interpreted as absolute in all contexts, even without a leading slash.

### Files vs. Folders

If the destination path ends with a `/`, the filename from the source path will be preserved and put into the folder of this name.  If the destination path does not end with a `/`, it will be interpreted as a filename and will override the source file's filename entirely.

### Formatting Parameters

**Action-Triggered Automations**

* `%tf` : The name of the file that triggered the automation.
* `%tp` : The path of the file that triggered the automation.
* `%td` : The directory of the file that triggered the automation.
* `%tb` : The name of the file (without extension) that triggered the automation.
* `%te` : The extension of the file that triggered the automation.

For example, if the triggering file is at `path/to/file.txt`, then the automation destination `path/to/dest/incoming-%tf` will result in the actual destination being `path/to/dest/incoming-file.txt`.

**Parent Folders**

To reference the parent folder of a source file, use `%p1`, `%p2`, `%p3`, etc. for the first, second, third, etc. parent folder, respectively.

To reference path components from the root downward, use `%P1`, `%P2`, `%P3`, etc. for the first, second, third, etc. path component, respectively.

For example, if the source file is at `accounts/file.txt`, then the automation destination `path/to/dest/%p1/some_file_name.txt` will result in the actual destination being `path/to/dest/accounts/some_file_name.txt`.

If the source file is at `partner/app/team/inbound/file.txt`, then the automation destination `path/to/dest/%P1/%P3/%P4/file.txt` will result in the actual destination being `path/to/dest/partner/team/inbound/file.txt`.

**Source File Name**

To reference the name of the source file being processed, use the following tokens:

* `%Ff` : The name of the source file, with extension.
* `%Fb` : The name of the source file, without extension.
* `%Fe` : The extension of the source file.
* `%Fl` : The name of the source file, with extension, converted to lowercase.
* `%Fn` : The name of the source file, without non-alphanumeric characters, with extension.
* `%Fp` : The name of the source file, with extension, spaces removed, lowercase, non-ASCII normalized.

For example, if the source file is `Daily Report.xlsx` and the destination is `archive/%Y-%m-%d/%Fb.xlsx`, the resolved destination will be `archive/2024-01-15/Daily Report.xlsx`.

**Dates and Times**

* `%Y`  : The current year (4 digits)
* `%m`  : The current month (2 digits)
* `%B`  : The current month (full name)
* `%d`  : The current day (2 digits)
* `%H`  : The current hour (2 digits, 24-hour clock)
* `%M`  : The current minute (2 digits)
* `%S`  : The current second (2 digits)
* `%z`  : UTC Time Zone (e.g. -0900)

For example, if the current date is June 23, 2023 and the source file is named `daily_sales.csv`, then the following automation destination `path/to/dest/%Y/%m/%d/` will result in the actual destination being `path/to/dest/2023/06/23/daily_sales.csv`.

### Replacing Text

To replace text in the source filename, use the `destination_replace_from` and `destination_replace_to` parameters. This will perform a simple text replacement on the source filename before inserting it into the destination path.

For example, if the `destination_replace_from` is `incoming` and the `destination_replace_to` is `outgoing`, then `path/to/incoming.txt` will translate to `path/to/outgoing.txt`.

From Files-com/files-cli, MIT.

More from Files-com/files-cli

Signals

Stars
46
Forks
4
Open issues
0
Last commit (this folder)
Sep 24, 2026 (1 month ago)
Last release
Oct 23, 2026 (6 days ago)

From GitHub (fetched Oct 24, 2026).

Details

License
MIT
First seen
Oct 24, 2026
Last checked
Oct 24, 2026

More from Files-com

Cite this page

filescom-automations skill. Agent Mart. https://agentmart.dev/skills/files-com-filescom-automations (last updated 2026-10-24)