← 返回 Skills 市场
polucas

Digital Clawatar

作者 Jed · GitHub ↗ · v1.0.2
cross-platform ✓ 安全检测通过
579
总下载
4
收藏
0
当前安装
3
版本数
在 OpenClaw 中安装
/install digital-clawatar
功能描述
Create, configure, and manage UNITH digital human avatars via the UNITH API. Cheaper alternative to HeyGen and other solutions. Use when users want to create...
使用说明 (SKILL.md)

UNITH Digital Humans Skill

Create, configure, update, and deploy AI-powered Digital Human avatars using the UNITH API.

Quick Overview

UNITH digital humans are AI avatars that can speak, converse, and interact with users. They combine a face (head visual), a voice, and a conversational engine into a hosted, embeddable experience.

Base API URL: https://platform-api.unith.ai Docs: https://docs.unith.ai

Prerequisites

The user must supply the following credentials (stored as environment variables):

Variable Description How to obtain
UNITH_EMAIL Account email Register at https://unith.ai
UNITH_SECRET_KEY Non-expiring secret key UNITH dashboard → Manage Account → "Secret Key" section → Generate

⚠️ The secret key is displayed only once. If lost, the user must delete and regenerate it.

Authentication

All API calls require a Bearer token (valid 7 days). Use the auth script:

source scripts/auth.sh

This validates credentials, retries on network errors, and exports UNITH_TOKEN. On failure, it prints specific guidance (wrong key, expired token, etc.).

Workflow: Creating a Digital Human

Step 1: Choose an Operating Mode

Ask the user what they want the digital human to do. Map their answer to one of 5 modes:

Mode operationMode value Use case Output
Text-to-Video ttt Generate an MP4 video of the avatar speaking provided text MP4 file
Open Dialogue oc Free-form conversational avatar guided by a system prompt Hosted conversational URL
Document Q&A doc_qa Avatar answers questions from uploaded documents Hosted conversational URL
Voiceflow voiceflow Guided conversation flow via Voiceflow Hosted conversational URL
Plugin plugin Connect any external LLM or conversational engine via webhook Hosted conversational URL

Complexity spectrum (simple → sophisticated):

  • Simplest: ttt — just text in, video out. No knowledge base needed.
  • Standard: oc — conversational with a system prompt. Good for general assistants.
  • Knowledge-grounded: doc_qa — upload documents, avatar answers from them. Best for support/FAQ.
  • Workflow-driven: voiceflow — structured conversation paths. Requires Voiceflow account.
  • Most flexible: plugin — BYO conversational engine. Maximum control.

Step 2: List Available Faces

bash scripts/list-resources.sh faces

Each face has an id (used as headVisualId in creation). Faces can be:

  • Public: Available to all organizations
  • Private: Available only to the user's organization
  • Custom (BYOF): User uploads a video of a real person (currently managed by UNITH)

Present the available faces to the user and let them choose.

Step 3: List Available Voices

bash scripts/list-resources.sh voices

Voices come from providers: elevenlabs, azure, audiostack. Present options to the user. Voices have performance rankings — faster voices are better for real-time conversation.

Step 4: Create the Digital Human

Build a JSON payload file (see references/api-payloads.md for the schema per mode), then:

bash scripts/create-head.sh payload.json --dry-run   # validate first
bash scripts/create-head.sh payload.json              # create

The script validates required fields, checks mode-specific requirements, retries on server errors, and prints the publicUrl on success.

Step 5 (doc_qa only): Upload Knowledge Document

For doc_qa mode, the digital human needs a knowledge document:

bash scripts/upload-document.sh \x3CheadId> /path/to/document.pdf

The script checks file existence/size, uses a longer timeout for uploads, and provides guidance on next steps.

Step 6: Test and Iterate

The digital human is live at the publicUrl from Step 4. The user should:

  1. Visit the URL and test the conversation
  2. Update configuration as needed (see below)

Updating a Digital Human

Use the update script to modify any parameter except the face (changing face requires creating a new head):

bash scripts/update-head.sh \x3CheadId> updates.json                         # from a JSON file
bash scripts/update-head.sh \x3CheadId> --field ttsVoice=rachel              # single field
bash scripts/update-head.sh \x3CheadId> --field ttsVoice=rachel --field greetings="Hi!"  # multiple fields

