q-infographics

Solid

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

Data & Documents 22 stars 1 forks Updated 2 weeks ago MIT

Install

View on GitHub

Quality Score: 79/100

Stars 20%
45
Recency 20%
90
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
80
License 10%
100
Description 5%
100

Skill Content

# Q-Infographics Transform source documents into business stories and infographic images using the Gemini API. > **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>`. | Resource | Purpose | |----------|---------| | `scripts/gen_story.py` | Generate business story from document via Gemini API | | `scripts/gen_image.py` | Generate infographic image from story via Gemini API | | `references/story.txt` | Story generation prompt template | | `references/image.txt` | Infographic generation prompt template | ## Dependencies ``` google-genai Pillow markitdown ``` Install: `pip install google-genai Pillow markitdown` Requires `GEMINI_API_KEY` environment variable. Load 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 an...

Details

Author
TyrealQ
Repository
TyrealQ/q-skills
Created
3 months ago
Last Updated
2 weeks ago
Language
Python
License
MIT

Similar Skills

Semantically similar based on skill content — not just same category