@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,123 @@
1
+ ---
2
+ name: neta-community
3
+ description: Neta API community skill — browse interactive feeds, view collection details, like and interact with content, and browse content by tags and characters in a community context. Use this skill when the user wants to “see what people are making”, “scroll the feed”, or “interact with works”. Do not use it for taxonomy/keyword‑level research (handled by neta-suggest) or for generating images/videos/songs (handled by neta-creative).
4
+ ---
5
+
6
+ # Neta Community Skill
7
+
8
+ Used to interact with the Neta API for community feed browsing, interactions, and tag‑based queries.
9
+
10
+ ## Instructions
11
+
12
+ 1. For tasks like **“see what’s in the community”**, **“scroll the feed”**, or **“like or interact with works”**, use this skill as follows:
13
+ 2. Recommended flow:
14
+ - Use the feed command to fetch a list of recommended content.
15
+ - Use the collection‑detail command to inspect a specific work.
16
+ - Perform likes and other interactions on works as needed.
17
+ 3. If the user needs **systematic research or complex filtering by categories/keywords**, switch to `neta-suggest`.
18
+ 4. If the user wants to **create new content** (images/videos/songs/MVs), switch to `neta-creative`.
19
+
20
+ ## Prerequisites
21
+
22
+ Make sure the `NETA_TOKEN` environment variable is set.
23
+
24
+ Install the latest version of the Neta CLI:
25
+
26
+ ```bash
27
+ neta-cli --version
28
+ 0.6.0
29
+ ```
30
+
31
+ ```bash
32
+ npm i @talesofai/neta-cli@latest -g
33
+ ```
34
+
35
+ ```bash
36
+ pnpm add -g @talesofai/neta-cli@latest
37
+ ```
38
+
39
+ ## Commands
40
+
41
+ ### Feed
42
+
43
+ **Get interactive feed**
44
+
45
+ ```bash
46
+ neta-cli request_interactive_feed --page_index 0 --page_size 3
47
+ ```
48
+
49
+ **Get collection details**
50
+
51
+ ```bash
52
+ neta-cli read_collection --uuid "collection-uuid"
53
+ ```
54
+
55
+ đź“– [Detailed guide](./references/interactive-feed.md)
56
+
57
+ ### Community interactions
58
+
59
+ ```bash
60
+ neta-cli like_collection --uuid "target collection UUID"
61
+ ```
62
+
63
+ đź“– [Detailed guide](./references/social-interactive.md)
64
+
65
+ ### Tag queries
66
+
67
+ **Get tag info**
68
+
69
+ ```bash
70
+ neta-cli get_hashtag_info --hashtag "tag_name"
71
+ ```
72
+
73
+ 📖 [Detailed guide](./references/hashtag-research.md) — research flow and analysis methods.
74
+
75
+ **Get characters under a tag**
76
+
77
+ ```bash
78
+ neta-cli get_hashtag_characters --hashtag "tag_name" --sort_by "hot"
79
+ ```
80
+
81
+ **Get collections under a tag**
82
+
83
+ ```bash
84
+ neta-cli get_hashtag_collections --hashtag "tag_name"
85
+ ```
86
+
87
+ ### Character queries
88
+
89
+ **Search characters**
90
+
91
+ ```bash
92
+ neta-cli search_character_or_elementum --keywords "keywords" --parent_type "character" --sort_scheme "exact"
93
+ ``]
94
+
95
+ 📖 [Detailed guide](./references/character-search.md) — search strategies and parameter choices.
96
+
97
+ **Get character details**
98
+
99
+ ```bash
100
+ neta-cli request_character_or_elementum --name "character_name"
101
+ ```
102
+
103
+ **Query by UUID**
104
+
105
+ ```bash
106
+ neta-cli request_character_or_elementum --uuid "uuid"
107
+ ```
108
+
109
+ ## Reference docs
110
+
111
+ | Scenario | Doc |
112
+ |--------------------------|---------------------------------------------------|
113
+ | 🎮 Interactive feed | [interactive-feed.md](./references/interactive-feed.md) |
114
+ | đź’¬ Community interactions| [social-interactive.md](./references/social-interactive.md) |
115
+ | 🏷️ Tag research | [hashtag-research.md](./references/hashtag-research.md) |
116
+ | 👤 Character queries | [character-search.md](./references/character-search.md) |
117
+
118
+ ## Usage tips
119
+
120
+ 1. **Browse before interacting**: use the feed first to understand the overall content landscape, then interact (like, etc.) with the works that matter.
121
+ 2. **Leverage tags**: combining tag queries with character searches quickly focuses on the most relevant set of works.
122
+ 3. **Combine with research/creation skills**: use `neta-suggest` for deeper tag/category research, and `neta-creative` when you want to create derivative works based on community content.
123
+
@@ -0,0 +1,118 @@
1
+ ---
2
+ name: neta-creative
3
+ description: Neta API creative skill — generate images, videos, songs, and MVs, and deconstruct creative ideas from existing works. Use this skill when the user wants to create or edit images/videos/songs/MVs, or create based on character settings and existing works. Do not use it for feed browsing or tag/category research (those are handled by neta-community and neta-suggest).
4
+ ---
5
+
6
+ # Neta Creative Skill
7
+
8
+ Used to interact with the Neta API for multimedia content creation and creation‑related character queries.
9
+
10
+ ## Instructions
11
+
12
+ 1. For tasks that **create or edit concrete assets** (images, videos, songs, MVs, background removal), follow this flow:
13
+ - Before creation, use **character queries** to fetch canonical character settings, then generate images/videos/songs based on them.
14
+ - To reverse‑engineer creative ideas from an existing work, call `read_collection` and combine the result with the guidance in the reference docs.
15
+ 2. If, during creation, you discover that the real need is more like “browse recommendations / casually explore / research topics”, combine this skill with `neta-community` or `neta-suggest` instead of overloading this skill.
16
+
17
+ ## Prerequisites
18
+
19
+ Make sure the `NETA_TOKEN` environment variable is set.
20
+
21
+ Also ensure the latest Neta CLI is installed:
22
+
23
+ ```bash
24
+ neta-cli --version
25
+ 0.6.0
26
+ ```
27
+
28
+ ```bash
29
+ npm i @talesofai/neta-cli@latest -g
30
+ ```
31
+
32
+ ```bash
33
+ pnpm add -g @talesofai/neta-cli@latest
34
+ ```
35
+
36
+ ## Commands
37
+
38
+ ### Content creation
39
+
40
+ **Generate image**
41
+
42
+ ```bash
43
+ neta-cli make_image --prompt "@character_name, /elementum_name, ref_img-uuid, description1, description2" --aspect "3:4"
44
+ ```
45
+
46
+ 📖 [Detailed guide](./references/image-generation.md) — prompt structure, aspect ratio choices, examples.
47
+
48
+ **Generate video**
49
+
50
+ ```bash
51
+ neta-cli make_video --image_source "image URL" --prompt "action description" --model "model_s"
52
+ ```
53
+
54
+ 📖 [Detailed guide](./references/video-generation.md) — motion description principles, model selection.
55
+
56
+ **Generate song**
57
+
58
+ ```bash
59
+ neta-cli make_song --prompt "style description" --lyrics "lyrics content"
60
+ ```
61
+
62
+ 📖 [Detailed guide](./references/song-creation.md) — style prompts, lyrics format.
63
+
64
+ **Create MV**
65
+
66
+ Combine an audio track and video to create a full MV.
67
+
68
+ 📖 [Detailed guide](./references/song-mv.md) — end‑to‑end workflow.
69
+
70
+ **Remove background**
71
+
72
+ ```bash
73
+ neta-cli remove_background --input_image "image_url"
74
+ ```
75
+
76
+ ### Character queries
77
+
78
+ **Search characters**
79
+
80
+ ```bash
81
+ neta-cli search_character_or_elementum --keywords "keywords" --parent_type "character" --sort_scheme "exact"
82
+ ```
83
+
84
+ 📖 [Detailed guide](./references/character-search.md) — search strategies and parameter choices.
85
+
86
+ **Get character details**
87
+
88
+ ```bash
89
+ neta-cli request_character_or_elementum --name "character_name"
90
+ ```
91
+
92
+ **Query by UUID**
93
+
94
+ ```bash
95
+ neta-cli request_character_or_elementum --uuid "uuid"
96
+ ```
97
+
98
+ ### Creative idea deconstruction
99
+
100
+ **Derive creative ideas from a work**
101
+
102
+ ```bash
103
+ neta-cli read_collection --uuid "collection-uuid"
104
+ ```
105
+
106
+ đź“– [Detailed guide](./references/collection-remix.md)
107
+
108
+ ## Reference docs
109
+
110
+ | Scenario | Doc |
111
+ |-----------------------|------------------------------------------|
112
+ | 🎨 Image generation | [image-generation.md](./references/image-generation.md) |
113
+ | 🎬 Video generation | [video-generation.md](./references/video-generation.md) |
114
+ | 🎵 Song generation | [song-creation.md](./references/song-creation.md) |
115
+ | 🎞️ MV creation | [song-mv.md](./references/song-mv.md) |
116
+ | 👤 Character queries | [character-search.md](./references/character-search.md) |
117
+ | 🖊️ Creative remixing | [collection-remix.md](./references/collection-remix.md) |
118
+
@@ -0,0 +1,129 @@
1
+ ---
2
+ name: neta-space
3
+ description: Neta API space and world‑view browsing skill — browse worldbuilding, sub‑spaces, and playable content by space/hashtag. Use this skill when the user talks about worlds/spaces/universes/scenes, or wants to browse characters and gameplay based on space and activity structure. Do not use it for concrete media creation (handled by neta-creative).
4
+ ---
5
+
6
+ # Neta Space Skill
7
+
8
+ Used to interact with the Neta API to browse space‑level content.
9
+
10
+ ## Instructions
11
+
12
+ 1. For tasks like **“what spaces/activities exist?”** or **“what is the structure and lore of a given space?”**, organize queries as follows:
13
+ 2. Recommended workflow:
14
+ - List all spaces.
15
+ - For a chosen space, fetch its details (lore, activities, metrics).
16
+ - Fetch sub‑spaces and their official/user collections.
17
+ - If needed, fetch characters and playable content inside the space.
18
+ 3. If the user says “now generate an image/video/song for this space”, first collect the relevant space/collection info here, then switch to `neta-creative` for creation.
19
+
20
+ ## Prerequisites
21
+
22
+ Make sure the `NETA_TOKEN` environment variable is set.
23
+
24
+ Install the latest version of the Neta CLI:
25
+
26
+ ```bash
27
+ neta-cli --version
28
+ 0.6.0
29
+ ```
30
+
31
+ ```bash
32
+ npm i @talesofai/neta-cli@latest -g
33
+ ```
34
+
35
+ ```bash
36
+ pnpm add -g @talesofai/neta-cli@latest
37
+ ```
38
+
39
+ ## Space concepts
40
+
41
+ > A space is a themed collection of gameplay experiences — a scene where content is produced and consumed.
42
+
43
+ ## Terminology
44
+
45
+ - **Hashtag**: tag/space. Used to build worlds and organize communities.
46
+ - **Collection**: browseable/remixable/editable content; can also refer to events, scenes, or gameplay within a space.
47
+ - **Activity**: a special hashtag driven by official events.
48
+
49
+ ## Space structure
50
+
51
+ - Space
52
+ - Lore/worldbuilding (lore)
53
+ - Characters
54
+ - Collections
55
+ - Sub‑spaces
56
+ - official_collections
57
+ - collections
58
+
59
+ ## Workflow
60
+
61
+ - List all spaces: `list_spaces`
62
+ - Get space details: `get_hashtag_info`
63
+ - Get sub‑spaces: `list_space_topics`
64
+ - Get content in a space or sub‑space: `get_hashtag_collections`, `get_hashtag_characters`
65
+
66
+ ## List available spaces
67
+
68
+ ```bash
69
+ neta-cli list_spaces
70
+ ```
71
+
72
+ **Response fields**
73
+
74
+ - `space_uuid`: UUID of the space
75
+ - `name`: space name
76
+ - `main_hashtag_name`: main hashtag
77
+ - `topic_count`: number of sub‑spaces (topics)
78
+
79
+ ## Get detailed space info
80
+
81
+ ```bash
82
+ neta-cli get_hashtag_info --hashtag "space_tag_name"
83
+ ```
84
+
85
+ **Response includes:**
86
+
87
+ - Tag lore (worldbuilding)
88
+ - Activity details
89
+ - Popularity metrics
90
+ - Subscription count
91
+
92
+ ## Get sub‑spaces
93
+
94
+ ```bash
95
+ neta-cli list_space_topics --space_uuid "space UUID"
96
+ ```
97
+
98
+ **Response includes:**
99
+
100
+ - `primary_topic`: main topic
101
+ - `topics`: list of sub‑spaces
102
+ - `official_collections`
103
+
104
+ ## Get characters in a space
105
+
106
+ ```bash
107
+ neta-cli get_hashtag_characters --hashtag "space_tag_name" --sort_by "hot"
108
+ ```
109
+
110
+ ## Get scenes/events/content in a space
111
+
112
+ ```bash
113
+ neta-cli get_hashtag_collections --hashtag "tag_name"
114
+ ```
115
+
116
+ ## Get detailed info for a specific gameplay
117
+
118
+ ```bash
119
+ neta-cli read_collection --uuid "official_collections in topic | collections in hashtag"
120
+ ```
121
+
122
+ ## Content creation
123
+
124
+ For content creation within a space, use the dedicated creative skill:
125
+
126
+ ```bash
127
+ npx skills add talesofai/neta-skills/skills/neta-creative
128
+ ```
129
+