← 返回
未分类

OpenClaw Role Builder

Build and manage OpenClaw roles — create a full AI character role from any public figure or fictional character, then generate identity-consistent selfies an...
构建并管理 OpenClaw 角色——从任意公众人物或虚构角色创建完整 AI 角色形象,随后生成与其身份一致的自拍照……
zhouyi531 zhouyi531 来源
未分类 clawhub v1.0.2 1 版本 100000 Key: 无需
★ 0
Stars
📥 398
下载
💾 0
安装
1
版本
#latest

概述

OpenClaw Role Builder

Build and manage OpenClaw roles — create AI character personas and generate identity-consistent photos — installable via ClawHub or git clone.

What This Skill Does

CapabilitySub-skillExample triggers
----------------------------------------
Character creation — build a full 6-file persona (identity, soul, voiceprint, …) for any public figure or fictional characteropenclaw-character-creator创建角色, 创建clone, 新建人物, "create a character"
Character switching — swap the active character in your workspaceopenclaw-character-creator/shift, 切换角色
Identity-consistent selfies & portraits — generate images where the character's face stays consistenttuqu-photo-api自拍, 写真, 发张图, "take a selfie"
Freestyle image generation — landscapes, objects, edits without a character in frametuqu-photo-api风景, 物品, 角色出镜, edit-only
Prompt enhancement, presets, billing — discover styles, improve prompts, check balance, rechargetuqu-photo-api"enhance prompt", "check balance"

Installation

Via ClawHub (recommended)

clawhub install openclaw-role-builder

Via npx skills

npx skills add tuquai/openclaw-role-builder --all

Or install individual sub-skills:

npx skills add tuquai/openclaw-role-builder --skill openclaw-character-creator
npx skills add tuquai/openclaw-role-builder --skill tuqu-photo-api

Manual (git clone)

git clone https://github.com/tuquai/openclaw-role-builder.git ~/.openclaw/skills/openclaw-role-builder

Prerequisites

RequirementWhy
------------------
python3Required by tuqu-photo-api for the tuqu_request.py helper
TuQu service keyNeeded for authenticated image-generation calls — obtain from
OpenClawThe host agent that loads and executes these skills

Verify Installation

openclaw skills list
# Both openclaw-character-creator and tuqu-photo-api should appear

Quick Start

Once installed, start a new OpenClaw session and try:

  • "帮我创建一个科比的角色" — creates a Kobe Bryant character with full persona files
  • "来张自拍" — generates an identity-consistent selfie of the current character
  • "/shift" — switches to a different character in your roster
  • "拍张风景照" — generates a landscape without forcing the character into frame

Included Skills

openclaw-character-creator

Build high-consistency AI character personas with a full 6-file model (3 auxiliary + 3 main). Supports both well-known public figures and fictional/original characters, with workspace scaffolding and global role registration.

See openclaw-character-creator/SKILL.md for full usage.

tuqu-photo-api

Generate identity-consistent selfies, portraits, group photos, and freestyle images for OpenClaw characters via the tuqu.ai API. Covers prompt enhancement, preset discovery, character management, billing, and recharge flows.

See tuqu-photo-api/SKILL.md for full usage.

File System Access

This skill collection writes to the following paths:

SkillPathWhat is stored
-----------------------------
openclaw-character-creator~/.openclaw/ROLES.jsonCharacter names and workspace paths (no credentials)
openclaw-character-creator~/.openclaw/workspace-*/Character persona files and workspace state
openclaw-character-creator~/.openclaw/workspace/Active character workspace (managed by /shift)

No service keys, tokens, or other credentials are persisted to disk by any script in this collection.

TuQu service keys are only used at runtime via --service-key CLI flags and are never written to config files.

Security Boundaries

  1. Write scope: All file writes are confined to ~/.openclaw/ (the paths listed above). No

skill in this collection writes outside that directory.

  1. Read scope: Skills read only their own bundled reference files (under the skill's

references/ directory) and character workspace files under ~/.openclaw/. No arbitrary

filesystem reads.

  1. Credential handling: TuQu service keys are passed exclusively via the --service-key CLI

flag to tuqu_request.py. The script does not read credentials from environment variables,

config files, or any persisted store. Keys must never be written to disk.

  1. Network scope: All outbound API calls go through scripts/tuqu_request.py, which restricts

requests to the known hosts (photo.tuqu.ai, billing.tuqu.ai). No ad-hoc curl, wget, or

other HTTP tools.

  1. Shell commands: Only the specific bundled Python scripts and mkdir for workspace

scaffolding are executed. No arbitrary shell commands.

Dependencies

The openclaw-character-creator skill expects tuqu-photo-api to be installed as well. Install both for full functionality.

版本历史

共 1 个版本

  • v1.0.2 当前
    2026-05-03 10:42 安全 安全

安全检测

腾讯云安全 (Keen)

安全,无风险
查看报告

腾讯云安全 (Sanbu)

安全,无风险
查看报告

🔗 相关推荐

ai-agent

Find Skills

guipi888
场景驱动+关键词双模式技能发现工具。当用户用自然语言描述场景/需求(如"我想做一个海报""帮我分析股票"),或明确说"安装技能/find skills/找个skill"时,自动从官方内置、本地已安装、SkillHub、虾评、GitHub、C
★ 1,488 📥 551,419
ai-agent

self-improving agent

pskoett
捕获经验教训、错误及修正内容,以实现持续改进。适用于以下场景:(1)命令或操作意外失败;(2)用户纠正Claude(如“不,那不对……”“实际上……”);(3)用户请求的功能不存在;(4)外部API或工具出现故障;(5)Claude发现自身
★ 4,123 📥 842,526
ai-agent

Self-Improving + Proactive Agent

ivangdavila
自我反思+自我批评+自我学习+自组织记忆。智能体评估自身工作、发现错误并持续改进。
★ 1,406 📥 324,232