gamma
Generate AI-powered presentations, documents, and social posts using Gamma.app API. Use when user asks to create a presentation, pitch deck, slide deck…
by sundial-org★ 676 GitHub stars
Install gamma in Claude Code & Claude Desktop
Sign up to install this skill
Create a free account to reveal the install command and save the skill to your library.
- Reveal the one-line install command
- Save skills to your synced library
- Get notified when skills update
About this skill
Gamma.app API
Generate beautiful presentations, documents, and social posts with AI.
Setup
export GAMMA_API_KEY="sk-gamma-xxxxx"
Quick Commands
# Generate a presentation
{baseDir}/scripts/gamma.sh generate "Your content or topic here"
# Generate with options
{baseDir}/scripts/gamma.sh generate "Content" --format presentation --cards 12
# Check generation status
{baseDir}/scripts/gamma.sh status <generationId>
# List recent generations (if supported)
{baseDir}/scripts/gamma.sh list
Script Usage
Generate
{baseDir}/scripts/gamma.sh generate "<content>" [options]
Options:
--format presentation|document|social (default: presentation)
--cards Number of cards/slides (default: 10)
--instructions Additional instructions for styling/tone
--amount concise|detailed (default: detailed)
--tone e.g., "professional", "casual", "technical"
--audience e.g., "investors", "developers", "general"
--image-source aiGenerated|web|none (default: aiGenerated)
--image-style illustration|photo|mixed (default: illustration)
--wait Wait for completion and return URL
Examples
# Simple presentation
{baseDir}/scripts/gamma.sh generate "The future of AI automation" --wait
# Pitch deck with specific styling
{baseDir}/scripts/gamma.sh generate "$(cat pitch.md)" \
--format presentation \
--cards 15 \
--instructions "Make it a professional pitch deck for investors" \
--tone "professional" \
--audience "investors" \
--wait
# Social carousel
{baseDir}/scripts/gamma.sh generate "5 tips for productivity" \
--format social \
--cards 5 \
--wait
# Document/report
{baseDir}/scripts/gamma.sh generate "Q4 2025 Performance Report" \
--format document \
--amount detailed \
--wait
API Reference
Endpoint
POST https://public-api.gamma.app/v1.0/generations
Headers
X-API-KEY: <your-api-key>
Content-Type: application/json
Request Body
{
"inputText": "Your content (1-750,000 chars)",
"textMode": "generate",
"format": "presentation|document|social",
"numCards": 10,
"additionalInstructions": "Styling instructions",
"textOptions": {
"amount": "concise|detailed",
"tone": "professional",
"audience": "target audience"
},
"imageOptions": {
"source": "aiGenerated|web|none",
"model": "flux-kontext-pro",
"style": "illustration|photo"
},
"cardOptions": {
"dimensions": "fluid|16x9|4x3|1x1|4x5|9x16"
}
}
Response
Initial response:
{"generationId": "abc123"}
Poll for status:
GET https://public-api.gamma.app/v1.0/generations/<generationId>
Completed response:
{
"generationId": "abc123",
"status": "completed",
"gammaUrl": "https://gamma.app/docs/xxxxx",
"credits": {"deducted": 150, "remaining": 7500}
}
Format Options
| Format | Dimensions | Use Case |
|---|---|---|
| presentation | fluid, 16x9, 4x3 | Pitch decks, slide shows |
| document | fluid, pageless, letter, a4 | Reports, docs |
| social | 1x1, 4x5, 9x16 | Instagram, LinkedIn carousels |
Notes
- Generation typically takes 1-3 minutes
- Credits are deducted per generation (~150-300 per deck)
- Input text can be markdown formatted
- Use
--waitflag to block until completion and get URL directly
Allowed tools
Tools this skill is permitted to call.
No restriction — this skill can use any tool.
Bundled files
- scripts/gamma.sh
FAQ
What does the gamma skill do?
Generate AI-powered presentations, documents, and social posts using Gamma.app API. Use when user asks to create a presentation, pitch deck, slide deck, document, or social media carousel. Triggers on requests like "create a presentation about X", "make a pitch deck", "generate slides", or "create a Gamma about X".
How do I install the gamma skill?
Copy the skill folder into ~/.claude/skills (the Claude Code tab above does this in one command), or install it as a plugin.
Does the gamma skill run scripts?
Yes, this skill bundles executable scripts. Review the source before installing.
Related skills
docx
AnthropicUse this skill whenever the user wants to create, read, edit, or manipulate Word documents (.docx files) or Word templates (.dotx files). Triggers include…
AnthropicUse this skill whenever the user wants to do anything with PDF files. This includes reading or extracting text/tables from PDFs, combining or merging multiple…
xlsx
AnthropicUse this skill any time a spreadsheet file is the primary input or output. This means any task where the user wants to: open, read, edit, or fix an existing…
pptx
AnthropicUse this skill any time a .pptx or .potx file is involved in any way — as input, output, or both. This includes: creating slide decks, pitch decks, or…