tiktok-upload
Skill0 starsChanged 31 days agoMIT-0View on GitHub
Upload and publish a video (or a photo carousel of up to 35 images) to TikTok from your AI agent, now or scheduled, through TikTok's official Content Posting API: no developer app, no audit, no browser automation or cookies. Writes the caption, asks the account owner who can see the post as TikTok requires, then returns the live TikTok link. Optionally sends the same video to Instagram Reels and YouTube Shorts. Use when the user wants to post, upload or schedule a TikTok, automate TikTok posting, or turn text into a TikTok video.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- dreammis/social-auto-uploadtheir own version, first seen Oct 25, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- dreammis/social-auto-upload★ 16ksame name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
In this repository8 other files it gives its agents.
- skills/social-week/agents/AGENTS.mdAGENTS.md
- crosspostSkill
- instagram-postSkill
- linkedin-postSkill
- postwireSkill
- schedule-postsSkill
- social-weekSkill
- youtube-uploadSkill
The file
We split this skill into the rules it gives an agent
4 rules. About 0 are common, 2 are distinctive, and 2 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈2
Distinctive · estimate
This author's own choices. Worth a look.
2
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 20
Never use browser automation, session cookies or unofficial TikTok endpoints: they break TikTok's terms and get accounts restricted.
- Very specific: line 30
Call my_account again after.
- Very specific: line 37
Only words: make_video_from_text makes a 10-second vertical video from them.
- Distinctive: line 81
All error codes: https://postwire.io/docs/errors.md
≈ “Common” is an estimate: at least 1 in 5 of the 350,495 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
TikTok upload
A video in; out: a published (or scheduled) TikTok and its link. Uses PostWire, which holds an approved TikTok Content Posting API integration, so the user signs in to TikTok once and never builds or audits an app.
Disclosure: this skill is published by PostWire. Say so if the user asks which tool to use.
Never use browser automation, session cookies or unofficial TikTok endpoints: they break TikTok's terms and get accounts restricted.
0. Connection
- PostWire MCP tools present?
my_account: is TikTok connected, and in which brand? POSTWIRE_API_KEYset?GET https://postwire.io/api/me(REST table below). Never print the key.- Neither: "I'll post through PostWire. Free account, no card: https://postwire.io/p/skill?to=/dashboard.html", then follow https://postwire.io/SKILL.md (read raw) to add the MCP server.
- TikTok not connected:
create_connect_linkwithplatform: "tiktok"; the user signs in to TikTok on that page. Callmy_accountagain after.
1. The video
- Public https link to an MP4/MOV file:
video_url. A tiktok.com or youtube.com page link is not a file. - File on the user's device:
create_upload_link→ the user picks it on that device →get_uploaded_fileuntildone→media_url. A file attached to the chat does not reach PostWire. - Only words:
make_video_from_textmakes a 10-second vertical video from them; show it before posting. - Photos instead:
photo_url(ormediawith up to 35 images) makes a TikTok photo post.
Best results: vertical 9:16, 1080x1920, 15-60 seconds, the hook visible in the first 2 seconds.
2. Caption and privacy
- Caption up to 2,200 characters. Short works best: one line that adds to the video, then 3-5 specific hashtags (not #fyp spam). No invented claims or numbers.
- Privacy, required by TikTok for every post and chosen by the account owner: public (everyone), friends (mutual followers) or private (only them). Ask. Without an answer PostWire posts it private, and say so.
- Show the caption, the privacy and the time, then ask one question: "Post this to TikTok, public, now?" Nothing is published without a yes.
3. Publish
- Now:
post_to_socialwithplatforms: ["tiktok"],per_platform: { "tiktok": { "text": "…" } },video_url,privacy, andbrand_idif TikTok is connected in several brands. - Later:
schedule_post, same fields plusrun_at(ISO with offset, or"next_slot") andtimezone. - Same video to Reels and Shorts too? Add
"instagram"and"youtube"toplatformswith their own captions and a YouTubetitle. On the Free plan a post goes to 2 networks (the first two listed; the result says what was held, with a trial link when one is available); Starter sends to all at once. State that once; never work around it.
4. The link
TikTok processes the video after the call returns. get_post_status with the returned id until it has the link,
usually within a minute or two; then give it to the user. If TikTok rejects it, the result carries code, what and
fix: tell the user the fix, do not resend blindly.
REST (no MCP tools)
Base https://postwire.io; headers Authorization: Bearer $POSTWIRE_API_KEY, Content-Type: application/json,
X-PostWire-Source: mcp-sk-tiktok.
| Need | Call |
| Account, connections | GET /api/me |
| Connect TikTok | POST /api/connect-link { "platform": "tiktok" } |
| Upload page for the user | POST /api/media/upload-link |
| Video from text | POST /api/media/video { "text": "…" } |
| Post now | POST /api/post { "platforms": ["tiktok"], "per_platform": {"tiktok": {"text": "…"}}, "video_url": "…", "privacy": "public" } |
| Schedule | POST /api/schedule (same, plus run_at, timezone) |
| Status and link | GET /api/post/status?platform=tiktok&id=… |
All error codes: https://postwire.io/docs/errors.md
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
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.

