agentleFS
matthewdonsemail-labmatthewdonsemail-lab/log/.claude/skills/log-tiktok-post/SKILL.md

log-tiktok-post

Skill103 starsChanged 7 days agoMITView on GitHub

Posting a video on TikTok, and deleting it. A log play (docs/useCases/tiktok/post.md): Post one video on the account's TikTok with a caption, and delete one of its posts, on the direct-API engine with no browser: the calls TikTok Studio makes, sent the same way. The AdsPower browser flows are the fallback when TikTok refuses a direct call. TikTok's own answers decide each step.

The file

Files
SKILL.md

Posting a video on TikTok, and deleting it

This is the log play tiktok/post. Before anything else, call the log MCP tool getGuide({ useCase: "tiktok/post" }): it returns this page and makes it the session's play, so every log tool's answer says which step you are on and a send with no play loaded is refused (rules 157, 158). Then follow the steps in order.

Draft every message from that person's own thread and the owner's real replies (voice with no text, search), never from memory, and never send two that read alike (sameAsSent).

Post one video on the account's TikTok with a caption, and delete one of its posts, on the direct-API engine with no browser: the calls TikTok Studio makes, sent the same way. The AdsPower browser flows are the fallback when TikTok refuses a direct call. TikTok's own answers decide each step.

How the owner asks for it: "post this on tiktok", "put the video on tiktok", "post it to tiktok with this caption", "delete that tiktok", "take the tiktok down"

Run it from a fresh context

Say: "go on docs/useCases/tiktok/post.md", with the video file and the caption, or the caption of the post to delete. The agent reads this page and runs the steps.

The steps

#StepToolDone when
0The account is still signed in to TikToktiktokSessionCheck { account }TikTok answered loggedIn
1Show the owner the video and the caption, and get a yesthe reply to the ownerthe owner approved this video and this caption
2Post ittiktokPostLive { account, video, caption, approvedBy, confirmLive: true }TikTok answered status_code 0 with an item_id, and the post's link came back
3Delete a post, when askedtiktokDeleteLive { account, id, approvedBy, confirmLive: true }TikTok's edit_diff names the post and every edit result is 0
4If TikTok refused a direct call, the same in the browsertiktokFlowPostLive { account, video, fileName, caption, confirmLive: true } or tiktokFlowDeleteLive { account, caption, confirmLive: true }tiktokWebProjectPostV1 or tiktokPostEditV1 answered status_code 0
5Tell the owner what came back, with how it is doingtiktokStats { account }the post's link, or that it was deleted, and its views so far

What the runs taught

  • No browser is needed. On 2026-11-18 a 73 KB clip posted in 3 s and was deleted in 1 s, direct. TikTok took the calls without its page signatures (X-Bogus, _signature) or the ticket-guard headers. The upload is signed AWS4 with the keys /api/v1/video/upload/auth/ hands out.
  • The id to delete is the number in the post's link. tiktokStats lists every post with its link.
  • TikTok Studio, not the feed. Posting starts at tiktokstudio/upload and deleting at tiktokstudio/content. The public video page has no delete for the owner.
  • The caption box is found by the file name. TikTok fills the caption with the video's file name without its extension, so fileName is that name and the caption replaces it.
  • A tip covers the form after the first upload. "Preview your video on your phone" takes every click until Escape closes it (tiktokPreviewTip); the flow checks for it again after the upload.
  • The row menu shows only while the row is hovered, past the window's right edge. rowMenu hovers the row by its caption, scrolls across to its unnamed menu button and picks the item by its text.
  • A delete is not final at once. TikTok keeps it in Recently deleted for 30 days.

Related

Download now (ZIP)

Does it work?

Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.

No reviews yet

People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.

  • It worked
  • Partly
  • It didn't
What did you use it for? e.g. Reviewing pull requests in a Rails app

Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.

Your trail

Files you open will collect here, so you can find them again.

Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.

Now do this for your own.

Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.