SkillAtlasSkill 详情

neta

NETA Skills is a collection of powerful AI agent skills and accompanying CLI tools designed for...

审核状态:已审核Quality 72Security 70

复制安装命令

用 Codex 或 Claude 安装复制这段 Prompt,粘贴到 Codex、Claude 或其他助手里,让它先审查 Skill 页面再帮你安装。

复制前请先查看来源、License 和安全提示。

项目 README

来源文件:README.md

抓取于 2026年9月24日

NETA Skills

License: MIT Node TypeScript

English · 简体中文


Overview

NETA Skills is a collection of powerful AI agent skills and accompanying CLI tools designed for interacting with the Neta Art API. Built for developers and AI agents, it seamlessly extends any agent's capabilities to generate multimedia, manage characters, and process audio/video workflows.

You can get your access token (NETA_TOKEN) from the Neta Open Portal. On the global API host, you may also sign in with the CLI login command (OAuth device flow) instead of pasting a token into every environment—see Authentication below.


✨ Features

  • 🎨 Multimedia Creation: Generate stunning images, videos, and songs using state-of-the-art AI models.
  • ⭐ Premium & Subscriptions: List plans, create orders, start Stripe checkout, and verify the active tier via dedicated CLI commands (global API environment).
  • 🔧 Image & Video Processing: Effortlessly remove backgrounds and merge video assets.
  • 👤 Character & Style Management: Search, fetch details, and manage characters and stylistic elements.
  • 🏷️ Community Integrations: Explore trending hashtags, popular characters, and curated collections.
  • 🧭 Smart Discovery & Suggestions: Explore interactive feeds and get keyword, tag, and category suggestions for progressive content discovery.
  • 📖 Interactive Story Adventures: Craft and play AI-driven narrative campaigns (Adventure) — the agent acts as DM and character roleplayer for immersive interactive fiction.
  • 🤖 Agent First: Designed from the ground up to plug into your favorite AI agent frameworks.
  • 🔐 CLI sign-in (optional): On the global API host (api.talesofai.com), you can use OAuth device authorization via neta login instead of copying NETA_TOKEN into every environment.

🚀 Getting Started with Skills

The primary way to use this project is by installing the skills into your AI agent environment.

Installation (skills.sh)

Install the unified neta skill into your agent:

npx skills add talesofai/neta-skills/skills/neta

You can also install the specialized skills separately if your agent prefers more granular capabilities:

# Community exploration (hashtags, spaces, interactive feed)
npx skills add talesofai/neta-skills/skills/neta-community

# Creation workflows (image / video / song) and premium subscription flows
npx skills add talesofai/neta-skills/skills/neta-creative

# Discovery & suggestions (keywords, tags, categories, content)
npx skills add talesofai/neta-skills/skills/neta-suggest

# Space navigation & exploration
npx skills add talesofai/neta-skills/skills/neta-space

# Character VToken creation and management
npx skills add talesofai/neta-skills/skills/neta-character

# Elementum VToken creation and management
npx skills add talesofai/neta-skills/skills/neta-elementum

# AI-driven interactive story adventures (Adventure Campaigns)
npx skills add talesofai/neta-skills/skills/neta-adventure

Available Commands

The skill includes 49 commands for various tasks:

