Signus Font Signature
User-facing language
- Always write user-facing text in English unless the user explicitly asks for another language.
Runtime requirements
- Node.js 18+.
- Install dependencies in this skill folder before first run:
cd /home/node/.openclaw/workspace/skills/signus-font-signature && npm install
Inputs
Provide exactly one identity source:
name(e.g.,"Allon Mason"), ORfirstName+lastName, ORinitials(e.g.,"AM")
Optional:
count— max number of images to return.
Validation
- Accept exactly one identity source.
- Reject empty/blank values.
- If
countis provided, treat as numeric limit.
Run
node /home/node/.openclaw/workspace/skills/signus-font-signature/scripts/generate_font_signatures.js '<json payload>'
Examples:
node /home/node/.openclaw/workspace/skills/signus-font-signature/scripts/generate_font_signatures.js '{"name":"Allon Mason","count":10}'
node /home/node/.openclaw/workspace/skills/signus-font-signature/scripts/generate_font_signatures.js '{"firstName":"Allon","lastName":"Mason"}'
Detailed execution flow
- Parse payload and normalize identity into
name. - Create output directory:
~/.openclaw/media/signatures-font/<name>-<timestamp>/
- Request font generation using fixed trusted host (
https://api.signus.ai) and endpoint order:- primary:
POST /api/signus/v0/signature-generations/font - fallback:
POST /api/signus/v0/users/me/signature-generations/font
- primary:
- Process response by content-type:
- ZIP/octet-stream: extract with in-process JS unzip library (
adm-zip), then collect image files. - JSON: read
payload.thisPageItems[], then download each image from:/api/signus/v0/signature-generations/font/{generationId}/signatures/{generatedSignatureId}/{clean|watermark}.png
- ZIP/octet-stream: extract with in-process JS unzip library (
- Return:
countdirectorysignatures[]: { id, filePath }
- Send images to chat via
message action=sendandmedia=<filePath>.
Authentication model
- This skill does not handle API tokens or env-based credentials.
- It assumes the primary public endpoint can be used without explicit
Authorizationheader. - The
/users/me/...fallback may work only where implicit session/auth exists. - If your deployment requires explicit auth, update the script design first (do not inject secrets into payloads by default).
Security notes
- No environment-variable reads.
- No shell command execution.
- Network target is fixed to
https://api.signus.ai. - Writes only under
~/.openclaw/media/signatures-font/. - Keep this skill separate from
signus-signature(AI websocket handwritten signatures).