infographic-gen

infographic-gen is a skill for Claude Code, Codex from the-cyber-boardroom/SGraph-AI__App__Send. It costs 178 tokens per session (3,749 once invoked), scanned A, original, Apache-2.0.

Instructions for generating infographics and slide decks through the SGraph infographic generator. An infographic presents information visually, while a slide deck is a set of presentation images.

In plain words
What is it for?
Creating single infographics or multi-slide presentations, including setting up Playwright and Chromium and generating PNG images.
Why use it?
They describe the setup and workflow needed to turn supplied content into generated visual materials. The generator requires an OpenRouter API key and browser tooling.

Skill for Claude CodeCodex

Written for no agent in particular: nothing here depends on one. Also seen: positional $N argument.

Not installable: its command points at a path on the author’s own machine, so it runs nowhere else. The line is /home/claude/pw_helpers.py.

Good fit Creating single infographics or multi-slide presentations, including setting up Playwright and Chromium and generating PNG images.

Compare 6 skills from other repositories ↓
Install

Getting it into your agent

There is no command for this one: it runs only inside a plugin, and the catalogue could not identify which plugin ships it. The source is linked below.

Made for: Claude Code, Codex.

Wrote this? Show the measurements

A badge with what this costs and how it scanned, read live from this page, so it follows the numbers instead of freezing them. Markdown for a README, HTML for a documentation site or a project page.

agentmods badge for infographic-gen