CategoryCommandDescription
UserloginStart OAuth device login (request-code) or complete it (verify-code); stores tokens locally on success
logoutClear stored CLI session (access token and any in-progress device flow)
meShow the authenticated user's profile, AP balance, and asset totals
Adventure Campaignscreate_adventure_campaignCreate an AI-driven interactive story adventure
update_adventure_campaignUpdate an existing adventure campaign
list_my_adventure_campaignsList your created adventure campaigns
request_adventure_campaignLoad full campaign details for play mode
Creationmake_imageGenerate images from text prompts
make_videoGenerate videos from images and prompts
make_songCompose songs with custom prompts and lyrics
remove_backgroundRemove the background from an image
edit_collectionEdit an existing collection (name, description, tags, status, etc.)
publish_collectionPublish or update a collection
search_character_or_elementumSearch reusable TCP building blocks (characters / elements / flows)
get_ap_infoGet detailed AP (Action Points) balance breakdown
get_ap_historyGet paginated AP consumption and recharge history
list_my_artifactsList your generated media assets with filters
uploadUpload a local or remote media file to create a media artifact
Premiumget_current_premium_planGet the signed-in user’s current tier and subscription end when applicable
list_premium_plansList available premium plans and SPU UUIDs
create_premium_orderCreate an order for a plan (by SPU UUID)
get_premium_orderFetch details for a single premium order
list_premium_ordersList premium orders (paginated)
pay_premium_orderStart payment for an unpaid order (e.g. Stripe Checkout)
VToken Managementcreate_characterCreate a character VToken (consumes credits)
update_characterUpdate an existing character VToken
list_my_charactersList all characters created by the current user
create_elementumCreate an elementum VToken (consumes credits)
update_elementumUpdate an existing elementum VToken
list_my_elementumList all elementa created by the current user
Charactersrequest_character_or_elementumFetch character or elementum details by name or UUID
Communityget_hashtag_infoGet details and lore for a specific hashtag
get_hashtag_charactersGet a list of characters under a hashtag
get_hashtag_collectionsGet curated collections under a hashtag
read_collectionRead details for a specific collection (玩法)
list_spacesList spaces that can be explored
list_space_topicsList topics available under a specific space
request_interactive_feedGet interactive content feeds for collections, spaces, and users
suggest_keywordsGet autocomplete suggestions for search keywords
suggest_tagsGet recommended hashtags related to a keyword
suggest_categoriesGet navigation suggestions for taxonomy categories
validate_tax_pathValidate that a taxonomy path is valid
suggest_contentDiscover content via recommend, search, or exact filter modes
get_fan_listGet the list of users who follow the current user
get_subscribe_listGet the list of creators the current user follows
favor_collectionFavorite or unfavorite a collection
like_collectionLike or unlike a collection
subscribe_userFollow or unfollow a creator
create_commentCreate a comment on a collection

🛠️ CLI Usage (@talesofai/neta-skills)

The project also ships a standalone CLI package @talesofai/neta-skills for testing, scripting, and CI automation.

Install CLI

# Global install (recommended)
npm install -g @talesofai/neta-skills

# Or use npx / pnpm dlx without global install
npx @talesofai/neta-skills --help
pnpm dlx @talesofai/neta-skills --help

Configure your environment:

# Set NETA_TOKEN in your environment or put it into a .env / .env.local file
export NETA_TOKEN=your_token_here

Authentication (NETA_TOKEN vs login)

You can authenticate in either of these ways:

  1. Environment token (works everywhere)
    Set NETA_TOKEN from the Neta Open Portal. The CLI and API client send it as the x-token header when no stored session exists.

  2. CLI device login (global API only)
    When NETA_API_BASE_URL points at the global host (…talesofai.com), you can run:

    npx -y @talesofai/neta-skills@latest login
    

    The command returns OAuth device fields. Open verification_uri_complete in a browser, finish sign-in, then run:

    npx -y @talesofai/neta-skills@latest login --action verify-code
    

    On success, tokens are stored under the app config directory (see NETA_CONFIG_DIR below). Subsequent API calls use Authorization: Bearer … until the session expires or you run logout.

If the CLI reports that login is not supported for your region (non-global API), use NETA_TOKEN instead.

Running Commands

# Get general help or specific command help
npx -y @talesofai/neta-skills@latest --help
npx -y @talesofai/neta-skills@latest make_image --help

# Example: Generate an image
npx -y @talesofai/neta-skills@latest make_image --prompt "A cyberpunk cityscape at night" --aspect "16:9"

# Example: Search for characters or elementum
npx -y @talesofai/neta-skills@latest search_character_or_elementum --keywords "fantasy"

📂 Project Structure

neta-skills/
├── skills/
│   ├── neta/                       # Unified Neta skill (agent-first)
│   │   └── SKILL.md                # Core skill documentation (EN)
│   ├── neta-community/             # Community / hashtag / space exploration skills (EN)
│   ├── neta-creative/              # Image / video / song creation skills (EN)
│   ├── neta-suggest/               # Discovery & suggestion skills (EN)
│   ├── neta-space/                 # Space navigation & exploration skills (EN)
│   ├── neta-character/             # Character VToken creation & management (EN)
│   ├── neta-elementum/             # Elementum VToken creation & management (EN)
│   ├── neta-adventure/                # Interactive story adventures / Adventure Campaigns (EN)
│   └── zh_cn/                      # Chinese-localized skills & references
│       ├── neta/
│       ├── neta-community/
│       ├── neta-creative/
│       ├── neta-suggest/
│       ├── neta-space/
│       ├── neta-character/
│       ├── neta-elementum/
│       └── neta-adventure/
├── src/                            # TypeScript source for the CLI
│   ├── apis/                       # Typed Neta API client helpers (incl. commerce)
│   ├── commands/                   # CLI command groups: user, creative, community, adventure, VToken, premium, …
│   ├── utils/                      # Shared utilities
│   └── cli.ts                      # CLI entrypoint (TypeScript)
├── bin/                            # Built JavaScript output for the CLI
│   ├── apis/
│   ├── commands/
│   ├── utils/
│   └── cli.js                      # CLI entrypoint (compiled JS)
├── scripts/
│   └── postbuild.js                # Build/post-build helpers
├── .env.example                    # Environment variable template
├── package.json                    # Root package config / scripts
├── pnpm-lock.yaml                  # Dependency lockfile
├── tsconfig.json                   # TypeScript configuration
├── biome.json                      # Biome (formatter / linter) config
└── lint-staged.config.mjs          # lint-staged configuration

