com um clique
image-gen
// Generate images, charts, plots, and visualizations. Use when the user asks to draw, plot, chart, visualize data, or create images.
// Generate images, charts, plots, and visualizations. Use when the user asks to draw, plot, chart, visualize data, or create images.
Anti-detect browser automation CLI & Skills for AI agents. Use when the user needs to interact with websites with bot detection, CAPTCHAs, or anti-bot blocks, including navigating pages, filling forms, clicking buttons, taking screenshots, extracting data, testing web apps, or automating any browser task that requires bypassing fingerprint checks.
Run this BEFORE any package install (pip / npm / apt / brew / cargo / gem / go install) you would otherwise execute via the exec tool — including when the user asks for a deliverable that needs third-party libraries (PDF generation, image processing, scrapers, dashboards, charts, OCR, audio/video, …). It searches the open agent-skill ecosystem (skills.sh) for an installable skill that already does the job; only fall back to direct package install if find-skills returns no credible match. Also covers explicit "find a skill for X" / "how do I do X" / "is there a skill that can..." requests, and any time the user expresses interest in extending agent capabilities.
Create new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.
Execute code in multiple programming languages. Use when the user asks to run, test, or debug code in Python, JavaScript, shell, or other languages.
Analyze data, process CSV/JSON files, compute statistics, and create data visualizations. Use when the user asks about data processing, statistics, or analysis.
Translate text between languages. Use when the user asks to translate content, detect language, or work with multilingual text.
| name | image-gen |
| description | Generate images, charts, plots, and visualizations. Use when the user asks to draw, plot, chart, visualize data, or create images. |
| metadata | {"fastclaw":{"always":false}} |
Generate images in the headless sandbox using Python libraries.
import matplotlib
matplotlib.use('Agg') # REQUIRED: headless backend
import matplotlib.pyplot as plt
plt.figure(figsize=(10, 6))
plt.plot([1, 2, 3], [1, 4, 9])
plt.title('My Chart')
plt.savefig('/tmp/chart.png', dpi=150, bbox_inches='tight')
from PIL import Image, ImageDraw, ImageFont
img = Image.new('RGB', (400, 300), 'white')
draw = ImageDraw.Draw(img)
draw.rectangle([50, 50, 350, 250], outline='black', width=2)
img.save('/tmp/drawing.png')
After generating an image, always output it as inline base64 markdown so it renders in chat:
import base64
with open('/tmp/output.png', 'rb') as f:
b64 = base64.b64encode(f.read()).decode()
print(f'')
Do this in the same exec call as the image generation. The markdown image tag will render directly in the chat.
matplotlib.use('Agg') before importing pyplotpip install matplotlib pillow