Write a TikTok caption under 2,200 chars (hashtags included), pick a tasteful 3 to 5 hashtag set with mixed reach, and set the platformSettings.tiktok flags (viewer setting, comments, duet, stitch, commercial and branded content). Front-loads a reason to comment, runs the humanizer pass, and publishes the rendered video via Publora on approval. Use to caption a finished video. Not for the in-video hook (use tt-hook-scripter) or scrubbing a script (use tt-humanizer).
Installs into .claude/skills of the current project.
Sponsors
SSkills DirectorySkills Directory
Know which skills are safe — weekly.
SSkills DirectorySkills Directory
Is that skill safe to install?
Are you the author of Tt Caption Writer?
Add the live security badge to your README. It updates with every re-scan.
[](https://www.skillsdirectory.com/skills/sergebulaev-tt-caption-writer)
---
name: tt-caption-writer
description: "Write a TikTok caption under 2,200 chars (hashtags included), pick a tasteful 3 to 5 hashtag set with mixed reach, and set the platformSettings.tiktok flags (viewer setting, comments, duet, stitch, commercial and branded content). Front-loads a reason to comment, runs the humanizer pass, and publishes the rendered video via Publora on approval. Use to caption a finished video. Not for the in-video hook (use tt-hook-scripter) or scrubbing a script (use tt-humanizer)."
---
# TikTok Caption Writer
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.
## Before you start
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.
- The author's Voice Profile: run
`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`.
## When to use
- User has a video (or a script) and needs the caption, hashtags, and settings
- User is about to upload and wants the posting flags right
- User wants Claude Code or Codex to schedule a rendered .mp4 via Publora
## What this skill produces
- **Caption** (<= 2,200 chars on the API; aim much shorter), first line front-
loaded with a reason to read or comment
- **Hashtag set** (3 to 5, mixed reach), placed at the end
- **platformSettings.tiktok** flags with a plain-English summary
- On approval, the publish call (draft -> upload -> schedule) when a video file
is supplied
## The TikTok settings (platformSettings.tiktok)
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 |
### Two gotchas you must surface to the user
1. **Boolean inversion bug.** Publora currently maps `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.
2. **Commercial disclosure.** If `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.
### Posting reality
- **Unaudited apps post PRIVATE only.** Until the publishing app passes TikTok's
review, posts are forced to `SELF_ONLY` regardless of `viewerSetting`. Warn the
user if a "public" post lands private.
- For reach, use `PUBLIC_TO_EVERYONE`. For an end-to-end test, use `SELF_ONLY`.
## Steps
**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.
1. **Gather inputs, goal first.** Ask (or infer) what the caption should earn,
then shape for it: comments -> end on one specific question tied to the video;
saves -> promise reference value ("the 3 settings are in the caption");
shares -> a claim people will want to show someone; profile taps -> an open
loop the pinned video pays off. Then gather the video topic/script, the
niche, whether it is commercial, and whether a rendered
.mp4 path exists.
2. **Draft the caption.** Front-load the first visible line with a reason to read
or a specific question to comment on. Keep it tight. Em dashes under the cap
(about one per 100 words; a short caption rarely needs one), no AI vocab
cluster. Optionally restate the hook's open loop as a comment prompt.
3. **Pick hashtags.** 3 to 5, mixed reach: one broad, one to two niche-defining,
one to two specific to the video. Put them at the end. Never stuff.
4. **Set the flags.** Default to `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(...)`.
5. **Char check.** Confirm caption + hashtags <= 2,200. If over, tighten.
6. **Humanizer pass.** Scrub 2026 AI vocab by density, cap em dashes (about
one per 100 words, never swap one for a period), break stacked triads,
generic openers, reveal bridges and sincerity openers ("not gonna lie").
Leave the rhythm alone; never chop a line for punch. Canonical rules:
`tt-humanizer` V3.
7. **Judge, then the approval card.** If the author has a rubric or gold posts, first hand the draft to `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).
8. **On approval.** Call `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.
## Hard rules
Global voice rules: `../../references/voice-rules.md`. Additional skill-specific
rules:
- Never write the author's opinion for them. No position in what they gave you: `[MY TAKE]`, resolved by the author before approval.
- Quotes are copied word for word from the source, or not quoted at all.
- Caption + hashtags must fit 2,200 chars (API), hashtags included. Aim far under.
- 3 to 5 hashtags, mixed reach, at the end. Never 10+, never mid-sentence.
- The caption never does the hook's job. The hook is in the video.
- Always set `viewerSetting`. Never ship an empty value.
- Surface the boolean inversion warning whenever an interaction flag changes.
## Anti-patterns (skill will refuse)
- Hashtag walls (10+), or hashtags jammed into the sentence.
- Em dashes above the cap (more than about one per 100 words), or an em dash swapped for a period.
- "The result?" reveals and "No X. No Y. Just Z." staccato stacks added for punch.
- "Follow for part 2 / like and subscribe / don't forget to share" stacks.
- A caption that repeats the spoken hook word for word.
- `commercialContent: true` with neither brand flag set.
- Claiming a post will be public when the app is unaudited (it will be private).
## Resources
- `../../references/voice-rules.md` - caption and hashtag rules
- `../../references/algorithm-heuristics.md` - caption, hashtag, and settings heuristics
- `references/settings-matrix.md` - every platformSettings.tiktok value, defaults, and the known bugs
- `lib/publora_client.py` - `tiktok_settings(...)`, `publish_video(...)`, `create_draft(...)`
## Optional illustration
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.
## Related skills
- `tt-hook-scripter` - the in-video hook (the caption does not replace it)
- `tt-humanizer` - scrub the caption before publishing
- `tt-content-planner` - schedule captions across a posting week