← 返回 Skills 市场
j-edel

folk CLI

作者 j-edel · GitHub ↗ · v0.1.0 · MIT-0
cross-platform ✓ 安全检测通过
36
总下载
0
收藏
0
当前安装
1
版本数
在 OpenClaw 中安装
/install folk-cli
功能描述
Use the folkctl CLI to inspect and update folk.app CRM data without third-party connectors. Covers people, companies, groups, deals, users, notes, reminders,...
使用说明 (SKILL.md)

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 deletion

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

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

Deals

folk deals are addressed under a group and an object type, usually the name of the deal object field, for example Deals.

folkctl deals list --group-id grp_123 --object-type Deals --json
folkctl deals create --group-id grp_123 --object-type Deals --name "Project Alpha" --company-id com_123 --person-id per_123 --custom Status=Active --dry-run --json

Notes, reminders, and interactions

folkctl notes create --entity-id per_123 --content "Met at SaaStr. Follow up next week." --visibility private --dry-run --json
folkctl reminders create --entity-id per_123 --name "Follow up" --visibility private --recurrence-rule "DTSTART;TZID=Europe/Paris:20250717T090000\
RRULE:FREQ=WEEKLY;INTERVAL=1" --dry-run --json
folkctl interactions create --entity-id per_123 --date-time 2025-07-17T09:00:00.000Z --title "Coffee" --content "Discussed the new project." --type ☕️ --dry-run --json

Webhooks

folkctl webhooks list --json
folkctl webhooks create --name "My app" --target-url https://example.com/webhook --event person.created --dry-run --json

Safety rules

Before create/update/delete commands, prefer --dry-run --json and summarize the exact resource, method, path, and body for the user.

For deletes, do not pass --yes or --force unless the user explicitly asks to delete the exact record. If the user has not confirmed, run a dry-run or ask for confirmation.

If the API returns 401/403, tell the user to verify or rotate FOLK_API_KEY. Do not ask them to paste secrets into chat.

Installation hint

If folkctl is missing, install it from npm (or from GitHub as a fallback):

npm install -g folkctl
# or: npm install -g github:j-edel/folkctl
安全使用建议
Before installing, confirm you trust the folkctl package source and understand that the configured API key can read and change CRM records, notes, reminders, interactions, and webhooks. Use dry-run previews for changes, require explicit confirmation for deletes, and avoid pasting API keys into chat.
能力标签
requires-oauth-tokenrequires-sensitive-credentials
能力评估
Purpose & Capability
The stated purpose is to inspect and update folk.app CRM data, and the instructions consistently focus on folkctl commands for people, companies, deals, notes, reminders, interactions, users, groups, and webhooks.
Instruction Scope
The skill allows broad CRM reads and mutations, including a generic API request escape hatch, but this is aligned with CRM automation and paired with dry-run, JSON output, and confirmation guidance.
Install Mechanism
Installation is disclosed as a global Node CLI package, with a GitHub fallback; the skill artifact itself contains only markdown and no executable scripts.
Credentials
The required FOLK_API_KEY and optional API configuration are proportionate for first-party folk API access, and the skill explicitly says not to print or request secrets in chat.
Persistence & Privilege
The preferred OpenClaw path uses an environment variable, while the optional local login may store a token through folkctl; this is disclosed and not hidden persistence.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install folk-cli
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /folk-cli 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v0.1.0
Initial release of folk-cli for folk.app CRM command-line automation. - Provides `folkctl` CLI tool for inspecting and updating folk.app CRM data. - Supports managing people, companies, groups, deals, users, notes, reminders, interactions, and webhooks. - Emphasizes first-party API usage without third-party connectors. - Includes safety practices: dry-run previews, no secret exposure, user confirmation for destructive actions. - Requires environment variable `FOLK_API_KEY` for authentication; optional variables for API version and base URL. - Detailed setup, usage examples, and troubleshooting guidance provided.
元数据
Slug folk-cli
版本 0.1.0
许可证 MIT-0
累计安装 0
当前安装数 0
历史版本数 1
常见问题

folk CLI 是什么?

Use the folkctl CLI to inspect and update folk.app CRM data without third-party connectors. Covers people, companies, groups, deals, users, notes, reminders,... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 36 次。

如何安装 folk CLI?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install folk-cli」即可一键安装,无需额外配置。

folk CLI 是免费的吗?

是的,folk CLI 完全免费,采用 MIT-0 许可证,可自由下载、安装和使用。

folk CLI 支持哪些平台?

folk CLI 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 folk CLI?

由 j-edel(@j-edel)开发并维护,当前版本 v0.1.0。

💬 留言讨论