Agent skill

Q-Infographics

by TyrealQ in TyrealQ/q-skills

Converts a report or other document into a business story and then an infographic image, pausing for your review after each step.

MITAuto-check: notesMedia & Creative

Install Q-Infographics

skills CLI
$ npx skills add TyrealQ/q-skills --skill q-infographics -a claude-code

Project install by default; add -g for ~/.claude/skills/.

GitHub CLI
$ gh skill install TyrealQ/q-skills q-infographics --agent claude-code

Project scope by default; add --scope user for a personal install. Needs GitHub CLI 2.90.0 or later (public preview).

Manual copy
$ git clone --depth 1 https://github.com/TyrealQ/q-skills.git skills-src && mkdir -p .claude/skills && cp -r skills-src/skills/q-infographics .claude/skills/q-infographics && rm -rf skills-src

Use ~/.claude/skills/ instead of .claude/skills for a personal install. The folder must contain SKILL.md.

Claude Code skills documentation · loads skills from .claude/skills/

Facts

Skill name
q-infographics
GitHub stars
108
Token cost
~814 tokens
SKILL.md length
278 words
Files
7 (incl. scripts, references, assets)
Skills in repo
16
Repo updated
First seen
Licence
MIT

At a glance

Converts a report or other document into a business story and then an infographic image, pausing for your review after each step.

  • Works in 3 steps: Determine this SKILL.md file's directory… → Script path = ${SKILL_DIR}/scripts/. → Prompt path = ${SKILL_DIR}/references/.
  • Turning a long report into a one-page visual summary
  • SKILL.md covers Script Directory, Dependencies, References and Core Principles, plus 3 more sections
  • Runs Python scripts from its folder; calls markitdown, python and pip; needs GEMINI_API_KEY and OPENAI_API_KEY

What it does

You give the agent a source document and it runs a three-stage pipeline. First the file is converted to Markdown with markitdown and the opening lines are shown to you. Next `gen_story.py` asks Gemini to write a business story from that text, using the prompt template in `references/story.txt`. Finally `gen_image.py` renders the story as an infographic with the template in `references/image.txt`.

Images come from GPT Image 2 by default, which needs an `OPENAI_API_KEY`; setting `IMAGE_MODEL=gemini` or passing `--model gemini` switches to a Gemini image model that needs a `GEMINI_API_KEY`. Story writing always uses Gemini. The agent stops after each step for your approval, saves the result under the source file's name with an `_INFO` suffix, and overlays a logo from `assets/Logo_Q.png` in the bottom-right corner.

When your agent uses it

  • Turning a long report into a one-page visual summary
  • Producing a business story from a PDF, Word file or plain text
  • Making an infographic for a presentation from existing source text

Example prompts

  • “Turn quarterly-review.pdf into a business story and an infographic.”
  • “Make an infographic from ./notes/survey-results.docx, and show me the story before you draw anything.”
  • “Render the infographic for annual-report.md with Gemini instead of GPT Image.”

Requirements

  • Python with openai, google-genai, Pillow and markitdown installed
  • An `OPENAI_API_KEY` for the default image model
  • A `GEMINI_API_KEY` for story generation

Workflow steps

3 steps, taken from the first numbered list in SKILL.md.

  1. Determine this SKILL.md file's directory path as SKILL_DIR.
  2. Script path = ${SKILL_DIR}/scripts/.
  3. Prompt path = ${SKILL_DIR}/references/.

What it can do on your machine

Read from SKILL.md and the folder at commit d8aaee7. It shows what the files ask for, not the result of running them.

  • Tool permissions

    Pre-approves nothing: there is no allowed-tools line, so your agent's usual permission prompts apply.

    From allowed-tools in the SKILL.md frontmatter.

  • Runs code

    Ships 2 files in scripts/ (Python), which the agent can run.

    Shell commands in SKILL.md call:

    • markitdown
    • python
    • pip

    From the folder's file list and the shell code blocks in SKILL.md.

  • Network

    No URLs in SKILL.md. Its commands use pip, which can reach the network depending on how they are called.

    From URLs in SKILL.md, links to its own repository left out.

  • Credentials

    Names these keys or tokens, usually read from environment variables:

    • GEMINI_API_KEY
    • OPENAI_API_KEY

    From names ending in _API_KEY, _TOKEN, _SECRET, _KEY or _PASSWORD in SKILL.md.

