Command Palette

Search for a command to run...

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

Peal

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

Draft, schedule and publish social media posts through a Peal server, with the peal command line or its HTTP API, and read how they went. Use when a task…

pealот peal99 установок в других каталогах

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

Peal

Peal schedules posts to social media accounts. A workspace connects accounts as channels. A post has a text, media, and one target per channel it goes to.

Two rules come before everything else.

  1. A draft is safe. Scheduling or publishing is public. A post that went out cannot be taken back from Peal. Schedule or publish only when the user asked for it, for these channels and this time. When unsure, save a draft and say so.
  2. Never work around a refusal. A missing workspace:publish scope or post:schedule permission means the person chose not to let this client publish. Stop, and tell them what is missing.

Set up

Find the command line, and point it at the server.

command -v peal
export PEAL_API_URL=https://peal.example.com

PEAL_API_URL is the address people open Peal at. Without it, peal uses http://localhost:3000 and sends it no API key (api_url_required). There are no released builds yet: build peal from the repository (bun nx run peal-cli:build writes packages/peal-cli/dist/peal). Without the command line, use the HTTP API with curl: see references/http.md.

Pick one credential.

A person: peal login

peal login

It prints an address and a code. The person opens the address, checks the code, and allows it. This cannot be done for them: ask them to do it. On that page they decide what the command line may do:

Scope Allows
workspace:read Reading.
workspace:write What their role allows that puts nothing out: drafts, media.
workspace:publish Scheduling, publishing, moving, cancelling, reposting.
workspace:ads Boosting posts, which spends money. Only peal login --ads.

A sign-in without workspace:publish writes drafts and cannot schedule or publish. That is a choice, not an error.

A run nobody attends: PEAL_API_KEY

A workspace API key starts with peal_. An owner or an admin creates it in the web app's settings, with the permissions they choose. Set it in the environment. There is no flag for it: a flag lands in the shell's history and in the list of processes. Never print it, log it or write it to a file.

export PEAL_API_KEY=peal_your_key
  • The key wins over a saved sign-in and acts in its own workspace, so the key alone works. peal whoami prints that workspace's id, the key's permissions and expiry: run it first. A key names a workspace by its id.
  • With the key alone, every command first asks whose key it is, a request that counts toward the rate limit. An agent that runs many commands sets PEAL_WORKSPACE to the id peal whoami printed: one request less each.
  • peal login, account, members and invitations are for a person.

Ask for the least a task needs.

Task Permissions of the key
Read channel:read, post:read, media:read, analytics:read
Draft the above, and post:create, post:update, media:upload
Schedule, publish the above, and post:schedule
Discard a draft post:delete
Activity log activity:read
Read ads ads:read
Boost a post ads:read, ads:spend: this key can spend money

Check first

Run this before anything else, and again when something fails.

peal doctor --json

It changes nothing. It prints {"checks": [{"name", "status", "detail", "fix"}], "ok"} and exits with 1 when a check fails. Each status is ok, failing or skipped; fix says what to do. The checks: api-url, health, ready, changelog, credential, access, publish-scope, ads-scope, workspace, mcp.

Read publish-scope before planning to schedule. When it says the sign-in cannot schedule or publish, plan for drafts.

Read JSON

Every command that reads or changes something takes --json.

  • Success: the API's answer, one JSON document on stdout. Instants are ISO 8601 in UTC. An answer without a body is null.
  • Failure: one JSON document on stderr, and exit code 1.
{
  "error": {
    "_tag": "Forbidden",
    "code": "forbidden",
    "message": "This API key does not have the permission post:schedule. …",
    "permission": "post:schedule",
    "reason": "missingPermission",
    "requestId": "0190f3a0-0000-7000-8000-0000000c0001"
  }
}

Branch on code. Never parse message: its wording changes.

Find ids before writing

Posts take channel ids and media ids. N

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

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

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

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

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

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

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

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

FAQ

Что делает скилл Peal?

Draft, schedule and publish social media posts through a Peal server, with the peal command line or its HTTP API, and read how they went. Use when a task writes, schedules, publishes, moves, cancels or checks posts in Peal, uploads media to it, reads its analytics, ad accounts or activity log, boosts a published post as an ad, or sets up a script or an agent that does. Covers signing in or using a workspace API key, finding channel and media ids, idempotent sending, reading outcomes, errors and rate limits.

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

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

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

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

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

Сравнить Peal с