You can import and transfer skills created on third-party platforms, like GitHub and Claude, into Gemini Apps. A Gemini skill consists of a primary SKILL.md instruction file and any optional reference files that guide how the skill responds and performs tasks.
Part 1: Download & prepare your skill
First, download the skill from the third-party platform onto your computer. For steps on how to do this, check the platform’s online support content.
Before you upload a skill to Gemini Apps, make sure all files and folder structures meet the requirements. Third-party repositories often contain repository metadata, evaluation scripts, or unsupported packaging formats that must be removed or converted.
You can only upload one skill at a time to Gemini Apps. If you try to upload multiple skills at once, the upload will fail.
If you downloaded a .zip file from GitHub or an open-source repository hub:
- Extract the archive on your computer.
- Find the specific folder for the individual skill you want to import.
- Make sure the
SKILL.mdfile is in the root folder that you’ll upload.
If you downloaded a .skill from Claude:
- Change the
.skillextension to.zip.- Gemini doesn’t support
.skillfiles.
- Gemini doesn’t support
- Extract the archive on your computer.
- Make sure the
SKILL.mdfile is in the root folder that you’ll upload.
The .zip file or folder must not contain unsupported files and file extensions. Otherwise, your skill upload will fail.
Inside the skill folder, delete non-essential and unsupported files, including:
- Build, cache & packaging files:
- Build & packaging files:
Makefileor extensionless packaging and build notes - Python cache:
__pycache__/folders or.pycfiles - Archives: Compressed files, other than the skill
.zippackage itself
- Build & packaging files:
- Code, scripts & web files:
- Code & scripts:
.cs,.kt,.kts,.php,.r,.rb,.scala,.swift,.ts - Web & UI files:
.jsx,.tsx - Data & config:
.sql
- Code & scripts:
- Documents & media:
- Legacy Microsoft Office:
.doc,.xls,.ppt - Raw photos & media:
.rawimage files, plus any audio and video files
- Legacy Microsoft Office:
The SKILL.md file must have valid frontmatter, no syntax errors, a name with supported characters, and instructions. Otherwise, your skill upload will fail.
Open the instructions file in a text editor and make sure that:
- The instructions file is named
SKILL.mdand is in the root folder. - The top lines contain valid YAML frontmatter enclosed between triple dashes (
---).
---
name: kebab-case-name
description: Summary of what this skill does.
--- - The
name:field uses valid kebab-case.- For example,
name: customer-support-helper. - All unicode lowercase letters, numbers, and hyphens are allowed.
- The name can be 64 characters max.
- For example,
- The
description:field provides a clear summary of what the skill does.- The description can be 1,024 characters max.
- The instructions that come after the second set of triple dashes (
---) aren’t empty.
Scripts that require internet access or external API calls are blocked when skills run. Also, skill uploads over 100 MB, a SKILL.md file over 10 MB, or a skill with over 100 files will fail.
- Check scripts: Make sure any scripts (
.py,.sh,.js) don't need internet access or external API calls. - Check folder size & number of files: Make sure the combined folder size is under 100 MB and contains no more than 100 files.
- Check the
SKILL.mdfile size: Make sure theSKILL.mdfile itself is under 10 MB.
Compress the cleaned folder into a .zip file, or upload the uncompressed folder as is. Make sure the SKILL.md file is in the root folder of your upload.
Part 2: Upload the skill & reference files to Gemini
To create a skill from a file or folder upload:
- At the top of the Skills page, click Create
Upload
.
- Select a
SKILL.mdfile, or select a folder or.zipfile that contains aSKILL.mdfile in its main folder.- If you upload a folder, it skips the option to add files individually.
- Click Open.
- Optionally, add files to your skill:
- For files on your device, click images or files.
- For files in Google apps, click the source: Google Drive
, Google Photos
, or Notebooks
.
- After you’re done adding your files, click Upload.
- Review the skill and make any edits you want to make.
- When you’re done, at the top, click Create.
Fix a problem
"Couldn't upload the attached file. Try a different file type."If you get this error, the package might contain Makefile, __pycache/, .pyc, binary files, unsupported code files (.ts, .sql), or nested .zip files.
To fix this:
- Delete any supported files.
- Extract any nested
.zipfiles and add supported reference files directly into the root folder or its subfolders. - Re-zip
SKILL.mdand supported reference files only, or keep them uncompressed.
If you get this error, the SKILL.md file might be missing --- delimiters or name: or description: lines at the very top of SKILL.md.
To fix this: Open SKILL.md in a text editor and make sure the top lines contain valid YAML frontmatter, smiliarto this:
---
name: my-skill-name
description: A brief summary of what this skill does.
---
If you get this error, the SKILL.md file might be missing, buried in a subfolder, or not named SKILL.md exactly.
To fix this:
- Make sure there’s an instructions file and it’s named
SKILL.md. - Make sure
SKILL.mdis in the root folder of the.zipfile or directly in the folder you’re uploading.
If you get this error, virus or malware was detected in your upload.
To fix this:
- Try scanning your files or
.zipfile with antivirus software on your computer. - Make sure the files are from a trusted source without malware or suspicious binaries.
- Then try uploading your skill again.
If you get this error, the .zip file may be corrupted.
To fix this: Try compressing your folder and files again.