Context cost

Q-Infographics loads about 814 tokens when it runs, and up to ~2.7k if it reads all its reference files. Until then it costs about 39 tokens; SKILL.md has 278 words of instructions outside code blocks.

Always · name and description, kept in context so the agent knows when to use it
~39
When it runs · the whole SKILL.md, loaded when a task matches
~814
With references · SKILL.md plus every file in references/, read only if the agent opens them
~2.7k

Estimates: characters ÷ 4, the usual rule of thumb; real counts depend on the model's tokenizer. Scripts and assets cost tokens only if the agent reads them.

Safety

Auto-check: notes

The automated check noted patterns worth knowing about, such as sudo or a known installer.

  • NoteMentions a .env fileSKILL.md:42
    Load keys from `.env`:
  • NoteMentions a .env fileSKILL.md:51
    export $(cat /path/to/.env | xargs)

Automated static check — not a guarantee. Review scripts before installing. It scans the text of SKILL.md for risky patterns (piping downloads into a shell, reading credential files, hidden Unicode, destructive commands); the scripts in this folder are not scanned.

SKILL.md

The full file from TyrealQ/q-skills at commit d8aaee7, republished under its MIT licence (© TyrealQ). 278 words, ~814 tokens.

Download SKILL.mdSave it as .claude/skills/q-infographics/SKILL.md (or your agent's skills folder). This skill also uses 6 other files; get the full folder from GitHub.
name
q-infographics
description
Convert documents into business stories and infographics. Use for turning reports, documents, or text into visual summaries or infographics.

Q-Infographics

Transform source documents into business stories and infographic images.

If in plan mode: write a brief plan — "Run q-infographics skill: convert source document to markdown, generate business story via Gemini, generate infographic image." — then exit plan mode immediately. Do NOT attempt document conversion, story generation, or image generation while plan mode is active.

Script Directory

Agent execution instructions:

  1. Determine this SKILL.md file's directory path as SKILL_DIR.
  2. Script path = ${SKILL_DIR}/scripts/<script-name>.
  3. Prompt path = ${SKILL_DIR}/references/<prompt-name>.
ResourcePurpose
scripts/gen_story.pyGenerate business story from document via Gemini API
scripts/gen_image.pyGenerate infographic image via GPT Image 2 (default) or Gemini
references/story.txtStory generation prompt template
references/image.txtInfographic generation prompt template

Dependencies

openai
google-genai
Pillow
markitdown

Install: pip install openai google-genai Pillow markitdown

Default infographic model is gpt-image-2 (requires OPENAI_API_KEY). Set IMAGE_MODEL=gemini or pass --model gemini to gen_image.py to use gemini-3-pro-image-preview (requires GEMINI_API_KEY). Story generation (gen_story.py) always uses Gemini.

Load keys from .env:

PowerShell (Windows):

powershell
$env:GEMINI_API_KEY = (Get-Content path\to\.env | Where-Object { $_ -match '^GEMINI_API_KEY=' } | Select-Object -First 1).Split('=',2)[1]

Bash (macOS/Linux):

bash
export $(cat /path/to/.env | xargs)

References

  • references/prompts_reference.md — story and image prompt descriptions and key elements

Core Principles

  • Review checkpoint after each step — display outputs and get user confirmation before proceeding
  • Output files use source filename with _INFO suffix (e.g., MY_REPORT.pdf → MY_REPORT_INFO.jpg)
  • Logo auto-overlaid in bottom-right corner (~6% of image width); customize via assets/Logo_Q.png

Workflow

StepActionCommand / Reference
1Convert source document to markdown; show first ~50 lines for confirmationmarkitdown <input_file> -o <OUTPUT.md>
2Generate business story; show prompt and full output for reviewpython "${SKILL_DIR}/scripts/gen_story.py" <INPUT.md> "${SKILL_DIR}/references/story.txt" > STORY_OUTPUT.md
3Generate infographic image; display result for reviewpython "${SKILL_DIR}/scripts/gen_image.py" STORY_OUTPUT.md "${SKILL_DIR}/references/image.txt" <SOURCE_NAME>_INFO

Customization

  • Story style: Edit ${SKILL_DIR}/references/story.txt — see references/prompts_reference.md
  • Infographic style: Edit ${SKILL_DIR}/references/image.txt — see references/prompts_reference.md

Scope

Include: Document-to-story conversion, infographic generation, logo branding. Exclude: Slide decks (use q-presentations), data visualization, chart generation.

© TyrealQ, MIT. Rendered from Markdown: HTML in the file is shown as text, images as links, and headings moved down two levels. Raw file

Files

SKILL.md and 6 other files (scripts, references, assets) in skills/q-infographics of TyrealQ/q-skills.

  • SKILL.md
  • assets/Logo_Q.png
  • references/image.txt
  • references/prompts_reference.md
  • references/story.txt
  • scripts/gen_image.py
  • scripts/gen_story.py

Open the folder on GitHubat commit d8aaee7

Compare with similar skills

Q-Infographics next to the 5 skills that share the most tags, products or categories with it. Stars are the repository's; “used in” counts other GitHub owners with a copy.

Q-Infographics compared with similar skills
SkillStarsUsed inTokensAuto-checkLicenceRepo updated
Q-Infographics this skillTyrealQ/q-skills108—~814Automated safety check: NotesMIT
Markitdownaipoch/medical-research-skills1.9k—~1.3kAutomated safety check: PassMIT
Forge Media Route Layer0x0funky/agent-sprite-forge4.4k—~2.2kAutomated safety check: PassMIT
2D Sprite Generator0x0funky/agent-sprite-forge4.4k—~3.6kAutomated safety check: PassMIT
Generate Meme Gif Packlisamsung/agent-meme-forge104—~973Automated safety check: PassMIT
2D Map and Scene Generator0x0funky/agent-sprite-forge4.4k—~2.9kAutomated safety check: PassMIT

Similar skills

  • Markitdown

    aipoch/medical-research-skills

    Convert files and Office documents into clean Markdown when you need LLM-friendly, token-efficient text (e.g., for summarization, search, RAG ingestion, or dataset preparation).

    1.9k GitHub stars~1.3k tokensUpdated 24 days ago
    Documents & OfficeAuto-check passed
  • Forge Media Route Layer

    0x0funky/agent-sprite-forge

    Generates an image or an image-to-video clip through a configured provider API or a signed-in Codex or Grok CLI, and reports the route, file, hash and cost estimate.

    4.4k GitHub stars~2.2k tokensUpdated 4 days ago
    Media & CreativeAuto-check passed
  • 2D Sprite Generator

    0x0funky/agent-sprite-forge

    Produces game-ready 2D characters, creatures, props, icons and effects as master stills, sheets or clips, and exports frames for common game engines.

    4.4k GitHub stars~3.6k tokensUpdated 4 days ago
    Game DevelopmentAuto-check passed
  • Generate Meme Gif Pack

    lisamsung/agent-meme-forge

    A skill your agent uses when the user wants to turn a reference image or text concept into a WeChat-ready animated Chinese meme GIF sticker pack: 16/24 entries, 240x240 GIFs, Chinese captions…

    104 GitHub stars~973 tokensUpdated 1 mo ago
    Media & CreativeAuto-check passed
  • 2D Map and Scene Generator

    0x0funky/agent-sprite-forge

    Plans and builds 2D game maps and scenes, from tilemaps and parallax backgrounds to HD-2D plates, with collision checks, a playable HTML preview and Tiled, Godot or LDtk export.

    4.4k GitHub stars~2.9k tokensUpdated 4 days ago
    Game DevelopmentAuto-check passed
  • Generates or edits images from text prompts through a Python script that picks an image backend based on which API keys are configured.

    47k GitHub stars~1.3k tokensUpdated yesterday
    Media & CreativeAuto-check passed

More from TyrealQ/q-skills

All 16 skills in this repo
  • Runs exploratory data analysis on tabular data after you confirm each column's measurement level, then writes CSV tables and a narrative summary.

    108 GitHub stars~1.1k tokensUpdated 17 days ago
    Auto-check passed
  • Extracts pixel, video-frame, speech, music and visual-semantic features from image, video and audio files for research datasets, using local tools or the Gemini API.

    108 GitHub stars~2k tokensUpdated 17 days ago
    Auto-check: notes
  • Consolidates BERTopic, LDA or NMF topic output into a theory-driven classification framework and writes the final labels back to an Excel file.

    108 GitHub stars~1k tokensUpdated 17 days ago
    Auto-check passed
  • Generates branded slide deck images from written content, with a content analysis step, a layout catalog and scripts that merge the slides into PowerPoint or PDF.

    108 GitHub stars~1.1k tokensUpdated 17 days ago
    Auto-check passed
  • Audits a repository's file layout and project documentation against a written convention file, then proposes moves, deletions and doc fixes as an approved plan before touching anything.

    108 GitHub stars~4.4k tokensUpdated 17 days ago
    Auto-check: notes
  • Commit

    TyrealQ/q-skills

    Stage and commit uncommitted changes with conventional commit messages.

    108 GitHub stars~1.1k tokensUpdated 17 days ago
    Auto-check: notes

Questions about Q-Infographics

What does Q-Infographics do?

Converts a report or other document into a business story and then an infographic image, pausing for your review after each step. You give the agent a source document and it runs a three-stage pipeline. First the file is converted to Markdown with markitdown and the opening lines are shown to you.

When should I use Q-Infographics?

Q-Infographics fits situations like: turning a long report into a one-page visual summary; producing a business story from a PDF, Word file or plain text; making an infographic for a presentation from existing source text.

How do I install Q-Infographics in Claude Code?

Run `npx skills add TyrealQ/q-skills --skill q-infographics -a claude-code`. Or copy the skill folder (skills/q-infographics in TyrealQ/q-skills) into .claude/skills/q-infographics in your project. Claude Code loads it when a task matches its description.

How do I install Q-Infographics in Codex?

Run `npx skills add TyrealQ/q-skills --skill q-infographics -a codex`. Or copy the skill folder (skills/q-infographics in TyrealQ/q-skills) into .agents/skills/q-infographics in your project. Codex loads it when a task matches its description.

Can I use Q-Infographics in Cursor, Gemini CLI or GitHub Copilot?

Cursor, Gemini CLI, GitHub Copilot and OpenCode also load SKILL.md folders. With the skills CLI, run `npx skills add TyrealQ/q-skills --skill q-infographics -a cursor` (or -a gemini-cli, github-copilot or opencode for the others). To copy it by hand, put the folder in .cursor/skills/q-infographics, .gemini/skills/q-infographics, .github/skills/q-infographics and .opencode/skills/q-infographics in your project.

What does Q-Infographics need to run?

Going by SKILL.md and its folder, Q-Infographics needs Python for the scripts in its folder, the command-line tools its instructions call (markitdown, python and pip) and credentials named GEMINI_API_KEY and OPENAI_API_KEY. Our summary lists: Python with openai, google-genai, Pillow and markitdown installed; An `OPENAI_API_KEY` for the default image model; A `GEMINI_API_KEY` for story generation.

Does Q-Infographics access the network?

SKILL.md contains no URLs. Its commands use pip, which can reach the network depending on how they are called. This is read from the text; nothing was executed.

Is Q-Infographics safe to install?

Our automated static check of SKILL.md found notes only (mentions a .env file), nothing it rates as a warning. It is not a guarantee. The check reads SKILL.md only: the scripts in the folder are not scanned, so read them before running anything.

What licence does Q-Infographics use?

Q-Infographics is published under the MIT licence (the repository's licence). It allows redistribution, so the full SKILL.md is shown on this page.

How many tokens does Q-Infographics use?

About 814 tokens (SKILL.md is roughly 3.3k characters). Agents keep only the skill's name and description in context until a task matches; then they load SKILL.md in full. Its references folder adds about 1.9k tokens, read only when the agent opens those files.

What are the alternatives to Q-Infographics?

Skills that share tags, products or a category with Q-Infographics: Markitdown (aipoch/medical-research-skills, 1.9k stars), Forge Media Route Layer (0x0funky/agent-sprite-forge, 4.4k stars), 2D Sprite Generator (0x0funky/agent-sprite-forge, 4.4k stars) and Generate Meme Gif Pack (lisamsung/agent-meme-forge, 104 stars). The comparison table on this page puts their stars, adoption, token cost, safety result and licence side by side.

Who maintains Q-Infographics?

TyrealQ (a GitHub user) maintains it in TyrealQ/q-skills, which has 108 GitHub stars. The repository holds 16 skills in this directory. The repository was last updated on September 23, 2026.

Source: TyrealQ/q-skills on GitHub. Facts on this page come from the repository at the commit we read; the author's words are quoted as theirs.