@talesofai/neta-skills 0.6.0

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.
Files changed (140) hide show
  1. package/CHANGELOG.md +47 -0
  2. package/LICENSE +21 -0
  3. package/README.en.md +234 -0
  4. package/README.md +237 -0
  5. package/bin/apis/activity.js +14 -0
  6. package/bin/apis/artifact.js +64 -0
  7. package/bin/apis/audio.js +10 -0
  8. package/bin/apis/collection.js +87 -0
  9. package/bin/apis/config.js +49 -0
  10. package/bin/apis/feeds.js +34 -0
  11. package/bin/apis/gpt.js +10 -0
  12. package/bin/apis/hashtag.js +23 -0
  13. package/bin/apis/index.js +62 -0
  14. package/bin/apis/prompt.js +120 -0
  15. package/bin/apis/recsys.js +29 -0
  16. package/bin/apis/space.js +48 -0
  17. package/bin/apis/task.js +21 -0
  18. package/bin/apis/tcp.js +16 -0
  19. package/bin/apis/types.js +76 -0
  20. package/bin/apis/user.js +45 -0
  21. package/bin/apis/verse.js +18 -0
  22. package/bin/cli.js +16 -0
  23. package/bin/commands/community/create_comment.cmd.en_us.yml +4 -0
  24. package/bin/commands/community/create_comment.cmd.js +40 -0
  25. package/bin/commands/community/create_comment.cmd.zh_cn.yml +3 -0
  26. package/bin/commands/community/favor_collection.cmd.en_us.yml +4 -0
  27. package/bin/commands/community/favor_collection.cmd.js +29 -0
  28. package/bin/commands/community/favor_collection.cmd.zh_cn.yml +3 -0
  29. package/bin/commands/community/get_fan_list.cmd.en_us.yml +4 -0
  30. package/bin/commands/community/get_fan_list.cmd.js +36 -0
  31. package/bin/commands/community/get_fan_list.cmd.zh_cn.yml +3 -0
  32. package/bin/commands/community/get_hashtag_characters.cmd.en_us.yml +4 -0
  33. package/bin/commands/community/get_hashtag_characters.cmd.js +46 -0
  34. package/bin/commands/community/get_hashtag_characters.cmd.zh_cn.yml +3 -0
  35. package/bin/commands/community/get_hashtag_collections.cmd.en_us.yml +6 -0
  36. package/bin/commands/community/get_hashtag_collections.cmd.js +54 -0
  37. package/bin/commands/community/get_hashtag_collections.cmd.zh_cn.yml +5 -0
  38. package/bin/commands/community/get_hashtag_info.cmd.en_us.yml +4 -0
  39. package/bin/commands/community/get_hashtag_info.cmd.js +42 -0
  40. package/bin/commands/community/get_hashtag_info.cmd.zh_cn.yml +3 -0
  41. package/bin/commands/community/get_subscribe_list.cmd.en_us.yml +4 -0
  42. package/bin/commands/community/get_subscribe_list.cmd.js +36 -0
  43. package/bin/commands/community/get_subscribe_list.cmd.zh_cn.yml +3 -0
  44. package/bin/commands/community/like_collection.cmd.en_us.yml +4 -0
  45. package/bin/commands/community/like_collection.cmd.js +29 -0
  46. package/bin/commands/community/like_collection.cmd.zh_cn.yml +4 -0
  47. package/bin/commands/community/list_space_topics.cmd.en_us.yml +7 -0
  48. package/bin/commands/community/list_space_topics.cmd.js +39 -0
  49. package/bin/commands/community/list_space_topics.cmd.zh_cn.yml +6 -0
  50. package/bin/commands/community/list_spaces.cmd.en_us.yml +4 -0
  51. package/bin/commands/community/list_spaces.cmd.js +19 -0
  52. package/bin/commands/community/list_spaces.cmd.zh_cn.yml +3 -0
  53. package/bin/commands/community/read_collection.cmd.en_us.yml +4 -0
  54. package/bin/commands/community/read_collection.cmd.js +83 -0
  55. package/bin/commands/community/read_collection.cmd.zh_cn.yml +3 -0
  56. package/bin/commands/community/request_interactive_feed.cmd.en_us.yml +4 -0
  57. package/bin/commands/community/request_interactive_feed.cmd.js +54 -0
  58. package/bin/commands/community/request_interactive_feed.cmd.zh_cn.yml +5 -0
  59. package/bin/commands/community/subscribe_user.cmd.en_us.yml +4 -0
  60. package/bin/commands/community/subscribe_user.cmd.js +33 -0
  61. package/bin/commands/community/subscribe_user.cmd.zh_cn.yml +3 -0
  62. package/bin/commands/community/suggest_categories.cmd.en_us.yml +4 -0
  63. package/bin/commands/community/suggest_categories.cmd.js +26 -0
  64. package/bin/commands/community/suggest_categories.cmd.zh_cn.yml +3 -0
  65. package/bin/commands/community/suggest_content.cmd.en_us.yml +5 -0
  66. package/bin/commands/community/suggest_content.cmd.js +59 -0
  67. package/bin/commands/community/suggest_content.cmd.zh_cn.yml +4 -0
  68. package/bin/commands/community/suggest_keywords.cmd.en_us.yml +4 -0
  69. package/bin/commands/community/suggest_keywords.cmd.js +26 -0
  70. package/bin/commands/community/suggest_keywords.cmd.zh_cn.yml +3 -0
  71. package/bin/commands/community/suggest_tags.cmd.en_us.yml +4 -0
  72. package/bin/commands/community/suggest_tags.cmd.js +26 -0
  73. package/bin/commands/community/suggest_tags.cmd.zh_cn.yml +3 -0
  74. package/bin/commands/community/validate_tax_path.cmd.en_us.yml +4 -0
  75. package/bin/commands/community/validate_tax_path.cmd.js +24 -0
  76. package/bin/commands/community/validate_tax_path.cmd.zh_cn.yml +3 -0
  77. package/bin/commands/creative/edit_colleciton.cmd.en_us.yml +11 -0
  78. package/bin/commands/creative/edit_colleciton.cmd.js +140 -0
  79. package/bin/commands/creative/edit_colleciton.cmd.zh_cn.yml +10 -0
  80. package/bin/commands/creative/make_image.cmd.en_us.yml +20 -0
  81. package/bin/commands/creative/make_image.cmd.js +58 -0
  82. package/bin/commands/creative/make_image.cmd.zh_cn.yml +19 -0
  83. package/bin/commands/creative/make_song.cmd.en_us.yml +8 -0
  84. package/bin/commands/creative/make_song.cmd.js +53 -0
  85. package/bin/commands/creative/make_song.cmd.zh_cn.yml +7 -0
  86. package/bin/commands/creative/make_video.cmd.en_us.yml +17 -0
  87. package/bin/commands/creative/make_video.cmd.js +54 -0
  88. package/bin/commands/creative/make_video.cmd.zh_cn.yml +16 -0
  89. package/bin/commands/creative/publish_collection.cmd.en_us.yml +10 -0
  90. package/bin/commands/creative/publish_collection.cmd.js +101 -0
  91. package/bin/commands/creative/publish_collection.cmd.zh_cn.yml +9 -0
  92. package/bin/commands/creative/remove_background.cmd.en_us.yml +10 -0
  93. package/bin/commands/creative/remove_background.cmd.js +74 -0
  94. package/bin/commands/creative/remove_background.cmd.zh_cn.yml +9 -0
  95. package/bin/commands/creative/request_character_or_elementum.cmd.en_us.yml +23 -0
  96. package/bin/commands/creative/request_character_or_elementum.cmd.js +108 -0
  97. package/bin/commands/creative/request_character_or_elementum.cmd.zh_cn.yml +22 -0
  98. package/bin/commands/creative/search_tcp.cmd.en_us.yml +16 -0
  99. package/bin/commands/creative/search_tcp.cmd.js +53 -0
  100. package/bin/commands/creative/search_tcp.cmd.zh_cn.yml +15 -0
  101. package/bin/commands/factory.js +15 -0
  102. package/bin/commands/load.js +157 -0
  103. package/bin/utils/errors.js +61 -0
  104. package/bin/utils/json.js +8 -0
  105. package/bin/utils/lang.js +8 -0
  106. package/bin/utils/parse_meta.js +16 -0
  107. package/bin/utils/polling.js +17 -0
  108. package/bin/utils/prompts.js +186 -0
  109. package/package.json +77 -0
  110. package/skills/neta/SKILL.md +119 -0
  111. package/skills/neta-community/SKILL.md +123 -0
  112. package/skills/neta-creative/SKILL.md +118 -0
  113. package/skills/neta-space/SKILL.md +129 -0
  114. package/skills/neta-suggest/SKILL.md +490 -0
  115. package/skills/zh_cn/neta/SKILL.md +111 -0
  116. package/skills/zh_cn/neta/references/character-search.md +234 -0
  117. package/skills/zh_cn/neta/references/collection-remix.md +40 -0
  118. package/skills/zh_cn/neta/references/community-exploration.md +636 -0
  119. package/skills/zh_cn/neta/references/hashtag-research.md +295 -0
  120. package/skills/zh_cn/neta/references/image-generation.md +121 -0
  121. package/skills/zh_cn/neta/references/interactive-feed.md +377 -0
  122. package/skills/zh_cn/neta/references/social-interactive.md +73 -0
  123. package/skills/zh_cn/neta/references/song-creation.md +247 -0
  124. package/skills/zh_cn/neta/references/song-mv.md +198 -0
  125. package/skills/zh_cn/neta/references/space.md +90 -0
  126. package/skills/zh_cn/neta/references/video-generation.md +221 -0
  127. package/skills/zh_cn/neta-community/SKILL.md +109 -0
  128. package/skills/zh_cn/neta-community/references/character-search.md +233 -0
  129. package/skills/zh_cn/neta-community/references/hashtag-research.md +295 -0
  130. package/skills/zh_cn/neta-community/references/interactive-feed.md +377 -0
  131. package/skills/zh_cn/neta-community/references/social-interactive.md +73 -0
  132. package/skills/zh_cn/neta-creative/SKILL.md +105 -0
  133. package/skills/zh_cn/neta-creative/references/character-search.md +233 -0
  134. package/skills/zh_cn/neta-creative/references/collection-remix.md +40 -0
  135. package/skills/zh_cn/neta-creative/references/image-generation.md +121 -0
  136. package/skills/zh_cn/neta-creative/references/song-creation.md +247 -0
  137. package/skills/zh_cn/neta-creative/references/song-mv.md +198 -0
  138. package/skills/zh_cn/neta-creative/references/video-generation.md +221 -0
  139. package/skills/zh_cn/neta-space/SKILL.md +126 -0
  140. package/skills/zh_cn/neta-suggest/SKILL.md +662 -0