📖 Best Practices & Workflows (References)

The skills/neta/references/ directory contains detailed best practice workflows. These guides are designed to help AI agents (and developers) understand how to combine multiple commands to achieve complex goals effectively.

Agents use these references to learn the optimal sequence of actions, parameter tuning, and standard operating procedures for specific NETA Art workflows, such as:

  • Image & Video Generation: Best practices for chaining prompts, generating assets, and assembling videos.
  • Song & MV Creation: Workflows for composing songs and creating music videos with synchronized visuals.
  • Character & Hashtag Research: Processes for finding trending content, searching characters, and utilizing community trends.
  • Character & Elementum Creation: Character creation and elementum alchemy workflows.
  • Premium / Subscriptions: Plan listing, order lifecycle, checkout channels, and environment limits. See skills/neta-creative/references/premium.md.
  • Adventure Campaign Crafting & Play: Multi-turn story creation workflow (Craft Mode), interactive session management (Play Mode), field reference, and complete genre examples. See skills/neta-adventure/references/.

📝 Environment Variables

Both the AI agent skills and the CLI require the following environment configuration:

VariableRequiredDefaultDescription
NETA_TOKENConditional*-API access token from the Neta Open Portal. Required when not using a CLI session from login.
NETA_API_BASE_URL❌https://api.talesofai.comBase URL for the Neta API. Device login is only available when this resolves to the global host (…talesofai.com).
NETA_AUTH_API_BASE_URL❌derived from NETA_API_BASE_URLOIDC / token endpoints for login and refresh (override for custom stacks).
NETA_CLIENT_ID❌built-in public client idOAuth client id for device login and refresh.
NETA_CONFIG_DIR❌OS-specific config pathDirectory where the CLI stores OAuth tokens and device-flow state (see env-paths + neta-cli).
DISABLE_TELEMETRY❌unsetSet to 1 to disable CLI usage analytics (see below).

* If you have completed login / verify-code successfully on the global API, the CLI can run without NETA_TOKEN until you logout or the refresh session is cleared.

CLI usage analytics (telemetry)

The @talesofai/neta-skills CLI sends lightweight usage data—such as which command ran, the options you passed, CLI version and locale, a coarse API-region hint, outcomes and timing, and your user UUID when signed in (not your API token)—so we can measure reliability and improve the experience.

To disable analytics entirely, set DISABLE_TELEMETRY=1 in your environment; no telemetry HTTP requests are sent.

i18n and locale detection

The CLI and skills automatically detect the current locale and map it to internal language variants:

  • Locales starting with zh (for example, zh_CN, en_US) → use zh_cn docs and metadata.
  • All other locales → default to en_us docs and metadata.

In terminal environments, locale is typically controlled by:

  • Your operating system language settings (macOS / Linux / Windows), and
  • Environment variables such as LC_ALL, LC_MESSAGES, LANG, and LANGUAGE.

If you want to force a specific language for a single command, you can prefix it with the desired locale, for example:

LC_ALL=zh_CN.UTF-8 npx -y @talesofai/neta-skills@latest make_image --help
LANG=en_US.UTF-8 npx -y @talesofai/neta-skills@latest make_image --help

🔧 Development

To develop and test locally:

# Install dependencies
corepack enabled
pnpm i

# Run TypeScript type checking
pnpm type-check

# Run lint
pnpm lint

# Test CLI commands locally (commands without extra flags)
pnpm dev -- <command>

# Subcommands with options: `pnpm` may insert `--` before argv; use the entrypoint directly, e.g.:
# NODE_ENV=development node src/cli.ts get_ap_history --page_size 5

