tyrealq/q-skills/q-infographics

Claude Code and agent skill by tyrealq/q-skills

Trust tier 3
  • community
Source check pending

Checking that the SKILL.md file is still in the repository.

Convert documents into business stories and infographics. Use for turning reports, documents, or text into visual summaries or infographics.

Install

npx vskill@latest install tyrealq/q-skills/q-infographics

SKILL.md

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.

Security

  • Security scanPassed, 95 of 100Pattern checks on the skill's files.
  • Model reviewPassed

Quality evaluation

  • Task evaluationNot runNo evaluation yet. Run one in Skill Studio.

Source

Popularity

Repository stars
20
7-day trend score
15

Stars and forks are for the whole GitHub repository, not this skill alone. Refreshed 14 Apr 2026, 6 months ago.

Works with

Any agent vskill installs to: 56 targets in all. These 39 have a page on this site.

  • Claude Code
  • Cursor
  • GitHub Copilot
  • Windsurf
  • Codex
  • Gemini CLI
  • Cline
  • Amp
  • Roo Code
  • Goose
  • Continue
  • Kilo Code
  • Junie
  • Trae
  • OpenHands
  • Qwen Code
  • AI Agent
  • Tabnine Chat
  • Sourcegraph Cody
  • Amazon Q
  • Firebase Genkit
  • Sweep
  • Devin
  • Phind
  • Mentat
  • Claude Desktop
  • Aider
  • GPT Pilot
  • Plandex
  • bolt.new
  • v0
  • Replit Agent
  • Anse
  • TypingMind
  • BetterChatGPT
  • LibreChat
  • Warp AI
  • Pieces
  • Fig AI
Embed badge
vskill VERIFIED badge
[![vskill VERIFIED](https://verified-skill.com/api/v1/skills/tyrealq/q-skills/q-infographics/badge)](https://verified-skill.com/skills/tyrealq/q-skills/q-infographics)

Something wrong with this skill or its page? Tell us.