@@ -0,0 +1,490 @@
1
+ ---
2
+ name: neta-suggest
3
+ description: Neta API research and recommendation skill — provide keyword/tag/category suggestions, validate taxonomy paths, and power multi‑mode content feeds, supporting progressive exploration from broad to precise. Use this skill when the user has no clear goal, wants topic/idea suggestions, or needs systematic content filtering by keywords/categories. It does not directly generate media (handled by neta-creative); community interactions are handled by neta-community.
4
+ ---
5
+
6
+ # Neta Suggest Skill
7
+
8
+ ## Instructions
9
+
10
+ 1. For research‑type tasks like “find me some ideas”, “what’s trending now”, or “filter content by a theme/category”, follow this flow:
11
+ 2. Recommended path: **browse categories → discover tags → validate paths → fetch content** (the “Progressive Exploration” section below contains full command examples).
12
+ 3. Before content creation, use this skill to research topics/tags/categories, then hand off to `neta-creative` for concrete creation.
13
+ 4. When the user wants to like/comment or otherwise interact with specific works, switch to `neta-community`.
14
+
15
+ ## Prerequisites
16
+
17
+ Make sure the `NETA_TOKEN` environment variable is set.
18
+
19
+ Install the latest version of the Neta CLI:
20
+
21
+ ```bash
22
+ neta-cli --version
23
+ 0.6.0
24
+ ```
25
+
26
+ ```bash
27
+ npm i @talesofai/neta-cli@latest -g
28
+ ```
29
+
30
+ ```bash
31
+ pnpm add -g @talesofai/neta-cli@latest
32
+ ```
33
+
34
+ ## Core capabilities
35
+
36
+ ### 1. suggest_keywords — keyword suggestions
37
+
38
+ Provide popular search keyword suggestions based on an input prefix, helping users discover directions of interest.
39
+
40
+ ```bash
41
+ neta-cli suggest_keywords --prefix "game" --size 20
42
+ ```
43
+
44
+ **Parameters**
45
+
46
+ - `--prefix`: keyword prefix (required)
47
+ - `--size`: number of results, recommended 10–20 (optional)
48
+
49
+ **Use cases**
50
+
51
+ - User only has a vague idea.
52
+ - Explore trending topics and themes.
53
+ - Prepare for later precise filtering.
54
+
55
+ ### 2. suggest_tags — related tag suggestions
56
+
57
+ Recommend related taxonomy tags based on a full keyword.
58
+
59
+ ```bash
60
+ neta-cli suggest_tags --keyword "character design" --size 15
61
+ ```
62
+
63
+ **Parameters**
64
+
65
+ - `--keyword`: full keyword (required)
66
+ - `--size`: number of results, recommended 10–20 (optional)
67
+
68
+ **Use cases**
69
+
70
+ - Understand which tags surround a topic.
71
+ - Discover popular tags in a vertical domain.
72
+ - Choose suitable tags for publishing content.
73
+
74
+ ### 3. suggest_categories — category navigation
75
+
76
+ Provide navigation suggestions in a 3‑level category hierarchy, supporting step‑by‑step exploration.
77
+
78
+ ```bash
79
+ # Level 1 (top‑level categories)
80
+ neta-cli suggest_categories --level 1
81
+
82
+ # Level 2 (requires parent path)
83
+ neta-cli suggest_categories --level 2 --parent_path "Derivative Creation"
84
+
85
+ # Level 3 (most granular)
86
+ neta-cli suggest_categories --level 3 --parent_path "Derivative Creation>Fan Works"
87
+ ```
88
+
89
+ **Parameters**
90
+
91
+ - `--level`: category level (1/2/3) (required)
92
+ - `--parent_path`: parent category path, required when level > 1 (optional)
93
+
94
+ **Example taxonomy**
95
+
96
+ ```text
97
+ Level 1
98
+ ├─ Derivative Creation
99
+ │ ├─ Fan Works (Level 2)
100
+ │ │ ├─ Honkai: Star Rail (Level 3)
101
+ │ │ └─ Genshin Impact (Level 3)
102
+ │ └─ Digital Art
103
+ ├─ Lifestyle
104
+ └─ ...
105
+ ```
106
+
107
+ **Use cases**
108
+
109
+ - Systematically understand the platform’s category structure.
110
+ - Navigate by following the tree to find specific domains.
111
+ - Validate candidate category paths.
112
+
113
+ ### 4. validate_tax_path — validate taxonomy path
114
+
115
+ Validate that a taxonomy path string is valid before using it.
116
+
117
+ ```bash
118
+ neta-cli validate_tax_path --tax_path "Derivative Creation>Fan Works>Honkai: Star Rail"
119
+ ```
120
+
121
+ **Parameters**
122
+
123
+ - `--tax_path`: full taxonomy path (required)
124
+
125
+ **Use cases**
126
+
127
+ - Validate paths before using them in filters.
128
+ - Ensure taxonomy paths are accurate.
129
+
130
+ ### 5. suggest_content — intelligent content feed
131
+
132
+ Powerful content recommendation tool supporting three modes: **recommend**, **search**, and **exact**.
133
+
134
+ ```bash
135
+ # Mode 1: recommend (broad exploration)
136
+ neta-cli suggest_content \
137
+ --page_index 0 \
138
+ --page_size 20 \
139
+ --scene agent_intent \
140
+ --intent recommend
141
+
142
+ # Mode 2: search (keyword‑based)
143
+ neta-cli suggest_content \
144
+ --page_index 0 \
145
+ --page_size 20 \
146
+ --scene agent_intent \
147
+ --intent search \
148
+ --search_keywords "character,creativity"
149
+
150
+ # Mode 3: exact (category filtering)
151
+ neta-cli suggest_content \
152
+ --page_index 0 \
153
+ --page_size 20 \
154
+ --scene agent_intent \
155
+ --intent exact \
156
+ --tax_paths "Derivative Creation>Fan Works"
157
+
158
+ # Combined filters
159
+ neta-cli suggest_content \
160
+ --page_index 0 \
161
+ --page_size 20 \
162
+ --scene agent_intent \
163
+ --intent search \
164
+ --search_keywords "AI,painting" \
165
+ --tax_paths "Digital Art>Concept Art" \
166
+ --exclude_keywords "test,discarded"
167
+ ```
168
+
169
+ **Parameters**
170
+
171
+ - `--page_index`: page index, starting from 0 (default 0)
172
+ - `--page_size`: items per page, 1–40 (default 20)
173
+ - `--scene`: scene identifier (default `"agent_intent"`)
174
+ - `--biz_trace_id`: session trace ID (optional)
175
+ - `--intent`: `recommend` \| `search` \| `exact` (default `recommend`)
176
+ - `--search_keywords`: search keywords, separated by commas (optional)
177
+ - `--tax_paths`: taxonomy paths, separated by commas (optional)
178
+ - `--tax_primaries`: level‑1 categories (optional)
179
+ - `--tax_secondaries`: level‑2 categories (optional)
180
+ - `--tax_tertiaries`: level‑3 categories (optional)
181
+ - `--exclude_keywords`: excluded keywords (optional)
182
+ - `--exclude_tax_paths`: excluded taxonomy paths (optional)
183
+
184
+ ## Progressive exploration
185
+
186
+ ### Standard path (broad → narrow)
187
+
188
+ ```text
189
+ graph LR
190
+ A[Browse categories] --> B[Discover tags]
191
+ B --> C[Validate paths]
192
+ C --> D[Fetch content]
193
+ ```
194
+
195
+ #### Step 1: browse category system
196
+
197
+ ```bash
198
+ # View all level‑1 categories
199
+ neta-cli suggest_categories --level 1
200
+ # Example output: ["Derivative Creation", "Digital Art", "Lifestyle"]
201
+
202
+ # Dive into an interesting category
203
+ neta-cli suggest_categories --level 2 --parent_path "Derivative Creation"
204
+ # Example: ["Fan Works", "Original Stories", "Interactive Fiction"]
205
+ ```
206
+
207
+ #### Step 2: discover related tags
208
+
209
+ ```bash
210
+ # Find tags from a keyword
211
+ neta-cli suggest_tags --keyword "Fan Works" --size 15
212
+ # Example: ["Honkai: Star Rail", "Genshin Impact", "Arknights"]
213
+
214
+ # Use keyword suggestions to help
215
+ neta-cli suggest_keywords --prefix "Hon" --size 10
216
+ ```
217
+
218
+ #### Step 3: validate taxonomy path
219
+
220
+ ```bash
221
+ neta-cli validate_tax_path \
222
+ --tax_path "Derivative Creation>Fan Works>Honkai: Star Rail"
223
+ ```
224
+
225
+ #### Step 4: fetch recommended content
226
+
227
+ ```bash
228
+ # Exact mode: filter by taxonomy only
229
+ neta-cli suggest_content \
230
+ --intent exact \
231
+ --tax_paths "Derivative Creation>Fan Works>Honkai: Star Rail" \
232
+ --page_size 20
233
+
234
+ # Search mode: combine keyword and taxonomy
235
+ neta-cli suggest_content \
236
+ --intent search \
237
+ --search_keywords "Honkai: Star Rail,fan art" \
238
+ --tax_paths "Derivative Creation>Fan Works" \
239
+ --page_size 20
240
+ ```
241
+
242
+ ## Common scenarios
243
+
244
+ ### Scenario 1: exploration without a clear goal
245
+
246
+ User is just browsing with no specific goal.
247
+
248
+ ```bash
249
+ neta-cli suggest_content \
250
+ --intent recommend \
251
+ --page_size 20
252
+ ```
253
+
254
+ Tips:
255
+
256
+ - Avoid constraints at first.
257
+ - Let the system recommend based on popularity.
258
+ - Good for serendipitous discovery.
259
+
260
+ ### Scenario 2: vague interest direction
261
+
262
+ User has a rough topic in mind but not specific content.
263
+
264
+ ```bash
265
+ # Step 1: keyword suggestions
266
+ neta-cli suggest_keywords --prefix "game" --size 15
267
+
268
+ # Step 2: tag suggestions
269
+ neta-cli suggest_tags --keyword "game" --size 15
270
+
271
+ # Step 3: search mode
272
+ neta-cli suggest_content \
273
+ --intent search \
274
+ --search_keywords "Genshin Impact" \
275
+ --page_size 20
276
+ ```
277
+
278
+ ### Scenario 3: clear category goal
279
+
280
+ ```bash
281
+ # Step 1: confirm taxonomy path
282
+ neta-cli suggest_categories --level 1
283
+ neta-cli suggest_categories --level 2 --parent_path "Derivative Creation"
284
+
285
+ # Step 2: validate path
286
+ neta-cli validate_tax_path \
287
+ --tax_path "Derivative Creation>Fan Works>Honkai: Star Rail"
288
+
289
+ # Step 3: exact filter
290
+ neta-cli suggest_content \
291
+ --intent exact \
292
+ --tax_paths "Derivative Creation>Fan Works>Honkai: Star Rail" \
293
+ --page_size 20
294
+ ```
295
+
296
+ ### Scenario 4: pre‑creation research
297
+
298
+ ```bash
299
+ # Step 1: understand popular tags
300
+ neta-cli suggest_tags --keyword "character writing" --size 20
301
+
302
+ # Step 2: inspect related categories
303
+ neta-cli suggest_categories --level 2 --parent_path "Derivative Creation"
304
+
305
+ # Step 3: view popular content under that category
306
+ neta-cli suggest_content \
307
+ --intent search \
308
+ --search_keywords "character,setting" \
309
+ --tax_paths "Derivative Creation>Fan Works" \
310
+ --page_size 30
311
+ ```
312
+
313
+ ### Scenario 5: excluding unwanted content
314
+
315
+ ```bash
316
+ neta-cli suggest_content \
317
+ --intent search \
318
+ --search_keywords "AI,painting" \
319
+ --tax_paths "Digital Art" \
320
+ --exclude_keywords "tutorial,ad" \
321
+ --exclude_tax_paths "Digital Art>Courses" \
322
+ --page_size 20
323
+ ```
324
+
325
+ ## Parameter combination tips
326
+
327
+ ### Combination 1: keyword + taxonomy
328
+
329
+ ```bash
330
+ neta-cli suggest_content \
331
+ --intent search \
332
+ --search_keywords "video,editing" \
333
+ --tax_paths "Digital Art>Video Production" \
334
+ --page_size 20
335
+ ```
336
+
337
+ ### Combination 2: multi‑level taxonomy
338
+
339
+ ```bash
340
+ neta-cli suggest_content \
341
+ --intent exact \
342
+ --tax_paths "Derivative Creation>Fan Works>Honkai: Star Rail" \
343
+ --page_size 20
344
+ ```
345
+
346
+ ### Combination 3: recommend + exclusions
347
+
348
+ ```bash
349
+ neta-cli suggest_content \
350
+ --intent recommend \
351
+ --exclude_keywords "tutorial, repost" \
352
+ --exclude_tax_paths "Courses" \
353
+ --page_size 20
354
+ ```
355
+
356
+ ### Combination 4: pagination continuity
357
+
358
+ ```bash
359
+ # Page 1
360
+ neta-cli suggest_content \
361
+ --page_index 0 \
362
+ --page_size 20 \
363
+ --intent search \
364
+ --search_keywords "ideas" > /tmp/page0.json
365
+
366
+ # Extract biz_trace_id
367
+ BIZ_TRACE_ID=$(cat /tmp/page0.json | jq -r '.page_data.biz_trace_id')
368
+
369
+ # Page 2 (reuse same biz_trace_id)
370
+ neta-cli suggest_content \
371
+ --page_index 1 \
372
+ --page_size 20 \
373
+ --intent search \
374
+ --search_keywords "ideas" \
375
+ --biz_trace_id "$BIZ_TRACE_ID"
376
+ ```
377
+
378
+ ## Output formats
379
+
380
+ ### suggest_keywords / suggest_tags / suggest_categories
381
+
382
+ ```json
383
+ {
384
+ "suggestions": ["Suggestion 1", "Suggestion 2", "Suggestion 3"]
385
+ }
386
+ ```
387
+
388
+ ### validate_tax_path
389
+
390
+ Valid path:
391
+
392
+ ```json
393
+ {
394
+ "valid": true,
395
+ "message": "Path is valid"
396
+ }
397
+ ```
398
+
399
+ Invalid path:
400
+
401
+ ```json
402
+ {
403
+ "valid": false,
404
+ "message": "Error message"
405
+ }
406
+ ```
407
+
408
+ ### suggest_content
409
+
410
+ ```json
411
+ {
412
+ "module_list": [
413
+ {
414
+ "data_id": "module id",
415
+ "module_id": "module type",
416
+ "template_id": "template id",
417
+ "json_data": {}
418
+ }
419
+ ],
420
+ "page_data": {
421
+ "has_next_page": true,
422
+ "page_index": 0,
423
+ "page_size": 20,
424
+ "biz_trace_id": "trace id"
425
+ }
426
+ }
427
+ ```
428
+
429
+ ## Performance tips
430
+
431
+ 1. **Choose page_size wisely**
432
+ - Exploration: 10–15 for quick iteration.
433
+ - Deep browsing: 20–30 to reduce page switches.
434
+ - Precise lookup: 20–40 to fetch enough content at once.
435
+ 2. **Cache suggestions**
436
+ - Cache taxonomy and tag suggestions to avoid repeated calls.
437
+ 3. **Preload next‑level categories**
438
+ - While the user is viewing level‑1 categories, preload level‑2 categories in the background.
439
+ 4. **Batch‑validate taxonomy paths**
440
+ - Validate multiple candidate paths in parallel or via a simple script.
441
+
442
+ ## Debugging tips
443
+
444
+ 1. Turn on debug logs for `suggest_content` to verify parameters.
445
+ 2. Use exact mode with only taxonomy to test whether a path actually returns content.
446
+ 3. Compare `recommend`, `search`, and `exact` with the same topic to understand their differences.
447
+
448
+ ## FAQ
449
+
450
+ ### Q1: What’s the difference between suggest_keywords and suggest_tags?
451
+
452
+ - `suggest_keywords`: prefix‑based fuzzy matching, good for early exploration.
453
+ - `suggest_tags`: relevance‑based matching on full keywords, more precise.
454
+
455
+ ### Q2: Why does validate_tax_path succeed but suggest_content return empty?
456
+
457
+ Possible reasons:
458
+
459
+ 1. The taxonomy path is valid but currently has no content.
460
+ 2. Wrong intent mode (e.g., using `recommend` instead of `exact`).
461
+ 3. Other filters conflict.
462
+
463
+ ### Q3: How to choose the right intent?
464
+
465
+ | Intent | Use case | Required params |
466
+ |------------|-----------------------------|---------------------------|
467
+ | `recommend`| Browsing without clear goal | None |
468
+ | `search` | Keyword‑driven search | `search_keywords` |
469
+ | `exact` | Strict category filtering | `tax_paths` or taxonomy params |
470
+
471
+ ### Q4: How to use exclude_keywords and exclude_tax_paths?
472
+
473
+ Use them to aggressively filter noise content, but note they can significantly reduce result count.
474
+
475
+ ### Q5: How to maintain biz_trace_id across pages?
476
+
477
+ Always keep and reuse the **first** `biz_trace_id` returned for a given query instead of chaining from page to page.
478
+
479
+ ## Summary
480
+
481
+ Key points for using the exploration skill:
482
+
483
+ 1. **Progressive exploration**: Categories → Tags → Validation → Content.
484
+ 2. **Intent selection**: `recommend` for aimless browsing, `search` for keyword queries, `exact` for strict taxonomy.
485
+ 3. **Combination filters**: combine keywords with taxonomy for precise control.
486
+ 4. **Exclusions**: use `exclude_*` parameters judiciously to filter noise.
487
+ 5. **Session continuity**: maintain a consistent `biz_trace_id` for stable paging behavior.
488
+
489
+ By following these practices, you can explore and discover high‑quality content on the platform efficiently.
490
+
@@ -0,0 +1,111 @@
1
+ ---
2
+ name: neta
3
+ description: Neta 能力索引与路由 skill——帮助选择合适的 Neta 相关 skill(neta-space / neta-creative / neta-community / neta-suggest)。当需要了解 Neta 整体能力、决定当前任务该用哪个 skill 或从旧文档迁移时使用本 skill。
4
+ ---
5
+
6
+ # Neta Skill
7
+
8
+ 用于**总览和路由** Neta 相关技能,而不再直接执行具体命令。
9
+
10
+ > 本 skill 以前是一个「大而全」的 Neta 交互 skill,现已拆分为多个专职 skill。优先使用下方列出的子 skill;仅在需要了解能力地图或从旧文档迁移时使用本 skill。
11
+
12
+ ## 安装子 Skills
13
+
14
+ 在支持 `skills add` 的环境中,可以按需安装:
15
+
16
+ ```bash
17
+ # 空间与世界观
18
+ npx skills add talesofai/neta-skills/skills/zh_cn/neta-space
19
+
20
+ # 内容创作(图片/视频/歌曲/MV)
21
+ npx skills add talesofai/neta-skills/skills/zh_cn/neta-creative
22
+
23
+ # 社区浏览与互动
24
+ npx skills add talesofai/neta-skills/skills/zh_cn/neta-community
25
+
26
+ # 内容调研与推荐
27
+ npx skills add talesofai/neta-skills/skills/zh_cn/neta-suggest
28
+ ```
29
+
30
+ ## Instructions
31
+
32
+ 1. **判断当前任务类型**:先根据用户需求判断是「空间游览」「内容创作」「社区互动」「内容调研/推荐」中的哪一类。
33
+ 2. **选择对应子 skill**:
34
+ - 空间/世界观/玩法结构 → 使用 `neta-space`
35
+ - 生成图片/视频/歌曲/MV、拆解创作思路 → 使用 `neta-creative`
36
+ - 浏览推荐流、查看作品详情、点赞互动、社区视角浏览 → 使用 `neta-community`
37
+ - 关键词/标签/分类/推荐流调研、从宽到窄找题材 → 使用 `neta-suggest`
38
+ 3. **仅在边界不清或需要解释时使用本 skill**,帮用户说明应该选择哪一个子 skill。
39
+
40
+ ## 能力地图与子 Skill 说明
41
+
42
+ ### 1. 空间与世界观:`neta-space`
43
+
44
+ 负责:
45
+ - 列出可供游览的空间
46
+ - 获取空间/标签的世界观设定(lore)
47
+ - 获取空间的子空间、空间内角色与玩法 collections
48
+
49
+ 适用场景:
50
+ - 用户提到「世界观/宇宙/空间/场景设定」
51
+ - 想按空间/活动来浏览玩法和内容
52
+
53
+ 详见 `skills/zh_cn/neta-space/SKILL.md`。
54
+
55
+ ### 2. 内容创作:`neta-creative`
56
+
57
+ 负责:
58
+ - 生成图片、视频、歌曲、MV
59
+ - 移除图片背景
60
+ - 角色搜索与详情(创作语境下使用)
61
+ - 通过 `read_collection` 从作品反向拆解创作思路
62
+
63
+ 适用场景:
64
+ - 用户要「生成/修改 图片/视频/歌曲/MV」
65
+ - 想根据角色/设定进行创作
66
+ - 想分析某个作品的创作思路
67
+
68
+ 详见 `skills/zh_cn/neta-creative/SKILL.md`。
69
+
70
+ ### 3. 社区浏览与互动:`neta-community`
71
+
72
+ 负责:
73
+ - 获取互动推荐流
74
+ - 查看作品详情(社区语境下)
75
+ - 点赞等社区互动
76
+ - 基于标签/角色的社区内容浏览
77
+
78
+ 适用场景:
79
+ - 用户想「随便看看大家在玩什么」「刷推荐流」
80
+ - 想对作品进行点赞等互动
81
+
82
+ 详见 `skills/zh_cn/neta-community/SKILL.md`。
83
+
84
+ ### 4. 内容调研与推荐引擎:`neta-suggest`
85
+
86
+ 负责:
87
+ - 关键词建议(`suggest_keywords`)
88
+ - 标签建议(`suggest_tags`)
89
+ - 分类体系导航与路径验证(`suggest_categories` / `validate_tax_path`)
90
+ - 多模式内容推荐流(`suggest_content`)
91
+
92
+ 适用场景:
93
+ - 用户没有明确目标,只是「找个方向」「找题材」
94
+ - 想了解热门标签/分类结构/高热内容分布
95
+ - 内容创作前的系统性调研
96
+
97
+ 详见 `skills/zh_cn/neta-suggest/SKILL.md`。
98
+
99
+ ## 迁移说明(从旧 neta skill)
100
+
101
+ 如果遇到旧文档或指令中引用了 `neta` skill 下的命令,请按下表迁移到新的专职 skill:
102
+
103
+ | 旧能力 | 新 skill |
104
+ |----------------------------|--------------------|
105
+ | 空间/标签世界观、空间游览 | `neta-space` |
106
+ | 图片/视频/歌曲/MV 创作 | `neta-creative` |
107
+ | 作品详情、推荐流、点赞互动 | `neta-community` |
108
+ | 关键词/标签/分类/推荐调研 | `neta-suggest` |
109
+
110
+ 今后的实现中,请优先调用这些子 skill,不再在本 skill 中添加新的命令示例。
111
+