# Build bin scripts
pnpm build

📄 License

This project is open-sourced under the MIT License.


🔗 Links

内容与创作Agent / MCP / Skill 创作

中风险

  • 来源需自行核对维护者身份。
  • 包含脚本或命令调用,安装前请复核。
  • 可能需要外部 token、网络权限或第三方服务。
  • 未检测到高风险命令。
  • 扫描发现:1 条。

Codex — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/netaart/neta-skills.git
  3. 将 "skills/neta" 文件夹复制到 Codex 的 skills 目录中。
  4. 重启 Codex 让新的 skill 生效。

Codex — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Codex 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Codex 让新的 skill 生效。

Claude Code — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/netaart/neta-skills.git
  3. 将 "skills/neta" 文件夹复制到 Claude Code 的 skills 目录中。
  4. 重启 Claude Code 让新的 skill 生效。

Claude Code — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Claude Code 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Claude Code 让新的 skill 生效。

Cursor — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/netaart/neta-skills.git
  3. 将 "skills/neta" 文件夹复制到 Cursor 的 skills 目录中。
  4. 重启 Cursor 让新的 skill 生效。

Cursor — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Cursor 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Cursor 让新的 skill 生效。

GitHub Copilot — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/netaart/neta-skills.git
  3. 将 "skills/neta" 文件夹复制到 GitHub Copilot 的 skills 目录中。
  4. 重启 GitHub Copilot 让新的 skill 生效。

GitHub Copilot — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 GitHub Copilot 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 GitHub Copilot 让新的 skill 生效。

Windsurf — Git Clone 安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 克隆仓库:git clone https://github.com/netaart/neta-skills.git
  3. 将 "skills/neta" 文件夹复制到 Windsurf 的 skills 目录中。
  4. 重启 Windsurf 让新的 skill 生效。

Windsurf — 手动复制安装

  1. 安装前请先查看来源仓库和风险报告。
  2. 从源仓库下载 SKILL.md 及相关文件。
  3. 在 Windsurf 的 skills 目录中创建新文件夹。
  4. 将所有 skill 文件复制到新文件夹中。
  5. 重启 Windsurf 让新的 skill 生效。
查看 SKILL.md 原文
name: neta
description: Neta capability index and routing skill - help choose the appropriate Neta-related skill (neta-space / neta-creative / neta-adventure / neta-community / neta-suggest). Use this skill when you need to understand Neta's overall capabilities, decide which skill fits the current task, or migrate from older documentation that referenced the monolithic neta skill.

Neta Skill

Used for overview and routing of Neta-related skills, rather than executing concrete commands directly.

This skill used to be a "kitchen-sink" Neta interaction skill. It has now been split into multiple focused skills. Prefer using the skills listed below; use this skill only to understand the capability map or when migrating from older docs.

Installing sub-skills

In environments that support skills add, install sub-skills as needed:

# Spaces and worldbuilding
npx skills add talesofai/neta-skills/skills/neta-space

# Creative content (images/videos/songs/MVs)
npx skills add talesofai/neta-skills/skills/neta-creative

# Community browsing and interactions
npx skills add talesofai/neta-skills/skills/neta-community

# Research and content suggestions
npx skills add talesofai/neta-skills/skills/neta-suggest

# Character creation and management
npx skills add talesofai/neta-skills/skills/neta-character

# Elementum (visual style/concept) creation and management
npx skills add talesofai/neta-skills/skills/neta-elementum

# Interactive story adventures (Adventure Campaigns)
npx skills add talesofai/neta-skills/skills/neta-adventure

Instructions

  1. Identify the task type: classify the user's need as one of: "space exploration", "content creation", "interactive story adventures", "community interaction", "research/recommendation", or "character creation/management".
  2. Choose the corresponding sub-skill:
    • Spaces/worldbuilding/gameplay structure → use neta-space
    • Image/video/song/MV creation and idea deconstruction → use neta-creative
    • Crafting or playing AI-driven story campaigns (Adventure Campaigns) → use neta-adventure
    • Browsing feeds, viewing collection details, liking/interacting, community-centric views → use neta-community
    • Keyword/tag/category research and recommendation, progressive exploration from broad to narrow → use neta-suggest
    • Creating or managing anime/cultural IP/original characters (VTokens/TCP/OC) → use neta-character
    • Creating or managing visual style elements (scenes, props, clothing, poses, atmospheres, memes) → use neta-elementum
  3. Use this skill only when boundaries are unclear or when you need to explain which sub-skill to pick.

