Kleos CLI
БесплатноБез исполняемых скриптовНе проверенUse the Kleos CLI (`kleos` / `npx -y kleos-cli`) to do anything a person does in the Kleos app - generate, review, schedule and measure UGC-style TikTok and…
от rhuancruz386 установок в других каталогахОб этом скилле
Kleos (via CLI)
Kleos writes, schedules and measures UGC-style posts (carousels, hook + app demo
videos, wall-of-text) for apps on TikTok and Instagram. The kleos CLI is a
client of the same MCP server: every command is one tool call. The writing
method lives in Kleos: you orchestrate, the person decides, Kleos writes.
Run it as kleos … if installed (npm i -g kleos-cli), otherwise npx -y kleos-cli ….
Sign in once with kleos login (opens the browser; the token renews by
itself). Where nobody can open a browser, use an API key: KLEOS_API_KEY in
the environment, or kleos login --key kleos_sk_….
Always add --json and parse stdout; errors go to stderr as JSON.
Exit codes — act on them, don't retry blindly:
| Code | Meaning | What to do |
|---|---|---|
| 0 | ok | continue |
| 1 | error (network, invalid key or expired login, server, failed job) | read the message; check KLEOS_API_KEY, or ask the person to run kleos login again |
| 2 | wrong usage (command, flag, parameter) | fix the call (kleos <cmd> --help) |
| 3 | plan limit / quota | stop: tell the person what ran out and when it renews (details.renovaEm, details.planos_url) |
| 4 | needs human approval, key scope or plan layer | show details to the person; for big spends, rerun with --yes only after they agree |
Concepts: project (one app) → agent (a voice, e.g. "bia") → account
(TikTok/Instagram) → post → publication. Post states: gerando → pronto
(ready for review) → aprovado → agendado → publicado.
The method (always)
- Resolve the project first:
kleos projects list --json; pick by name/slug, never guess. Thenkleos agents list --project <slug> --json. - Read the plan before volume:
kleos usage --json; plan with theremainingof thepostslever and propose what fits. - Estimate, then spend: add
--dry-runfirst. Above 10 posts (or above what is left) the CLI exits 4 with the estimate and spends nothing; show it and rerun with--yesonly after the person says yes. - Generate → show 2 or 3 → then the rest:
kleos posts show <id> --jsonuntil they leavegerando; show slides, caption andurl. - Never publish without the person's go-ahead (
posts approve,posts schedule), unless the account is in automatic mode. - Ask Kleos for changes, don't rewrite:
kleos call revise_post --args '{"post":"<id>","instruction":"<what to change>"}' --json. - Don't wait in a loop you wrote:
kleos jobs wait <job_id> --jsonpolls for you (exit 0 done, 1 failed). - Always give the person the
urlfrom the result. - Files:
kleos upload <file|folder>… --project <slug> --jsonsigns, PUTs and confirms each file and prints themedia_ids (progress on stderr). Use them increate_post/create_video_poststhroughkleos call. - Accounts: connecting TikTok/Instagram needs the person in a browser —
kleos accounts connect tiktok --project <slug> --agent <a>opens it (--no-browserprints the link to send;--waitwaits until it connects).
Recipes
New week
kleos projects list --json
kleos agents list --project habi --json
kleos usage --json
kleos week plan --project habi --days 7 --per-day 2 --agent bia --dry-run --json
# after the person agrees:
kleos week plan --project habi --days 7 --per-day 2 --agent bia --yes --json
Launch of a new version
kleos call get_project --args '{"project":"habi"}' --json
kleos call list_playbooks --args '{"project":"habi"}' --json
kleos posts generate --project habi --agent bia --count 3 --format carousel --playbook <id> --dry-run --json
kleos posts generate --project habi --agent bia --count 3 --format carousel --playbook <id> --json
kleos posts show <post_id> --json # show 2–3 to the person
kleos posts schedule <post_id> --account tiktok --at 2026-09-30T18:00:00-03:00 --json
A carousel from the person's own images
kleos upload ./fotos --project habi --json # → uploaded[].media_id
kleos call create_post --args '{"project":"habi","agent":"bia","slides":[{"media_id":"<id1>","text":"3 hábitos que mudaram minha manhã"},{"media_id":"<id2>","text":"1. Água antes do celular"}],"write_caption":true}' --json
kleos posts show <post_id> --json # show it to the person
kleos music list --source tiktok --project habi --json # TikTok carousels take only trending tracks
kleos music set <post_id> --track <track_id> --json
kleos posts schedule <post_id> --account tiktok --at 2026-09-30T18:00:00-03:00 --json
Connect an account
kleos accounts list --project habi --json
kleos accounts connect instagram --project habi --agent bia --wait --json
Daily review of the queue
kleos posts list --project habi --status pronto --unscheduled --json
kleos posts show <post_id> --json
kleos posts approve <post_id> <post_id> --json # only what the person approved
Weekly
Установить Kleos CLI в Claude Code и Claude Desktop
Зарегайся, чтобы установить скилл
Создай бесплатный аккаунт, чтобы открыть команду установки и сохранить скилл в библиотеку.
- Открой команду установки в одну строку
- Сохраняй скиллы в синхронизируемую библиотеку
- Уведомления, когда скиллы обновляются
Разрешённые инструменты
Инструменты, которые скиллу разрешено вызывать.
Без ограничений — скилл может использовать любой инструмент.
FAQ
Что делает скилл Kleos CLI?
Use the Kleos CLI (`kleos` / `npx -y kleos-cli`) to do anything a person does in the Kleos app - generate, review, schedule and measure UGC-style TikTok and Instagram posts for an app, upload images and videos, pick music, connect accounts - from any agent that can run shell commands (OpenClaw, Codex, Hermes, CI, cron). Triggers - "use Kleos", "generate posts for my app", "plan the week of posts", "schedule posts on TikTok/Instagram", "upload these files to Kleos", "connect my TikTok", "how are my posts doing", "launch posts", "gerar posts no Kleos", "gerar posts pro meu app", "planejar a semana de posts", "agendar no TikTok", "agendar no Instagram", "subir arquivos no Kleos", "conectar conta", "revisar a fila de posts", "relatório semanal de posts". Needs `kleos login` (browser) or KLEOS_API_KEY.
Как установить скилл Kleos CLI?
Скопируй папку скилла в ~/.claude/skills (вкладка Claude Code выше делает это одной командой), либо поставь как плагин.
Скилл Kleos CLI запускает скрипты?
Нет, скилл состоит только из инструкций (SKILL.md), без исполняемых скриптов.
Похожие скиллы
ci-review
The scan that the plugin's GitHub Action runs.
от Anthropicazure-static-web-apps
Helps create, configure, and deploy Azure Static Web Apps using the SWA CLI. Use when deploying static sites to Azure, setting up SWA local development…
от GitHubai-ready
Make any repo AI-ready — analyzes your codebase and generates AGENTS.md, copilot-instructions.md, CI workflows, issue templates, and more. Mines your PR…
от GitHubaws-cdk-python-setup
Setup and initialization guide for developing AWS CDK (Cloud Development Kit) applications in Python. This skill enables users to configure environment…
от GitHub