← Back to Skills Marketplace
262
Downloads
0
Stars
0
Active Installs
1
Versions
Install in OpenClaw
/install xfyun-face-compare
Description
Compare two face images and return similarity score using iFlytek Face Recognition API.
Usage Guidance
This skill appears to do what it claims, but before installing: (1) Confirm you trust the iFlytek endpoint (https://api.xf-yun.com) and understand privacy/legal implications of uploading facial images to a third-party service. (2) Ensure you provide only valid iFlytek credentials and store them securely — the SKILL.md suggests putting them in ~/.openclaw/openclaw.json which will store secrets on disk. (3) Ensure the runtime environment has the required Python libraries (requests) or install them in a controlled manner. (4) Review your organization's policy on biometric data handling and retention before using this in production. If you need higher assurance, inspect the final lines of the included script (it was truncated in the package listing) to verify there are no additional hidden behaviors.
Capability Analysis
Type: OpenClaw Skill
Name: xfyun-face-compare
Version: 1.0.0
The skill provides face comparison functionality by integrating with the iFlytek (Xunfei) API. The implementation in `scripts/index.py` follows standard practices for API authentication (HMAC-SHA256 signing) and image processing, only accessing files explicitly provided via command-line arguments. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description ask to compare two face images via iFlytek. The skill requires iFlytek credentials (app id/key/secret), reads two image files, encodes them, and POSTs to an xfyun API endpoint — all consistent with the described purpose.
Instruction Scope
SKILL.md and the Python script both limit actions to validating and reading two image files, encoding them, signing a request, and sending it to the iFlytek API. There are no instructions to read other files, collect unrelated environment variables, or transmit data to unexpected endpoints.
Install Mechanism
There is no install spec (instruction-only), which minimizes write-to-disk risk, but the bundled script imports the third-party 'requests' module while SKILL.md only declares 'python3' as a required binary and doesn't mention dependencies. This is a usability/packaging omission (runtime failure if 'requests' isn't present) rather than a security indicator, but you should ensure the runtime has required Python packages.
Credentials
The three required environment variables (XF_FACE_APP_ID, XF_FACE_API_KEY, XF_FACE_API_SECRET) directly correspond to authenticating with the iFlytek API. No unrelated credentials or broad system secrets are requested.
Persistence & Privilege
The skill does not request always:true and does not modify other skills or system settings. It only reads environment variables at runtime and does not persist additional configuration or tokens itself.
How to Use
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install xfyun-face-compare - After installation, invoke the skill by name or use
/xfyun-face-compare - Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.0
Initial release of xfyun-face-compare.
- Supports comparing two face images using iFlytek Face Recognition API.
- Provides high-accuracy similarity score and comparison result (same person or not).
- Compatible with JPG, PNG, BMP formats under 4MB.
- Requires Python and environment variables for API credentials.
- Outputs detailed JSON including similarity, confidence, and face detection status.
- Designed for identity verification, authentication, and security scenarios.
Metadata
Frequently Asked Questions
What is iFLYTEK Face Compare?
Compare two face images and return similarity score using iFlytek Face Recognition API. It is an AI Agent Skill for Claude Code / OpenClaw, with 262 downloads so far.
How do I install iFLYTEK Face Compare?
Run "/install xfyun-face-compare" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is iFLYTEK Face Compare free?
Yes, iFLYTEK Face Compare is completely free (open-source). You can download, install and use it at no cost.
Which platforms does iFLYTEK Face Compare support?
iFLYTEK Face Compare is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created iFLYTEK Face Compare?
It is built and maintained by Dzy-1026 (@dzy-1026); the current version is v1.0.0.
More Skills