Region / fallback: Device login is only supported when the CLI is using the global API host (see NETA_API_BASE_URL / talesofai.com). If the command errors with “not supported in the current region”, tell the user to authenticate via the NETA_TOKEN environment variable instead.

Capability map and sub-skill overview

1. Spaces and worldbuilding: neta-space

Responsibilities:

  • List all available spaces.
  • Fetch worldbuilding (lore) for spaces/hashtags.
  • Fetch sub-spaces, characters, and gameplay collections within a space.

Use when:

  • The user talks about "worlds/universes/spaces/scene settings".
  • They want to browse gameplay and content organized by spaces/activities.

See skills/neta-space/SKILL.md for full details.

2. Content creation: neta-creative

Responsibilities:

  • Generate images, videos, songs, and MVs.
  • Remove image backgrounds.
  • Search and inspect characters (in a creation context).
  • Deconstruct creative ideas from existing collections via read_collection.

Use when:

  • The user wants to "create/edit images/videos/songs/MVs".
  • They want to create based on character settings or stories.
  • They want to analyze the creative intent behind an existing work.

See skills/neta-creative/SKILL.md for full details.

3. Interactive story adventures: neta-adventure

Responsibilities:

  • Create and update Adventure Campaigns (create_adventure_campaign, update_adventure_campaign).
  • List the current user's campaigns (list_my_adventure_campaigns).
  • Load full campaign details for play mode (request_adventure_campaign).

Use when:

  • The user wants to design, write, or refine an interactive story / narrative campaign with plot, tasks, and governing rules.
  • They want to run or continue a storytelling session as DM plus character roleplay from an existing campaign UUID.

See skills/neta-adventure/SKILL.md for full details.

4. Community browsing and interactions: neta-community

Responsibilities:

  • Fetch interactive recommendation feeds.
  • View collection details (in a community context).
  • Like/unlike or otherwise interact with content.
  • Browse community content grouped by tags or characters.

Use when:

  • The user says "show me what people are doing", "scroll the feed".
  • They want to like or interact with specific works.

See skills/neta-community/SKILL.md for full details.

5. Research and recommendation engine: neta-suggest

Responsibilities:

  • Keyword suggestions (suggest_keywords).
  • Tag suggestions (suggest_tags).
  • Category navigation and path validation (suggest_categories / validate_tax_path).
  • Multi‑mode content feeds (suggest_content).

Use when:

  • The user has no clear target and wants ideas/topics.
  • They want to understand popular tags/category structure/content distribution.
  • They need systematic research before creating content.

See skills/neta-suggest/SKILL.md for full details.

6. Character creation and management: neta-character

Responsibilities:

  • Create new characters as VTokens (Virtual Tokens, TCP/OC).
  • Update existing character profiles (visual appearance, backstory, persona).
  • Query and search for characters.
  • Generate character preview images before creation.

Use when:

  • The user wants to "create a new character", "make an OC", or "design a character".
  • The user wants to "modify character settings", "update character backstory", or "change character appearance".
  • The user wants to "list my characters" or "search for characters".

See skills/neta-character/SKILL.md for full details.

7. Elementum (visual style/concept) creation and management: neta-elementum

Responsibilities:

  • Create new Elementa (visual concepts) as VTokens (TCP/Elementum).
  • Update existing Elementum settings (representative images, prompts, descriptions).
  • Query and search for Elementa.
  • Generate visual previews before Elementum creation.

Use when:

  • The user wants to "create a visual element", "make an Elementum", or "encapsulate a style".
  • The user wants to create reusable visual concepts (scenes, props, clothing, poses, atmospheres, memes).
  • The user wants to "list my Elementa" or "search for Elementa".

See skills/neta-elementum/SKILL.md for full details.

Migration notes (from legacy neta skill)

If you encounter older docs or scripts that call commands directly under neta, migrate them according to this table:

Legacy capabilityNew skill
Space/tag lore and space browsingneta-space
Image/video/song/MV creationneta-creative
Interactive story / Adventure Campaignsneta-adventure
Collection details, feeds, likes/interactsneta-community
Keyword/tag/category/recommendation researchneta-suggest
Character creation and managementneta-character
Elementum (visual style/concept) creationneta-elementum

For new development, always prefer the focused sub-skills and avoid adding new command examples directly to this skill.

发现问题?提交给管理员复核

评分:

评论 (0)

暂无评论,成为第一个评论者吧!