gamma
Skill2 starsChanged 12 months agoMITView on GitHub
Create professional presentations, documents, webpages, and social posts using Gamma's AI-powered design API. Use when the user asks to create, generate, or build any type of presentation, slide deck, document, webpage, or social media post. Supports AI-generated content from prompts, condensing existing text, or preserving exact content with beautiful design.
- Reads credentials
1 other project uses a version of this.
Adopted by
Most recently taken up by
- thevibethinker/vibe-thinker-skillstheir own version, first seen Jul 23, 2026
Other versions1 project uses a version of this.
Word for word · 0
None found.
Edited · 0
None found.
Wrote their own version · 1
- thevibethinker/vibe-thinker-skills★ 1same name
How matches are found. Word for word: the exact same text. Edited: shares passages with this file (“99% same” means 99% of its five-word phrases also appear here; 10% or more counts). Their own version: similar meaning, or, weakest, the same name. We can’t tell which project had it first. Projects are counted among the 200 most-starred candidates, and mentions are links to the repository we found, up to 50 per site, so both counts are a floor.
The file
We split this skill into the rules it gives an agent
10 rules. About 0 are common, 6 are distinctive, and 4 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈6
Distinctive · estimate
This author's own choices. Worth a look.
4
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 8
Create professional presentations, documents, webpages, and social posts using Gamma's Generate API.
- Very specific: line 14
Check if GAMMA_API_KEY environment variable is set: [ -n "$GAMMA_API_KEY" ] && echo "API key is set" || echo "API key not set"
- Very specific: line 15
If not set, explicitly ask the user: "To use Gamma, I need your API key.
- Distinctive: line 71
Create a new generation
- Distinctive: line 75
Check status of a generation
- Distinctive: line 179
403: No credits or account issue
- Very specific: line 188
Use scripts/list_resources.py to see themes and folders:
- Distinctive: line 215
Token Limits: Keep inputText under 100k tokens when possible
- Very specific: line 217
Card Breaks: Use \n---\n to control slide splits
- Distinctive: line 219
Timeouts: Default 5-minute timeout works for most cases
≈ “Common” is an estimate: at least 1 in 5 of the 213,895 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Gamma
Create professional presentations, documents, webpages, and social posts using Gamma's Generate API.
Prerequisites
CRITICAL: Gamma API requires an API key. Before proceeding:
- Check if
GAMMA_API_KEYenvironment variable is set:[ -n "$GAMMA_API_KEY" ] && echo "API key is set" || echo "API key not set" - If not set, explicitly ask the user: "To use Gamma, I need your API key. You can get it from https://gamma.app/settings/api-keys. Please provide it or set it as GAMMA_API_KEY environment variable."
- Store the key securely when provided:
export GAMMA_API_KEY="sk-gamma-xxxxx"
Using the Python Script
The scripts/generate_presentation.py script can be used in three ways:
1. From Stdin (Recommended for Automation)
python scripts/generate_presentation.py << 'EOF'
{
"inputText": "Your content here",
"textMode": "generate",
"format": "presentation",
"numCards": 10
}
EOFOr from a file:
python scripts/generate_presentation.py < payload.json2. As a Python Module
from scripts.generate_presentation import GammaAPI
# Initialize (reads GAMMA_API_KEY from environment)
client = GammaAPI()
# Create payload
payload = {
"inputText": "Your content here",
"textMode": "generate",
"format": "presentation",
"numCards": 10
}
# Generate and wait for completion
result = client.generate_and_wait(payload, verbose=True)
# Access results
print(result['gammaUrl']) # Link to view in Gamma
print(result['credits']) # Credit usage infoKey Methods
GammaAPI(api_key=None)
- Initialize client
- Reads from
GAMMA_API_KEYenvironment variable if not provided
create_generation(payload)
- Create a new generation
- Returns: generation ID string
get_generation(generation_id)
- Check status of a generation
- Returns: dict with status and details
poll_until_complete(generation_id, poll_interval=5, max_wait=300, verbose=True)
- Poll until generation completes
- Uses 5-second intervals by default
- Raises TimeoutError if exceeds max_wait
generate_and_wait(payload, poll_interval=5, max_wait=300, verbose=True)
- Convenience method: create + poll in one call
- Recommended for most use cases
Payload Parameters
Required
inputText: Content to generate from (1-100k tokens, ~400k chars)textMode:"generate"(expand),"condense"(summarize), or"preserve"(keep exact)format:"presentation","document","social", or"webpage"
Common Options
numCards: Number of slides/cards (1-60 for Pro, 1-75 for Ultra)themeId: Theme ID from workspace (usescripts/list_resources.py themes)additionalInstructions: Extra specifications (1-2000 chars)exportAs:"pdf"or"pptx"for direct exporttextOptions: Controlamount,tone,audience,languageimageOptions: Controlsource,model,stylecardOptions: Controldimensions,headerFootersharingOptions: ControlworkspaceAccess,externalAccess,emailOptionsfolderIds: Array of folder IDs to save to
See references/api_parameters.md for complete parameter documentation.
Common Patterns
Quick Presentation from Topic (via stdin)
python scripts/generate_presentation.py << 'EOF'
{
"inputText": "The future of renewable energy",
"textMode": "generate",
"format": "presentation",
"numCards": 10,
"textOptions": {"amount": "detailed"}
}
EOFQuick Presentation from Topic (Python module)
payload = {
"inputText": "The future of renewable energy",
"textMode": "generate",
"format": "presentation",
"numCards": 10,
"textOptions": {"amount": "detailed"}
}
result = client.generate_and_wait(payload)Preserve Long Structured Content (via stdin)
python scripts/generate_presentation.py << 'EOF'
{
"inputText": "# Weekly Changelog\nNovember 14-21, 2025\n\n---\n\n## Major Features\n\n- Feature 1\n- Feature 2\n\n---\n\n## Bug Fixes\n\n- Fix 1\n- Fix 2",
"textMode": "preserve",
"format": "document",
"cardSplit": "inputTextBreaks",
"textOptions": {
"tone": "professional, enthusiastic",
"audience": "developers and technical users"
},
"imageOptions": {
"source": "aiGenerated",
"style": "modern, clean, tech-focused"
},
"additionalInstructions": "Create a visually appealing document with clear sections and professional styling"
}
EOFCustom Styling
payload = {
"inputText": "Digital marketing strategies",
"textMode": "generate",
"format": "presentation",
"numCards": 12,
"textOptions": {
"amount": "detailed",
"tone": "energetic, persuasive",
"audience": "marketing professionals"
},
"imageOptions": {
"source": "aiGenerated",
"style": "modern, vibrant, professional"
}
}
result = client.generate_and_wait(payload)Error Handling
The script automatically handles:
- 401: Invalid API key - check X-API-KEY header
- 403: No credits or account issue
- 400: Invalid parameters - check error message
- 404: Generation ID not found
- 422: Generation failed - check input
- 429: Rate limit - implement exponential backoff
- 500/503: Server error - retry with backoff
Listing Available Resources
Use scripts/list_resources.py to see themes and folders:
# List themes
python scripts/list_resources.py themes
# List folders
python scripts/list_resources.py folders
# List both
python scripts/list_resources.py allThen use the IDs in your payload:
payload = {
"inputText": "Content",
"textMode": "generate",
"format": "presentation",
"themeId": "theme-id-from-list",
"folderIds": ["folder-id-from-list"]
}Implementation Tips
- Polling: 10 second intervals is optimal (default in script)
- Token Limits: Keep inputText under 100k tokens when possible
- Image URLs: Include URLs directly in inputText where needed
- Card Breaks: Use
\n---\nto control slide splits - Export Links: Download PDF/PPTX immediately - links expire
- Timeouts: Default 5-minute timeout works for most cases
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

