gemini-gem-converter
Gemini Gem Converter
Convert Agent Skills into Gemini Gems with awareness of platform constraints and optimal adaptation strategies.
Platform Constraints Summary
| Aspect | Claude Skills | Gemini Gems |
|---|---|---|
| Instructions | Unlimited (SKILL.md) | No documented limit |
| Knowledge Files | Unlimited | 10 files max |
| File Structure | Hierarchical | Flat |
| Executable Scripts | Yes (Python, Bash) | No |
| API Integration | Via scripts | No |
| Live Updates | N/A | Yes (Google Docs/Sheets) |
For detailed constraints and workarounds, see references/gem-constraints.md.
Conversion Workflow
Step 1: Audit the Source Skill
Inventory all files in the source skill directory:
- Read SKILL.md — note frontmatter fields and body length
- List all files in
scripts/,references/, andassets/ - Count total files (Gems allow max 10 knowledge files)
- Identify scripts that need conversion to instructional docs
Step 2: Map SKILL.md to Gem Instructions
| Source | Target |
|---|---|
YAML name |
Gem Name |
YAML description |
First paragraph of Gem instructions |
| SKILL.md body | Full instructions field |
Transformation rules:
- Remove Claude-specific directives — Strip file path references (
/mnt/skills/...), remove tool invocation syntax, replace "Claude" with neutral terms ("this assistant") - Adapt progressive disclosure — Gems don't support lazy loading. Consolidate critical info into instructions. Use knowledge files for supplementary detail.
- Remove frontmatter — Gems don't use YAML frontmatter. Extract name and description into the Gem configuration UI.
Step 3: Convert Bundled Resources
Use this naming convention for the flat file structure:
Original: Derived:
references/api-docs.md → REF_api-docs.md
references/workflows/create.md → REF_workflows_create.md
scripts/rotate_pdf.py → SCRIPT_rotate_pdf.md (converted)
assets/template.pptx → ASSET_template.pptx
Prefix system:
REF_— Reference documentationSCRIPT_— Script logic (converted to readable format)ASSET_— Binary assets (images, templates)WORKFLOW_— Multi-step procedures
Step 4: Convert Scripts to Instructional Documents
Since Gems cannot execute code, transform each script into:
- Procedural documentation — Step-by-step instructions the AI can explain
- Code snippets for users — Code the user can copy/paste and run locally
- Guidance on when to use — Context for when this procedure applies
Example transformation:
Source (scripts/rotate_pdf.py):
def rotate_pdf(input_path, degrees):
from pypdf import PdfReader, PdfWriter
reader = PdfReader(input_path)
writer = PdfWriter()
for page in reader.pages:
page.rotate(degrees)
writer.add_page(page)
return writer
Target (SCRIPT_rotate_pdf.md):
# PDF Rotation Procedure
## When to use
User wants to rotate pages in a PDF document.
## Steps to guide user
1. Explain that PDF rotation requires a Python environment
2. Provide this code for the user to run:
[Python code snippet]
3. Offer to explain any part of the code
4. Suggest online alternatives if user cannot run Python
Step 5: Consolidate to 10-File Limit
Gems allow a maximum of 10 knowledge files. If the source skill has more than 10 resource files:
- Merge related references into single files (e.g., combine all API docs)
- Prioritize core documentation — drop files that are nice-to-have
- Inline short references into the instructions field
- Aim for 5-7 files to leave room for future additions
Step 6: Test the Gem
- Create the Gem in Google AI Studio with the converted instructions
- Upload all knowledge files
- Test with representative queries from the original skill's use cases
- Verify the Gem finds and uses knowledge files correctly
- Iterate on instructions if the Gem misses important context
Platform Opportunities
Google Drive integration: Gems can reference Google Docs/Sheets that auto-update. For skills with frequently changing reference data, consider linking a Google Sheet instead of a static knowledge file.
Naming Convention Quick Reference
SKILL.md fields → Gem Configuration:
name → Gem Name
description → Instructions (first paragraph)
body → Instructions (full content)
Resource files → Knowledge Files:
references/* → REF_*.md
scripts/* → SCRIPT_*.md (converted from code to docs)
assets/* → ASSET_* (uploaded directly if supported type)
Quality Expectations
| Skill Type | Expected Gem Retention |
|---|---|
| Documentation/Knowledge | ~90% |
| Workflow guidance | ~80% |
| Code generation guidance | ~70% |
| Automated tasks (scripts) | ~20% |
| External API integration | ~0% |
Script-heavy skills will lose the most capability. Knowledge-heavy skills translate well.
More from bluewaves-creations/bluewaves-skills
photographer-testino
Generate images in Mario Testino's glamorous vibrant style. Use when users ask for Testino style, high fashion glamour, bold saturated colors, warm luxurious photography, dynamic sensual energy.
35photographer-lindbergh
Generate images in Peter Lindbergh's iconic black and white style. Use when users ask for Lindbergh style, raw authentic beauty, emotional B&W portraits, supermodel aesthetic, or unretouched natural photography.
30photographer-lachapelle
Generate images in David LaChapelle's surreal pop art style. Use when users ask for LaChapelle style, pop surrealism, hyper-saturated colors, theatrical staging, baroque maximalism, kitsch aesthetic.
24epub-creator
Create production-quality EPUB 3 ebooks from markdown and images with automated QA, formatting fixes, and validation. Use when creating ebooks, converting markdown to EPUB, or compiling chapters into a publishable book. Handles markdown quirks, generates TOC, adds covers, and validates output automatically.
22photographer-vonunwerth
Generate images in Ellen von Unwerth's playful vintage style. Use when users ask for von Unwerth style, playful sensuality, vintage film noir, whimsical feminine photography, retro glamour, narrative storytelling.
19photographer-ritts
Generate images in Herb Ritts' sculptural black and white style. Use when users ask for Ritts style, classical Greek aesthetic, sculptural body photography, California golden hour, minimalist athletic portraits.
18