filescom-user-lifecycle-rules
A UserLifecycleRule represents a rule that applies to users based on their inactivity, state and authentication method.
от Files-com★ 47 звёзд на GitHub
Установить filescom-user-lifecycle-rules в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Об этом скилле
filescom-user-lifecycle-rules
A UserLifecycleRule represents a rule that applies to users based on their inactivity, state and authentication method.
The rule either disable or delete users who have been inactive or disabled for a specified number of days.
The authentication_method property specifies the authentication method for the rule, which can be set to "all", "all_non_sso", or a specific authentication method.
The rule can also include or exclude site and folder admins from the action.
A Custom Workspace rule applies only to users who belong to that Workspace. Default Workspace users with access to a Custom Workspace, including Workspace Administrators, remain covered by Default Workspace rules.
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 user-lifecycle-rules list
List User Lifecycle Rules.
| Flag | Type | Description |
|---|---|---|
--sort-by |
object | If set, sort records by the specified field in either asc or desc direction. Valid fields are site_id and workspace_id. |
--filter |
object | If set, return records where the specified field is equal to the supplied value. Valid fields are workspace_id. |
files-cli user-lifecycle-rules find
Show User Lifecycle Rule.
| Flag | Type | Description |
|---|---|---|
--id |
int64 | User Lifecycle Rule ID. Required. |
files-cli user-lifecycle-rules create
Create User Lifecycle Rule.
| Flag | Type | Description |
|---|---|---|
--apply-to-all-workspaces |
bool | If true, a Default Workspace rule also applies to users in all Custom Workspaces. Can only be enabled when workspace_id is 0. |
--authentication-method |
enum | User authentication method for which the rule will apply. Use all_non_sso to target every non-SSO authentication method with one rule. One of: all, password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key, all_non_sso. |
--group-ids |
[]int64 | Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users. |
--inactivity-days |
int64 | Number of days of inactivity before the rule applies |
--include-site-admins |
bool | If true, the rule includes Site Administrators, who always belong to the Default Workspace. Can only be enabled when workspace_id is 0. |
--include-folder-admins |
bool | If true, the rule will apply to folder admins. |
--name |
string | User Lifecycle Rule name |
--notify-users |
bool | If true, users will be emailed before the rule disables or deletes them. |
--partner-tag |
string | If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens. |
--user-state |
enum | State of the users to apply the rule to (inactive or disabled). One of: inactive, disabled. |
--user-tag |
string | If provided, only users with this tag will be affected by the rule. Tags must only contain lowercase letters, numbers, and hyphens. |
--workspace-id |
int64 | Workspace whose users the rule applies to. 0 means the Default Workspace. A Custom Workspace rule applies only to users who belong to that Workspace, regardless of access granted to other users. |
files-cli user-lifecycle-rules update
Update User Lifecycle Rule.
| Flag | Type | Description |
|---|---|---|
--id |
int64 | User Lifecycle Rule ID. Required. |
--apply-to-all-workspaces |
bool | If true, a Default Workspace rule also applies to users in all Custom Workspaces. Can only be enabled when workspace_id is 0. |
--authentication-method |
enum | User authentication method for which the rule will apply. Use all_non_sso to target every non-SSO authentication method with one rule. One of: all, password, sso, none, email_signup, password_with_imported_hash, password_and_ssh_key, all_non_sso. |
--group-ids |
[]int64 | Array of Group IDs to which the rule applies. If empty or not set, the rule applies to all users. |
--inactivity-days |
int64 | Number of days of inactivity before the rule applies |
--include-site-admins |
bool | If true, the rule includes Site Administrators, who always belong to the Default Workspace. Can only be enabled when workspace_id is 0. |
--include-folder-admins |
bool | If true, the rule will apply to folder admins. |
--name |
string | User Lifecycle Rule name |
--notify-users |
bool | If true, users will be emailed before the rule disables or deletes them. |
--partner-tag |
string | If provided, only users belonging to Partners with this tag at the Partner level will be affected by the rule. Tags must only contain lowercase letters, nu |
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл filescom-user-lifecycle-rules?
A UserLifecycleRule represents a rule that applies to users based on their inactivity, state and authentication method.
Как установить скилл filescom-user-lifecycle-rules?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл filescom-user-lifecycle-rules запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
theme-factory
AnthropicToolkit for styling artifacts with a theme. These artifacts can be slides, docs, reportings, HTML landing pages, etc. There are 10 pre-set themes with…
access
AnthropicManage Discord channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…
configure
AnthropicSet up the Discord channel — save the bot token and review access policy. Use when the user pastes a Discord bot token, asks to configure Discord, asks "how…
access
AnthropicManage iMessage channel access — approve pairings, edit allowlists, set DM/group policy. Use when the user asks to pair, approve someone, check who's allowed…