@acedatacloud/skills 2026.801.1 → 2026.801.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/skills/tiktok/SKILL.md +12 -22
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@acedatacloud/skills",
|
|
3
|
-
"version": "2026.801.
|
|
3
|
+
"version": "2026.801.2",
|
|
4
4
|
"description": "Agent Skills for AceDataCloud AI services — music, image, video generation, LLM chat, web search. Compatible with Claude Code, GitHub Copilot, Gemini CLI, OpenAI Codex, and 30+ AI coding agents.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"agent-skills",
|
package/skills/tiktok/SKILL.md
CHANGED
|
@@ -1,19 +1,18 @@
|
|
|
1
1
|
---
|
|
2
2
|
name: tiktok
|
|
3
|
-
description: Post videos to the user's TikTok — either published directly (with caption and privacy the user chooses) or uploaded to their drafts/inbox
|
|
3
|
+
description: Post videos to the user's TikTok — either published directly (with caption and privacy the user chooses) or uploaded to their drafts/inbox. Use when the user wants to publish or post a generated video to TikTok, send a video to their TikTok drafts, or check which TikTok account is connected.
|
|
4
4
|
when_to_use: |
|
|
5
5
|
Trigger when the user wants to push a video (e.g. one generated by
|
|
6
|
-
the video skills) to TikTok
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
the user before posting — never post unattended.
|
|
6
|
+
the video skills) to TikTok. Direct Post publishes immediately with a
|
|
7
|
+
caption and a privacy level the user picks; Upload drops it into
|
|
8
|
+
drafts for them to finish in the app. Always confirm caption and
|
|
9
|
+
privacy with the user before posting — never post unattended.
|
|
11
10
|
connections: [tiktok]
|
|
12
11
|
allowed_tools: [Bash]
|
|
13
12
|
license: Apache-2.0
|
|
14
13
|
metadata:
|
|
15
14
|
author: acedatacloud
|
|
16
|
-
version: "2.
|
|
15
|
+
version: "2.1"
|
|
17
16
|
---
|
|
18
17
|
|
|
19
18
|
Call the **TikTok API v2** with `curl + jq`. The user's OAuth bearer token is in
|
|
@@ -33,24 +32,15 @@ Responses wrap everything in `{"data":…,"error":{"code","message","log_id"}}`.
|
|
|
33
32
|
## Read the account
|
|
34
33
|
|
|
35
34
|
```bash
|
|
36
|
-
#
|
|
37
|
-
curl -sS -H "$AUTH" "$T/user/info/?fields=open_id,display_name,avatar_url
|
|
35
|
+
# Basic profile — open_id identifies the user for every posting call
|
|
36
|
+
curl -sS -H "$AUTH" "$T/user/info/?fields=open_id,display_name,avatar_url" \
|
|
38
37
|
| jq '.data.user'
|
|
39
38
|
```
|
|
40
39
|
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
while each video's `create_time` is in **seconds**.
|
|
46
|
-
|
|
47
|
-
```bash
|
|
48
|
-
curl -sS -X POST -H "$AUTH" -H "Content-Type: application/json" \
|
|
49
|
-
"$T/video/list/?fields=id,title,video_description,create_time,duration,cover_image_url,share_url,view_count,like_count,comment_count,share_count" \
|
|
50
|
-
-d '{"max_count":20}' | jq '{videos:.data.videos, cursor:.data.cursor, has_more:.data.has_more}'
|
|
51
|
-
```
|
|
52
|
-
|
|
53
|
-
Only **public** videos are returned, newest first.
|
|
40
|
+
Follower / like counts, bio, and the user's video list need the **Display API**
|
|
41
|
+
scopes (`user.info.stats`, `user.info.profile`, `video.list`), which this app
|
|
42
|
+
has not been granted — don't call `/v2/video/list/` or request those fields,
|
|
43
|
+
they will fail with `scope_not_authorized`.
|
|
54
44
|
|
|
55
45
|
## Direct Post — publish straight to the account
|
|
56
46
|
|