Install
$ agentstack add skill-agentproto-ts-tiktok ✓ scanned · ✓ verified, works with Claude Code, Cursor, and more.
Security review
✓ PassedNo issues found. Passed automated security review. · v0.1.0 How review works →
- ✓ Prompt-injection patterns
- ✓ Secret / credential exfiltration
- ✓ Dangerous shell & filesystem operations
- ✓ Untrusted network calls
- ✓ Known-malicious package signatures
What it can access
- ✓ Network access No
- ✓ Filesystem access No
- ✓ Shell / process execution No
- ✓ Environment & secrets No
- ✓ Dynamic code execution No
From automated source analysis of v0.1.0. “Used” means the capability is present in the source — more access means more to trust, not that it’s unsafe.
Verified badge
Passed review? Show it. Paste this badge into your README, it links to the public security report.
Reliability & compatibility
Declared compatibility
Compatibility is declared by the source manifest. End-to-end runtime verification is coming, see below.
We're building live execution health for every listing: tool-call success rate, median latency, uptime, and last-checked timestamps, measured, not self-reported. It isn't live yet, so we don't show numbers we can't stand behind.
How agent discovery & health will work →About
TikTok — recon plan (hardest: anti-bot signing)
Internal API: https://www.tiktok.com/api// with a large param set plus anti-bot signing: msToken (cookie + param), X-Bogus / _signature / X-Gnarly — generated by TikTok's obfuscated webmssdk JS. Hand-crafting signed requests from scratch is impractical; use the page's own signer or its own fetches.
The winning move: stay in-page, reuse TikTok's signer
Because we run inside the loaded tiktok.com page, the signing code is already present. Two viable strategies (capture which works):
- Reuse the page's fetch path — trigger the action via the UI (scroll feed,
open a video, open comments) and read the resulting /api/ JSON responses from list_network_requests / a fetch-hook. Lowest-friction for READS.
- Call the in-page signer — TikTok exposes signing via globals
(window.byted_acrawler / the SDK's sign fn) used to build X-Bogus. If reachable, sign your own request params in-page, then fetch. Capture the exact global + signature param names live (they change).
Auth: cookies (sessionid, tt_csrf_token, msToken) ride same-origin; writes need sessionid + valid signature.
Endpoints (capture live; param sets are huge + signed)
| Purpose | endpoint | | ------------------------ | --------------------------------------- | | For-You feed | /api/recommend/item_list/ | | A user's videos | /api/post/item_list/?secUid= | | User detail | /api/user/detail/?uniqueId= | | Comments (who/likes) | /api/comment/list/?aweme_id= | | Video detail | /api/item/detail/?itemId= | | Search | /api/search/general/full/?keyword= | | WRITE: like (digg) | /api/commit/item/digg/ | | WRITE: follow | /api/commit/follow/user/ | | WRITE: comment | /api/comment/publish/ |
Entity model
User{id, uniqueId(handle), secUid, nickname, followerCount} · Video{id(aweme_id), desc, author:User, stats:{diggCount, commentCount, shareCount, playCount}} · Comment{user, text, diggCount}.
Capture method
Open tiktok.com → list_network_requests for /api/ → note endpoint + the signed params (X-Bogus, msToken, _signature) + whether the response is readable. Probe for the signer global in-page.
Actions to test (read-first; writes gated + likely blocked)
- Open a profile/video via UI → read the
/api/responses (feed, user,
comments).
- If a signer global is reachable → try a signed read (e.g. comment/list).
- who-commented + diggCount → engagement graph.
- (gated, expect friction) digg/follow/comment — explicit confirm.
Gotchas — manage expectations
- TikTok has the strongest anti-automation of the set. Signed-request
replication is fragile + drifts; expect blocks/captchas on writes.
- Prefer read via the page's own responses / UI-driving over hand-signed
fetches. Writes: minimal, gated, accept they may fail.
- This is the one platform where DOM / UI-driving may beat the API approach.
Source & license
This open-source skill is cataloged on AgentStack and links to its original source — we do not rehost the code.
- Author: agentproto
- Source: agentproto/ts
- License: Apache-2.0
- Homepage: https://agentproto.sh
Install and usage instructions live in the source repository linked above.
Reviews
No reviews yet, be the first.
Write a review
Versions
- v0.1.0 Imported from the upstream source.