AGENT SKILL

social-midia-tiktok

Use when the user wants to draft, post, or analyze TikTok content (video posts, photo posts, drafts/inbox), or asks about the TikTok Content Posting API (direct post vs upload, scopes, creator_info, rate limits, status polling).

License 许可
MIT
最近更新
2026-11-15
Stars
★ 0
Forks
1

01 前言 Front Matter

name
social-midia-tiktok
triggers
[ "user", "model" ]
description
Use when the user wants to draft, post, or analyze TikTok content (video posts, photo posts, drafts/inbox), or asks about the TikTok Content Posting API (direct post vs upload, scopes, creator_info, rate limits, status polling).

02 资源文件 1

03 SKILL.md 正文

TikTok

Two publishing modes via the Content Posting API:

  • Direct Post (video.publish): straight to profile; requires an audited app.
  • Upload to drafts (video.upload): lands in the creator's inbox; they finish posting in-app. The only path for unaudited apps.

Capabilities (official)

  • Video direct post: POST /v2/post/publish/video/init/.
  • Video draft: POST /v2/post/publish/inbox/video/init/.
  • Photos (both modes): POST /v2/post/publish/content/init/ with post_mode + media_type=PHOTO (PULL_FROM_URL only).
  • Pre-flight required: POST /v2/post/publish/creator_info/query/ gives privacy_level_options, max_video_post_duration_sec, interaction flags. Re-query before every post.
  • Status: POST /v2/post/publish/status/fetch/ with publish_id.
  • Commercial flags: brand_content_toggle, brand_organic_toggle, is_aigc disclosure, disable_comment/duet/stitch.

Detail: api.md.

Auth & access

  • OAuth2 via Login Kit; access_token 24h, refresh_token 365d (rotates; persist the new one).
  • Scopes: video.upload (drafts), video.publish (direct), user.info.basic/profile/stats, video.list. No photo.upload scope exists; photos reuse the video scopes.
  • Dual gate: app approved for the scope AND user authorizes it.
  • Unaudited client: SELF_ONLY posts, <=5 users/24h, private accounts only.
  • Env vars (convention, UNVERIFIED): TIKTOK_CLIENT_KEY, TIKTOK_CLIENT_SECRET, TIKTOK_ACCESS_TOKEN, TIKTOK_REFRESH_TOKEN.

Formats & limits

  • Video: MP4/WebM/MOV; H.264/H.265/VP8/VP9; 23-60fps; 360-4096px; <=4GB; <=10min API max but per-creator max_video_post_duration_sec governs.
  • Photos: JPEG/WebP <=1080p, <=20MB, up to 35, photo_cover_index req.
  • Captions: video title <=2200 UTF-16 runes; photo title <=90, description <=4000 runes. Emoji cost 2 runes.

Scheduling & automation

  • No scheduling endpoint; Direct Post is immediate, Upload goes to drafts. Scheduling = external queue or drafts.
  • ~15 posts/day/creator via Direct Post, shared across ALL API clients (spam_risk_too_many_posts); 5 pending drafts/24h.
  • Init endpoints 6 req/min/user; creator_info 20 req/min.
  • ToS: no superimposed branding/watermarks/promo text.

Analytics

  • GET /v2/user/info/: follower/following/likes/video counts (user.info.stats), bio/verified (user.info.profile).
  • POST /v2/video/list/: recent videos, <=20/page; /v2/video/query/ by ID. Video object: like/comment/share/view counts, duration.

Professional routines

  • Draft-based flow fits human-in-the-loop publishing: agent uploads to inbox, creator finishes in-app.
  • Music/cover/disclosure flags exist at post time (auto_add_music, video_cover_timestamp_ms, is_aigc).
  • No official cadence guidance.

Reference

  • api.md: full endpoint list, chunking, polling, error names.
  • Provenance: .devin/research/social-midia/tiktok.md.

04 同仓库更多 Skills

Leostruka
Leostruka/devin-bundle

montador-de-ideias

Use when assembling, expanding, or elevating a raw project idea or initial prompt into an ultra-detailed, first-principles dossier and compiled master prompt with journalistic OSINT market research, Tech Lead and Staff Architect justifications, atomic and modular hardening/optimization, and high-impact contact surfaces.

★ 0
Leostruka
Leostruka/devin-bundle

git-github-adaptive-engineering

Use when any task touches git history, GitHub issues/PRs/releases/CI, repo governance, or branch and merge decisions. Runs the Fase Zero situational-awareness battery, picks one of five delivery flows via the adaptive decision engine, and enforces commit/PR information-density standards. Orchestrates the gh, git-workflows, github-actions, pr, and debug/finish skills.

★ 0
Leostruka
Leostruka/devin-bundle

adaptive-agenda-calendar-routine-engine

Use when planning or executing work across hours, days, weeks, or sprints. Turns the calendar into a strict time-blocked agenda (HH:MM-HH:MM blocks carrying a routine profile, expected inputs, and a handoff output artifact), runs the 5-stage cognitive flow (Radar and Hunt -> Triage plus Steve Jobs conception -> workbench manifest -> >=32-cycle loop -> Close plus Open-Minded Scrum), and unfolds macro calendar milestones into micro agenda blocks through extensions/gcal/wrapper.py.

★ 0
Leostruka
Leostruka/devin-bundle

demo

Use when demonstrating a skill in a fixture project.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0
Leostruka
Leostruka/devin-bundle

duplicate-skill

Use when testing duplicate skill name detection.

★ 0