← Back to Skills Marketplace
sqizzo

bratification

by sqizzo · GitHub ↗ · v1.0.1 · MIT-0
cross-platform ✓ Security Clean
70
Downloads
1
Stars
0
Active Installs
2
Versions
Install in OpenClaw
/install bratification
Description
Generate brat-style text cover images and sticker-like WhatsApp-safe outputs from custom text. Use when the user asks to make a brat or brat-gen style cover,...
README (SKILL.md)

Bratification

Generate brat-style images from text using the bundled Python scripts.

Quick start

  • For a plain render, run scripts/render_brat.py.
  • For command-style parsing like !brat hello world, run scripts/handle_brat_command.py.
  • Prefer white background, Arial Narrow bold (with cross-platform font fallback), centered composition, word wrapping without cutting words, and automatic font shrink to fit.
  • handle_brat_command.py now sanitizes slug/output naming and always writes into its managed scripts/out directory tree.

Workflow

  1. Decide whether the request is direct text rendering or !brat command parsing.
  2. Use scripts/handle_brat_command.py for command-style input.
  3. Use scripts/render_brat.py for direct text-to-image rendering.
  4. For WhatsApp-safe sticker-like delivery, prefer --size 512 --sticker-size 512 and send the generated PNG with no caption.
  5. Treat WEBP as an optional artifact unless the channel has verified native sticker upload support.

Commands

Render text directly

python scripts/render_brat.py "hello world" --png out/hello-world.png --webp out/hello-world.webp

Parse a !brat command

python scripts/handle_brat_command.py "!brat hello world"

Sticker-like WhatsApp-safe output

python scripts/handle_brat_command.py --size 512 --sticker-size 512 "!brat hello world"

Output handling

  • Use PNG as the primary reliable delivery format.
  • Use WEBP as a secondary artifact for future native-sticker-capable channels.
  • If the input is only !brat with no text, ask briefly for the text.
  • If generation fails, apologize briefly and say the brat render failed.

Scripts

  • scripts/render_brat.py: deterministic renderer for PNG/WEBP output
  • scripts/handle_brat_command.py: parser for !brat-style input that emits JSON with generated paths
Usage Guidance
This skill appears coherent and limited to generating images. Before installing, note: (1) it requires Python with the Pillow library and access to system TTF fonts — otherwise rendering will fail; (2) it writes output files under scripts/out (the code sanitizes paths to avoid traversal); and (3) there is no network or credential usage in the bundle. If the source is untrusted, run the scripts in a restricted environment first (or inspect/execute them locally) — but from a security/permission perspective the behavior matches the stated purpose.
Capability Analysis
Type: OpenClaw Skill Name: bratification Version: 1.0.1 The 'bratification' skill bundle is a legitimate utility for generating text-based images in the 'brat' aesthetic. The Python scripts (scripts/render_brat.py and scripts/handle_brat_command.py) use the Pillow library for image processing and include robust path sanitization logic to prevent directory traversal when saving outputs. No evidence of data exfiltration, malicious execution, or prompt injection was found.
Capability Assessment
Purpose & Capability
Name/description describe text-to-image 'brat' rendering and the bundled Python scripts implement exactly that (PNG/WEBP output, !brat command parsing, font handling, sticker-size options). There are no unrelated credentials, binaries, or capabilities requested.
Instruction Scope
SKILL.md instructs running the included scripts and the scripts only read inputs, measure fonts, render images, and write outputs into a managed scripts/out tree. Path sanitization is implemented; the code does not read unrelated files, environment variables, or contact external endpoints.
Install Mechanism
No install spec is provided (instruction-only). Code is included in the bundle but there is no network download or external installer declared. This minimizes install-time risk.
Credentials
The skill requires no environment variables or credentials. The only external dependencies are local font files and the Python imaging library (Pillow), which are proportional to rendering images.
Persistence & Privilege
The skill is not marked always:true and uses default autonomous invocation; it does not modify other skills or system-wide settings. It only creates files under its own scripts/out directory.
How to Use
  1. Make sure OpenClaw is installed (local or Docker)
  2. Run the install command in chat: /install bratification
  3. After installation, invoke the skill by name or use /bratification
  4. Provide required inputs per the skill's parameter spec and get structured output
Version History
v1.0.1
- Improved font handling with cross-platform Arial Narrow fallback for consistent renders. - `handle_brat_command.py` now sanitizes slug/output names and always writes to the managed `scripts/out` directory. - Documentation updated to reflect these output and font changes.
v1.0.0
Initial release of bratification. - Generate brat-style cover images and WhatsApp-safe sticker-like outputs from custom text. - Provides scripts for rendering images directly or interpreting `!brat` commands. - Outputs square, white-background, Arial Narrow images sized at 512x512 for sticker use. - Delivers PNG format by default, with optional WEBP for sticker-capable channels. - Gracefully handles empty input and generation errors.
Metadata
Slug bratification
Version 1.0.1
License MIT-0
All-time Installs 0
Active Installs 0
Total Versions 2
Frequently Asked Questions

What is bratification?

Generate brat-style text cover images and sticker-like WhatsApp-safe outputs from custom text. Use when the user asks to make a brat or brat-gen style cover,... It is an AI Agent Skill for Claude Code / OpenClaw, with 70 downloads so far.

How do I install bratification?

Run "/install bratification" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.

Is bratification free?

Yes, bratification is completely free, licensed under MIT-0. You can download, install and use it at no cost.

Which platforms does bratification support?

bratification is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).

Who created bratification?

It is built and maintained by sqizzo (@sqizzo); the current version is v1.0.1.

💬 Comments