/tiktok-skills:tt-caption-writerfrom tiktok-skills
Writes TikTok captions under 2,200 chars with mixed-reach hashtags and platform settings flags. Publishes via Publora on approval. Not for in-video hooks or script scrubbing.
Ships in tiktok-skills. Installing the plugin adds it to Claude Code.
What the skill costs in Claude's context, stage by stage
Name and description: Claude knows it exists.
SKILL.md joins the conversation and stays.
Read when SKILL.md points to them.
Write the caption that sits under the video: a tight caption inside the 2,200
char API limit, a mixed-reach hashtag set, and the platformSettings.tiktok
flags that control reach and interaction. On TikTok the caption supports the
video, it does not carry it. The hook is in the first 1-3 seconds of the clip
(see tt-hook-scripter); the caption's job is to add context and earn a comment.
These files are part of this skill, not background. Read them before the
first draft (paths are from this skill's folder; in a Claude Code plugin the
bundle root is ${CLAUDE_PLUGIN_ROOT}):
../../references/voice-rules.md: the voice rules every draft follows.../../references/operating-rules.md: the approval flow, how to run the
bundle's code, known gotchas.python3 "${CLAUDE_SKILL_DIR}/../../scripts/memory.py" where --plugin-data "${CLAUDE_PLUGIN_DATA}"
from the user's working folder (never cd into the bundle first: the lookup
starts in the current folder) and read the (read) paths it prints. The folder on its memory: line
also holds the author's rubric.md and gold/ (the root for lib.memory). Outside a
Claude Code plugin use python3 <bundle root>/scripts/memory.py where. They
live outside the bundle so an update cannot wipe them: ../../references/memory.md.Build these with lib.tiktok_settings(...). Defaults match Publora's.
| Setting | Values / default | What it does |
|---|---|---|
viewerSetting | PUBLIC_TO_EVERYONE (default), MUTUAL_FOLLOW_FRIENDS, FOLLOWER_OF_CREATOR, SELF_ONLY | who can view. Effectively required; an empty value is rejected |
allowComments | true (default) | viewers can comment |
allowDuet | false (default) | viewers can Duet |
allowStitch | false (default) | viewers can Stitch |
commercialContent | false (default) | the video is commercial |
brandOrganic | false (default) | promoting your own brand |
brandedContent | false (default) | paid partnership / sponsored |
allowComments,
allowDuet, allowStitch to TikTok's disable_* flags, so the booleans can
land inverted (sending allowDuet: true may disable duets). The status cannot
be confirmed from the API alone. Test with a SELF_ONLY draft before
trusting these values. Tell the user this whenever they change a flag.commercialContent is true, at least one of
brandOrganic (your own brand) or brandedContent (paid partnership) must
also be true, or Publora rejects it. lib.tiktok_settings enforces this.SELF_ONLY regardless of viewerSetting. Warn the
user if a "public" post lands private.PUBLIC_TO_EVERYONE. For an end-to-end test, use SELF_ONLY.Author memory (all drafts). If the memory folder (see Before you start) holds an active rubric.md, open it and read every active rule before drafting. Those rules come before the bundle's voice rules: severe ones are hard rules, mild ones preferences. If gold/ holds approved posts, read the newest few and match them; they are the author's real voice, stronger evidence than any profile line. Neither exists yet: say once that tt-humanizer --mode rubric-setup can build the rubric, then continue. Rules: ../../references/memory.md.
Grounding (all drafts). Opinions, quotes and figures come from what the user gave you or from the author's memory only. A point that needs the author's position, when they have not stated one, gets [MY TAKE] (or [MY TAKE: on X]), never an invented view. Every quote is checked word for word against the source before the draft is shown. Rules and checks: ../../references/source-grounding.md.
Voice profile first (all drafts). If the author's Voice Profile (see Before you start) has filled: yes, open that file and read all of it before drafting, and match the user's voice fingerprint, hard rules, and CTA/link style throughout. If it is not filled, mention once that tt-humanizer --mode profile can learn their voice from a few posts, then proceed with the generic voice rules.
Never invent the specifics. The rules below ask for a concrete number, a date and a named entity, because that is what separates a real post from a generated one. Take them from what the user actually said in this conversation. Do not invent a figure, a date, a client name or a result, and do not soften a vague claim into a plausible-looking number. If the user has nothing concrete for a beat, ask them once, and if they still have nothing, drop the claim rather than decorate it. A published invented number is a retraction; a missing one is only a weaker post.
PUBLIC_TO_EVERYONE, comments on, duet/stitch
off, no commercial flags. Adjust per the user, and surface the two gotchas.
Build with lib.tiktok_settings(...).tt-humanizer V3.tt-humanizer --mode judge: a clean-context check against their rules, at most 3 revise-and-judge rounds, then the draft goes to the author with whatever is still open (contract: ../tt-humanizer/sub-skills/judge.md). No [MY TAKE] may remain on the card, and the card shows the judge result if one ran. Show: caption, char count, hashtag set, settings summary,
and the resolved viewerSetting (flag if it may post private).lib.publish("video", caption, target_url=<upload or profile URL>, video_path=<path or None>, platform_settings=<settings>, scheduled_time=<iso or None>, platforms=[<TIKTOK_PLATFORM_ID>]). With a video
path and Publora configured, it runs draft -> upload -> schedule. Without one,
it returns the caption and settings to upload in-app.After approval: keep the approved text. Save it as a gold post with lib.memory.add_gold(root, approved_text, source="approved", post_id=<postGroupId, if one came back>), root being the memory folder (if where said it does not exist yet, create it first, from the user's working folder: python3 "${CLAUDE_SKILL_DIR}/../../scripts/memory.py" init --plugin-data "${CLAUDE_PLUGIN_DATA}"). If the author edits it before or after it goes out, tt-humanizer --mode learn compares the two, saves the final and proposes rubric amendments, written only on their yes.
Global voice rules: ../../references/voice-rules.md. Additional skill-specific
rules:
[MY TAKE], resolved by the author before approval.viewerSetting. Never ship an empty value.commercialContent: true with neither brand flag set.../../references/voice-rules.md - caption and hashtag rules../../references/algorithm-heuristics.md - caption, hashtag, and settings heuristicsreferences/settings-matrix.md - every platformSettings.tiktok value, defaults, and the known bugslib/publora_client.py - tiktok_settings(...), publish_video(...), create_draft(...)Offer a generated image when a visual would lift reach. Draft a prompt and call
lib.illustrate(prompt, kind="story"), pulling brand handle/color from Voice &
Brand Profile section 6 for a pixel-exact overlay. Show the returned url + cost,
for a TikTok photo post, attach the image via media_urls=[url] (TikTok photo carousel); for a video, TikTok's API has no cover-image field, so set the cover in the TikTok app. Full workflow (incl. quote-cards):
../tt-humanizer/sub-skills/illustration.md. No Pixfaro key -> it drafts the prompt for you to generate manually.
tt-hook-scripter - the in-video hook (the caption does not replace it)tt-humanizer - scrub the caption before publishingtt-content-planner - schedule captions across a posting weekWhat SKILL.md sets; muted values are Claude Code's defaults
8 skills in this plugin
/tt-audience-insightsRead your TikTok niche and audience from real data. Scan a hashtag for top videos with plays, likes, and comments, see which hooks and sounds are working, pull a profile's videos (yours or a competitor's), and read the commenters on a video (TikTok hides likers, so commenters are the signal). Powered by Apify, no login. Triggers on "what is trending on TikTok", "analyze this hashtag", "competitor videos", "read my comments", "which sounds are working". Not for writing a script (use tt-hook-scripter)./tt-content-plannerBuild a weekly TikTok posting plan from a niche, audience, and content pillars. Produces per-day picks (hook formula, angle, sound, video length, goal, posting time), a hook-batching schedule so you film several openers in one session, a sound shortlist with the trend window, and a completion-rate goal check. Use for a repeatable posting rhythm instead of ad-hoc videos. Not for scripting one hook (use tt-hook-scripter) or one caption (use tt-caption-writer)./tt-hook-scripterScript the first 1-3 second TikTok hook: the spoken line, the on-screen text, and the opening visual firing at once so the viewer cannot swipe. Picks a 2026 hook formula (cold-open result, pattern interrupt, number reveal, open-loop question, relatable call-out, story) by goal of completion, saves, comments, or shares. The single biggest retention lever on TikTok. Use to script a hook from a video idea. Not for the caption (use tt-caption-writer) or scrubbing a script (use tt-humanizer).npx claudepluginhub sergebulaev/tiktok-skills --plugin tiktok-skillsOther plugins' skills for the same job