Command Palette

Search for a command to run...

UnylyUnyly
Назад к скиллам

folk CLI

БесплатноБез исполняемых скриптовНе проверен

Use folkctl to inspect and update folk.app CRM data through its REST API. Covers people, companies, groups, members, custom fields, deals, custom objects…

j-edelот j-edel988 установок в других каталогах

Об этом скилле

folk CLI skill

Use this skill when the user wants to work with folk.app CRM data through the first-party folk API and does not want a third-party connector.

Tooling

The CLI command is folkctl. It is designed for OpenClaw-style agent use:

  • --json for machine-readable output
  • --dry-run before mutations when you need to preview requests
  • --all to follow pagination
  • --no-input to fail instead of prompting
  • --yes or --force only when the user has explicitly confirmed the deletion, group replacement, or credit spending it skips
  • Exit code 5: Folk accepted a batch, but at least one record failed (or a waited enrichment did not complete). Read each result's status.

Every write sends an Idempotency-Key, and retries reuse it, so a retried write runs once. If a write ends with a network error, its outcome is unknown: re-run the same command with --idempotency-key <the idempotencyKey from the error> instead of a plain re-run, which could create duplicates.

Never print, log, or include FOLK_API_KEY in responses. Prefer environment variables over stored config in automated environments.

First checks

Run these before doing unfamiliar work:

folkctl --version
folkctl api ls
folkctl api docs people.list
folkctl people --help

When a command is missing or the schema is unclear, use the generic escape hatch:

folkctl api request GET /v1/users/me --json
folkctl api request POST /v1/people --data '{"firstName":"Ada"}' --dry-run --json

Authentication

For OpenClaw, expect FOLK_API_KEY to be set in the environment:

export FOLK_API_KEY="fk_live_..."
folkctl auth status

For local setup:

printf '%s' "$FOLK_API_KEY" | folkctl auth login --token-stdin

Common tasks

List or search people

folkctl people list --limit 20 --json
folkctl people search "Ada Lovelace" --json
folkctl people list --filter fullName:like:Ada --json

Create a person

Preview first:

folkctl people create \
  --first-name Ada \
  --last-name Lovelace \
  --email [email protected] \
  --group-id grp_123 \
  --dry-run --json

Then run without --dry-run once confirmed.

Create or update companies

folkctl companies create --name "Acme Inc" --url https://acme.example --group-id grp_123 --dry-run --json
folkctl companies update com_123 --name "Acme Corporation" --dry-run --json

On people and company updates, groups (and --group-id) replaces the record's groups: each group left out is removed, with the record's custom field values in it. To add a group, read the record first and send its current groups plus the new one. On create, groups only adds. To change a custom field in a group the record is already in, send customFieldValues without groups. List fields (emails, phones, urls, addresses, person companies) also replace the existing values on update: send the full list.

Batch create, update, and delete

Use batch commands for more than a few records: up to 100 per request, each applied on its own.

folkctl people batch create --data @people.ndjson --group-id grp_123 --dry-run --json
folkctl people batch update --data '[{"id":"per_123","jobTitle":"CEO"},{"id":"per_456","jobTitle":"CTO"}]' --dry-run --json
folkctl companies batch update com_123 com_456 --industry Fintech --dry-run --json
folkctl people batch delete per_123 per_456 --dry-run --json
folkctl objects batch create --group-id grp_123 --object-type Projects --data @projects.json --dry-run --json

--data takes a JSON array, {"records": [...]}, or NDJSON. Resource flags apply to every record. batch update <id>... applies one change to each ID. Results come back in request order with a status per record. Exit code 5 means at least one record failed: report the failed records to the user by index and error, and retry only those, in a new command. Split inputs larger than 100 records.

companies batch create updates an existing company with the same name instead of creating a duplicate (operation: "updated"). Object batch create never matches existing objects, so do not re-run it after an unclear failure without the original --idempotency-key. Object people and companies are given by ID and must already be in the group.

Discover groups and custom fields

folkctl groups list --json
folkctl groups fields grp_123 person --json
folkctl groups fields grp_123 company --json
folkctl groups fields grp_123 Deals --json
folkctl groups members list grp_123 --json
folkctl groups fields get grp_123 person "Status" --json
folkctl groups create --name "Partners" --visibility private --dry-run --json
folkctl groups members add grp_123 usr_123 --role reader --dry-run --json
folkctl groups fields create grp_123 person --name "Region" --type textField --dry-run --json

Use groups fields update with raw JSON for addOptions, updateOptions, and removeOptions. Removing options also removes their associate

Полный SKILL.md на ClawHub

Установить folk CLI в Claude Code и Claude Desktop

Зарегайся, чтобы установить скилл

Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.

  • Открой команду установки в одну строку
  • Сохраняй скиллы в синхронизируемую библиотеку
  • Уведомления, когда скиллы обновляются
Зарегаться бесплатноУ меня уже есть аккаунт

Разрешённые инструменты

Инструменты, которые скиллу разрешено вызывать.

Без ограничений — скилл может использовать любой инструмент.

FAQ

Что делает скилл folk CLI?

Use folkctl to inspect and update folk.app CRM data through its REST API. Covers people, companies, groups, members, custom fields, deals, custom objects, batch create/update/delete, users, notes, tasks, interactions, person enrichments, credits, legacy reminders, webhooks, and official MCP setup.

Как установить скилл folk CLI?

Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.

Скилл folk CLI запускает скрипты?

Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.

Похожие скиллы

Сравнить folk CLI с