tiktok-automation

tiktok-automation is a skill for Claude Code, Codex from 0xArtex/Palmyr. It costs 24 tokens per session (659 once invoked), scanned A, original, MIT.

A tool for connecting to TikTok accounts and using an API to publish, schedule, manage, and analyze TikTok activity. An API is a service that lets software perform actions for an account.

In plain words
What is it for?
It helps connect an account with a QR code, post a public video from a URL, and handle TikTok actions that finish asynchronously by checking their status until complete.
Why use it?
It provides a defined way for an agent to automate TikTok work, including account connection and payment for paid actions, without managing ordinary API keys or subscriptions.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Good fit It helps connect an account with a QR code, post a public video from a URL, and handle TikTok actions that finish asynchronously by checking their status until complete.

Compare 6 skills from other repositories ↓
Install with agentmods
npx agentmods add skills/0xartex/palmyr/tiktok
Install

Getting it into your agent

One page per mod, every tool's command on it. A separate URL per tool would split the same page into five that compete with each other.

Any agent
npx skills add 0xArtex/Palmyr --skill tiktok
Clone the repo
git clone --depth 1 https://github.com/0xArtex/Palmyr

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for tiktok-automation

README.md
[![agentmods](https://agentmods.dev/badge/skills/0xartex/palmyr/tiktok/github.svg)](https://agentmods.dev/skills/0xartex/palmyr/tiktok)
Your own site
<a href="https://agentmods.dev/skills/0xartex/palmyr/tiktok"><img src="https://agentmods.dev/badge/skills/0xartex/palmyr/tiktok/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for tiktok-automation

Your own site · 80×15
<a href="https://agentmods.dev/skills/0xartex/palmyr/tiktok"><img src="https://agentmods.dev/badge/skills/0xartex/palmyr/tiktok.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 24 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 659 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 0 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00024 $0.00659
Opus 5.5 $0.00010 $0.00264
Sonnet 5.5 $0.00005 $0.00132
Haiku 4.5 $0.00002 $0.00066

Measured 2mo ago against content hash 2af44d096d3f, method: parsed. Prices are Anthropic first-party input rates as of 2026-10-07, from the pricing page.

Security

Grade A, and why

tiktok-automation scanned grade A with 0 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 2mo ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Nothing flagged

None of the 26 patterns this scan looks for appear in this file: no shell pipes, no recursive deletes, no credential paths, no hidden text, no instruction-override or anti-refusal phrasing, no agent-config snooping. That is not a guarantee, it is the absence of the things that are checkable.

skills/tiktok/SKILL.md · 62 lines

What it actually says

TikTok Automation API

Use https://tiktok.palmyr.ai for TikTok automation. Paid actions use x402 USDC payments. There are no API keys or subscriptions.

Discover and call

npx agentcash@latest add https://tiktok.palmyr.ai
npx agentcash@latest discover https://tiktok.palmyr.ai
npx agentcash@latest check https://tiktok.palmyr.ai/v1/post

AgentCash handles the x402 challenge and payment automatically:

npx agentcash@latest fetch https://tiktok.palmyr.ai/v1/connect \
  -m POST \
  -b '{"account_id":"my-brand"}'

Open the returned connect_url, scan the TikTok QR code, then poll the returned poll_url. The wallet that pays for the connection owns the account; use the same wallet for later actions.

Post a public video URL after the account is connected:

npx agentcash@latest fetch https://tiktok.palmyr.ai/v1/post \
  -m POST \
  -b '{"account_id":"my-brand","caption":"We shipped.","video_url":"https://example.com/launch.mp4"}'

TikTok actions are asynchronous. Poll poll_url until done is true. Never resubmit an accepted action while it is still running; payment has already settled for that operation.

Endpoints

Method Path Price
POST /v1/connect $0.01
GET /v1/connect/:token free
GET /v1/accounts $0.001
POST /v1/post $0.01
GET /v1/operations/:id free
POST /v1/follow $0.001
POST /v1/like $0.001
POST /v1/delete $0.001
POST /v1/profile $0.001
POST /v1/avatar $0.005
POST /v1/analytics $0.005
GET /v1/series $0.001
GET /v1/hooks $0.001 account/tag, $0.05 niche
GET /v1/niches free
GET /v1/scheduled $0.001
POST /v1/scheduled/:id/cancel $0.001
GET /v1/health free

Machine-readable contract: OpenAPI and x402 discovery.

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 2mo ago First seen · 62 lines · 24 tokens per session scan A 2af44d096d3f

Subscribe to this mod's changes

tiktok-automation is a skill published in the GitHub repository 0xArtex/Palmyr (6 stars, last pushed 1mo ago), licensed MIT. It adds 24 tokens to every session and 659 once invoked, about $0.0001 per session on Opus 5.5. A static security scan graded it A with 0 findings. No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-31.

Related

tiktok-automation compared with skills from other repositories

tiktok-automation next to 6 skills from other repositories
ModTypeStarsLast pushLicenceScanTokensWorks with
tiktok-automation0xArtex/PalmyrSkill61mo agoMITA24Claude Code, Codex
imagegenopenai/codexSkill133kyesterdayApache-2.0A113Codex
playwright-climicrosoft/playwrightSkill99kyesterdayApache-2.0A19Claude Code
local-ai-agentsmicrosoft/ai-agents-for-beginnersSkill79k4d agoMITA200Claude Code, Codex
systematic-debuggingobra/superpowersSkill313k3d agoMITA21Claude Code
next-cache-components-adoptionvercel/next.jsSkill143kyesterdayMITA95Claude Code
next-partial-prefetching-adoptionvercel/next.jsSkill143kyesterdayMITA103Claude Code