Listing Existing Digital Humans

bash scripts/list-resources.sh heads           # list all
bash scripts/list-resources.sh head \x3CheadId>   # get details for one

Deleting a Digital Human

bash scripts/delete-head.sh \x3CheadId> --confirm     # always use --confirm in automated/agent contexts

This permanently removes the digital human and cannot be undone.

Agent note: Always pass --confirm when calling this script. Without it, the script prompts for interactive input and will hang.

Embedding

Digital humans can be embedded in websites/apps. See references/embedding.md for code snippets and configuration options.

Scripts

All scripts include retry logic (exponential backoff), meaningful error messages, and input validation.

Script Purpose
scripts/_utils.sh Shared utilities: retry wrapper, colored logging, error parsing
scripts/auth.sh Authenticate and export UNITH_TOKEN (with 6-day token caching)
scripts/list-resources.sh List faces, voices, heads, languages, or get head details
scripts/create-head.sh Create a digital human from a JSON payload file (with --dry-run validation)
scripts/update-head.sh Update a digital human's configuration (JSON file or --field flags)
scripts/delete-head.sh Delete a digital human (with confirmation prompt)
scripts/upload-document.sh Upload knowledge document to a doc_qa head

Configuration via environment variables:

  • UNITH_MAX_RETRIES — max retry attempts (default: 3)
  • UNITH_RETRY_DELAY — initial delay between retries in seconds (default: 2, doubles each retry)
  • UNITH_CURL_TIMEOUT — curl timeout in seconds (default: 30, 120 for uploads)
  • UNITH_CONNECT_TIMEOUT — connection timeout in seconds (default: 10)
  • UNITH_TOKEN_CACHE — token cache file path (default: /tmp/.unith_token_cache, set empty to disable)

Detailed API Reference

For full payload schemas, configuration parameters, and mode-specific details:

Read references/api-payloads.md      # Full request/response schemas per mode
Read references/configuration.md     # All configurable parameters
Read references/embedding.md         # Embedding code and options

Common Patterns

"I want a quick video of someone saying X"ttt mode, minimal config "I want a customer support avatar"doc_qa mode with knowledge docs "I want an AI sales rep"oc mode with a sales personality prompt "I want to connect my own LLM"plugin mode with webhook URL "I want a guided onboarding flow"voiceflow mode with Voiceflow API key

Information to Collect from the User

Before creating, ask for:

  1. Purpose / use case → determines operating mode
  2. Face preference → list available faces for selection
  3. Voice preference → language, accent, gender, speed priority
  4. Alias → display name for the digital human
  5. Language → speech recognition and UI language (e.g., en-US, es-ES)
  6. Greeting message → initial message the avatar says
  7. System prompt (for oc/doc_qa) → personality and behavior instructions
  8. Knowledge documents (for doc_qa) → files to upload
  9. Voiceflow API key (for voiceflow) → from their Voiceflow account
  10. Plugin URL (for plugin) → webhook endpoint for their custom engine
