Pengleni AI Beauty Advisor & HTML Bridge for Openclaw

An AI-powered beauty assistant bridge for Pengleni, enabling virtual try-on and makeup analysis via SMS-authenticated sessions.

rayleethu
v0.0.3
Apr 3, 2026
0
531
0

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install cosmetics-advisor-pengleni

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install cosmetics-advisor-pengleni using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Pengleni AI Beauty Advisor & HTML Bridge?

The Pengleni Login Session HTML Bridge is a sophisticated integration designed to bring the power of Pengleni beauty intelligence to your AI agent. By utilizing Openclaw Skills, this tool provides a secure communication layer that handles SMS authentication, session persistence, and structured HTML message exchange. It allows agents to perform complex tasks such as AI virtual try-ons, makeup style transfers, and personalized product recommendations based on user-specific sessions.

This skill is particularly valuable for developers building beauty-centric applications or lifestyle assistants that require a seamless connection to specialized beauty LLMs. By abstracting the login and session management complexities, it ensures that your agent can focus on delivering high-quality beauty advice and interactive rich-text responses.

Pengleni AI Beauty Advisor & HTML Bridge Use Cases

  • Automated AI virtual try-on sessions for cosmetics and skincare evaluation.
  • Professional makeup analysis and personalized style transfer recommendations.
  • Intelligent product discovery and shopping suggestions based on beauty profiles.
  • Interactive beauty knowledge Q&A utilizing rich HTML formatting for visual clarity.
  • Persistent multi-turn consultations for ongoing skincare or makeup routines.

How Pengleni AI Beauty Advisor & HTML Bridge Works

  1. The agent triggers the verification process by calling the send_code_client to deliver an SMS code to the user.
  2. Upon receiving the code, the agent authenticates the user via the login_client to establish a secure session.
  3. A unique user_id and session_id are generated and stored to maintain context for multi-turn interactions.
  4. User queries are packaged as HTML payloads and sent to the Pengleni API through the chat_client.
  5. The skill processes the response, providing both plain text for quick answers and rich HTML for detailed beauty advice.

Pengleni AI Beauty Advisor & HTML Bridge Setup

To get started with this skill, configure your environment variables and install the necessary Python dependencies. Ensure you have a valid token from the Openclaw Skills dashboard.

# Set environment variables
export SITE_BASE_URL=https://www.zhibianai.com
export API_BASE_URL=https://www.zhibianai.com/api/v1/clawhub
export CLAWHUB_SKILL_TOKEN=your_service_token

# Send verification code
python send_code_client.py --phone YOUR_PHONE_NUMBER

# Login and create session
python login_client.py --phone YOUR_PHONE_NUMBER --verify-code 123456

Pengleni AI Beauty Advisor & HTML Bridge Data Schema & Taxonomy

The skill manages session data and interaction logs using a structured JSON format. Key data points include:

Attribute Description Storage
user_id Unique identifier for the authenticated user .session.json
session_id Active session token for context persistence .session.json
answer_text Plain text version of the AI beauty advice API Response
answer_html Rich media/HTML formatted beauty recommendations API Response
trace_id Debugging identifier for request tracking Optional Payload

Pengleni AI Beauty Advisor & HTML Bridge Advanced Features

  • Native support for real-time streaming (stream=true) to provide immediate feedback during beauty consultations.
  • Automated session management with local persistence in .session.json for seamless multi-turn restarts.
  • Built-in HTML security sanitizer that enforces a whitelist strategy to prevent XSS while allowing rich beauty content.
  • Flexible environment configuration allowing for quick switching between production and staging API endpoints.
  • Integrated error handling with specific retry logic for rate-limiting (429) and gateway timeouts (504).

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*