README.md
[![agentmods](https://agentmods.dev/badge/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics/github.svg)](https://agentmods.dev/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics)
Your own site
<a href="https://agentmods.dev/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics"><img src="https://agentmods.dev/badge/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics/github.svg" alt="Measured on agentmods" height="20"></a>

Or the 80×15 button, for a site that already has a row of RSS and ATOM ones. Only the verdict fits; the numbers stay here.

agentmods 80×15 button for infographic-gen

Your own site · 80×15
<a href="https://agentmods.dev/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics"><img src="https://agentmods.dev/badge/skills/the-cyber-boardroom/sgraph-ai__app__send/create-infographics.svg" alt="Reviewed on agentmods" width="80" height="20"></a>
Per session 178 Skills are progressive disclosure: only the name and description are preloaded; the body loads when the skill is used.
When invoked 3,749 The whole file, excluding the scripts and references it only reads on demand.
Security scan A 2 findings. A grade says what 26 rules found in the file — not that it is safe.
Origin original No closer match found in the catalogue.
Token cost

What it costs to keep this loaded

Counted locally with the o200k_base tokenizer, which is exact for GPT models; Claude uses its own tokenizer and its counts differ. Treat this as one consistent yardstick across the catalogue rather than a bill. Prices are per million input tokens.

ModelPer sessionOnce invoked
Fable 5.1 $0.00178 $0.03749
Opus 5 $0.00089 $0.01875
Sonnet 5 $0.00036 $0.00750
Haiku 4.5 $0.00018 $0.00375

Measured 12d ago against content hash eb574688d035, method: parsed. Prices are Anthropic first-party input rates as of 2026-09-12, from the pricing page.

Security

Grade A, and why

infographic-gen scanned grade A with 2 findings against 26 rules in 11 categories — prompt injection, anti-refusal, data exfiltration, privilege escalation, supply chain, agent snooping, system-prompt leakage, SSRF and excessive agency — measured 12d ago.

A static scan of the body, not an audit. Every finding is printed with the line that produced it so you can judge whether it matters here. A mod is markdown that instructs an agent; that is exactly why what it instructs is worth reading.

Makes network callslowCapability

Not a fault in itself. Listed so you know the mod talks to something, and to what.

from urllib.parse import urlparse

Runs shell commandslowCapability

Expected in a hook, worth knowing in a rule or an instructions file.

r = subprocess.run(['curl', '-s', '-H', f'Authorization: Bearer {API_KEY}',
library/skills/create-infographics/SKILL.md · 398 lines

How it starts

The opening of the file, as written. The whole thing — 398 lines — stays where its author put it; the contents beside it link to each section on GitHub.

SKILL: infographic-gen — AI Infographic & Slide Deck Generator

Overview

Generate AI-powered infographics and full slide decks using the SGraph infographic generator tool at dev.tools.sgraph.ai. The tool exposes a JavaScript API via a browser page, driven by Playwright. Each generate() call returns a PNG as a base64 data URL — no polling, no DOM hacking.

Requires an OpenRouter API key from the user (starts with sk-or-v1-...).

Economics: ~$0.07/infographic, ~13s/generation, ~$0.56 for an 8-slide deck.


Step 1: Environment Setup

Run all of this — takes ~2 minutes.

# Playwright + Chromium
python3.12 -m venv /tmp/venv312
/tmp/venv312/bin/pip install -q playwright==1.56.0
/tmp/venv312/bin/python -m playwright install --with-deps chromium

# sgit (encrypted vaults) + PDF tools
pip3 install sgit-ai reportlab Pillow --break-system-packages -q

Then create the proxy helper — Chromium MUST use this (it ignores HTTPS_PROXY env var):

cat > /home/claude/pw_helpers.py << 'PYEOF'
import os
from urllib.parse import urlparse

def get_proxy_config():
    proxy_url = os.environ.get('HTTPS_PROXY')
    if not proxy_url: return None
    parsed = urlparse(proxy_url)
    return {
        'server':   f'http://{parsed.hostname}:{parsed.port}',
        'username': parsed.username,
        'password': parsed.password,
    }
PYEOF

Step 2: Verify Setup & Onboard User

This is a multi-part verification. Do all sub-steps in order.

2a. Confirm the JS API is live

import sys; sys.path.insert(0, '/home/claude')
from playwright.sync_api import sync_playwright
from pw_helpers import get_proxy_config

with sync_playwright() as p:
    browser = p.chromium.launch(headless=True, proxy=get_proxy_config())
    page = browser.new_page()
    page.goto('https://dev.tools.sgraph.ai/en-gb/infographic-gen/', timeout=30000)
    page.wait_for_timeout(3000)
    methods = page.evaluate('() => window.__tool?.meta?.getMethods?.() || "NOT READY"')
    version = page.evaluate('() => window.__tool?.meta?.getVersion?.() || null')
    print(f"Methods: {methods}")
    print(f"Version: {version}")
    browser.close()

Read the full file on GitHub · 398 lines

Changes

What this file has done since we first saw it

Hashed on every crawl. A supply-chain change to an agent config is a question of when, not whether, so the history is kept rather than the latest state alone.

  1. 12d ago First seen · 398 lines · 178 tokens per session scan A eb574688d035

Subscribe to this mod's changes

infographic-gen is a skill published in the GitHub repository the-cyber-boardroom/SGraph-AI__App__Send (11 stars, last pushed yesterday), licensed Apache-2.0. It adds 178 tokens to every session and 3,749 once invoked, about $0.0009 per session on Opus 5. A static security scan graded it A with 2 findings (makes network calls, runs shell commands). No closer match exists in the catalogue, so it is treated as the original; first seen 2026-08-30.

Related

Other skills, from other repositories

systematic-debugging

Use when encountering any bug, test failure, or unexpected behavior, before proposing fixes.

obra/superpowers · 21 tokens

local-ai-agents

Build local-first AI agents that run entirely on a developer workstation with Microsoft Foundry Local and Qwen function-calling models. Covers Small Language Models (SLMs), the OpenAI-compatible local endpoint, sandboxed local tools, local RAG with Chroma, local MCP servers, hybrid cloud/local routing, and the…

microsoft/ai-agents-for-beginners · 200 tokens

next-cache-components-adoption

Turn on Cache Components in a Next.js app and resolve the blocking routes it surfaces. Use when the user wants to enable, adopt, or migrate to Cache Components, flip the cacheComponents flag, work through a flood of blocking-prerender / instant validation errors, run the cache-components-instant-false codemod, or…

vercel/next.js · 95 tokens

chat-pet-sprite-creation

Use when creating or changing VS Code chat pet sprite art, sprite sheets, state animations, eye treatments, Stable/Insiders variants, or pet transitions under src/vs/workbench/contrib/chat/browser/widget/media/chatPet.

microsoft/vscode · 53 tokens

cpu-profile-analysis

Analyze V8/Chrome CPU profiles (.cpuprofile) and DevTools trace files (Trace-.json). Use when: profiling performance, investigating slow functions, comparing code paths, finding bottlenecks, analyzing timeToRequest, understanding call trees from sampling profiler data, analyzing layout/paint/rendering, investigating…

microsoft/vscode · 71 tokens

insight-error-page

Write or audit an insight-kind error page for the Next.js dev overlay. Use when creating a new errors/ .mdx page, auditing an existing one, or checking that a page matches the framework fix cards. Covers page structure, title alignment, FixCard cards with Copy prompt button, code snippets, terminology verification…

vercel/next.js · 83 tokens