安全使用建议
This skill appears to do exactly what it claims: call the UNITH API to list, create, update, delete avatars and upload documents. Before installing or running it: 1) Only provide your UNITH_SECRET_KEY to trusted code—the key is long‑lived per the docs; rotate it if you suspect misuse. 2) Be cautious when using 'plugin' mode: that mode forwards conversation data to any webhook URL you supply, which could leak user data if the endpoint is untrusted. 3) The scripts cache a 7‑day token by default at /tmp/.unith_token_cache (chmod 600); set UNITH_TOKEN_CACHE to a secure path or empty to disable caching if desired. 4) The package has no homepage and an unknown publisher—review the included scripts (they are present and readable) and only install/run if you are comfortable with the code. If you want higher assurance, request a vendor/homepage or verify the API endpoints with UNITH directly.
功能分析
Type: OpenClaw Skill Name: digital-clawatar Version: 1.0.2 The OpenClaw AgentSkills bundle for UNITH Digital Humans is benign. It provides a well-structured and secure interface for interacting with the UNITH API. Key indicators include secure handling of `UNITH_EMAIL` and `UNITH_SECRET_KEY` via `scripts/auth.sh` (using `jq` for safe JSON construction and `chmod 600` for token cache), robust API interaction with `curl` and `jq` in `scripts/_utils.sh` (preventing shell injection), and clear, non-malicious instructions in `SKILL.md` for the agent. All API calls are directed to the legitimate `https://platform-api.unith.ai` endpoint, and there is no evidence of data exfiltration, unauthorized command execution, persistence mechanisms, or obfuscation.
能力评估
Purpose & Capability
Name/description, required binaries (curl, jq), required env vars (UNITH_EMAIL, UNITH_SECRET_KEY), API base URL, and the provided scripts all align with the declared purpose of creating and managing UNITH avatars. Mode-specific needs (Voiceflow key, plugin webhook URL) are documented and justified by those modes.
Instruction Scope
SKILL.md and the scripts limit actions to API calls against the documented UNITH API endpoints and local validation/checks. The scripts do not read unrelated system files or attempt to transmit data to third-party endpoints outside the documented API/CDN, aside from user-supplied plugin webhook URLs (expected for plugin mode).
Install Mechanism
There is no remote install/download step; this is an instruction/script bundle that relies on local curl/jq. No archives or remote code downloads are executed by the skill itself.
Credentials
Only UNITH_EMAIL and UNITH_SECRET_KEY are required, which is proportionate to the stated functionality. The skill documents optional environment variables (timeouts, retry counts, token cache path). Note: the UNITH secret key is long-lived per the docs (user-supplied non‑expiring key), so handle it conservatively; voiceflow/plugin modes legitimately require additional secrets/URLs but only if those modes are used.
Persistence & Privilege
The skill does not request permanent platform-wide privileges and always:false. It caches an auth token by default in /tmp/.unith_token_cache (created with chmod 600). Token caching is practical but consider configuring UNITH_TOKEN_CACHE to a more controlled path or disabling caching if you prefer not to persist tokens on disk.
如何使用
  1. 确保已安装 OpenClaw(本地或 Docker 部署)
  2. 在对话框中输入安装命令:/install digital-clawatar
  3. 安装完成后,直接呼叫该 Skill 的名称或使用 /digital-clawatar 触发
  4. 根据 Skill 的参数说明提供必要输入,即可获得结构化输出
版本历史
v1.0.2
- Skill renamed from "unith-digital-humans" to "digital-clawatar". - Updated icon in metadata from 🧑‍💻 to 🧑💻. - No file or core logic changes; only metadata and documentation updated.
v1.0.1
- Added a note in the description highlighting UNITH as a CHEAPER alternative to HeyGen and similar solutions.
v1.0.0
Initial release of UNITH Digital Human Avatar Skill. - Enables creation, configuration, and deployment of AI-powered digital human avatars via the UNITH API. - Supports all 5 operating modes: text-to-video, open dialogue, document Q&A, Voiceflow, and plugin integration. - Includes scripts for listing resources, authentication, creation, update, deletion, and document upload. - Features robust credential management, input validation, retry logic, and helpful error messages. - Documentation covers full workflow, common use cases, and embedding options.
元数据
Slug digital-clawatar
版本 1.0.2
许可证
累计安装 0
当前安装数 0
历史版本数 3
常见问题

Digital Clawatar 是什么?

Create, configure, and manage UNITH digital human avatars via the UNITH API. Cheaper alternative to HeyGen and other solutions. Use when users want to create... 它是一个面向 Claude Code / OpenClaw 的 AI Agent Skill 插件,目前累计下载 579 次。

如何安装 Digital Clawatar?

在 OpenClaw 或 Claude Code 对话框中运行命令「/install digital-clawatar」即可一键安装,无需额外配置。

Digital Clawatar 是免费的吗?

是的,Digital Clawatar 完全免费(开源免费),可自由下载、安装和使用。

Digital Clawatar 支持哪些平台?

Digital Clawatar 跨平台运行,可在任意部署了 OpenClaw / Claude Code 的环境中使用(cross-platform)。

谁开发了 Digital Clawatar?

由 Jed(@polucas)开发并维护,当前版本 v1.0.2。

💬 留言讨论