Claude Skill Importer
This skill provides utilities to import skills defined for "Claude Code" (e.g., from any-forward/skills or loose .md files) and convert them into the structured format required by Antigravity Agents.
Capabilities
- •Import: Copies skills from a source directory.
- •Normalize:
- •Ensures valid YAML Frontmatter (
name,description) exists. - •Converts flat
.mdfiles into valid Skill Directories (folder/SKILL.md).
- •Ensures valid YAML Frontmatter (
- •Completeness:
- •Generates
metadata.jsonautomatically. - •Generates
SKILL.ja.md(Japanse placeholder) automatically to satisfy strict format requirements.
- •Generates
Usage
You can invoke this skill by running the bundled script via run_command.
Command Syntax
bash
node .gemini/antigravity/skills/ai-tools/claude-skill-importer/scripts/importer.js <SOURCE_DIRECTORY> [TARGET_CATEGORY_NAME]
- •SOURCE_DIRECTORY: The absolute path to the folder containing Claude skills. This can be:
- •A flat folder of
.mdfiles. - •A standard
plugins/structure (Trail of Bits style).
- •A flat folder of
- •TARGET_CATEGORY_NAME (Optional): The name of the subdirectory within
.gemini/antigravity/skills/where these will be placed. Defaults toimported-skills.
Example
bash
# Import skills from a flat folder into "my-new-skills" node .gemini/antigravity/skills/ai-tools/claude-skill-importer/scripts/importer.js /Users/me/downloads/claude-skills my-new-skills
Supported Source Formats
- •Flat Markdown:
folder/my-skill.md->skills/imported/my-skill/SKILL.md - •Plugin Structure:
folder/plugins/my-plugin/skills/my-skill/SKILL.md->skills/imported/my-skill/SKILL.md
Localization Process (Post-Import)
The importer script generates SKILL.ja.md as a placeholder. You MUST complete the translation process manually or by instructing the agent.
- •Verify: Check the generated
SKILL.ja.md. It will contain a> Note: This is a placeholderblock. - •Translate:
- •Read the content of the English
SKILL.md. - •Translate the Title, Description, and Body content into Japanese.
- •Important: Keep the YAML Frontmatter keys (like
name,description) in English format, but translate their values if appropriate (or append(JP)). Ensurelanguage: jais present.
- •Read the content of the English
- •Overwrite: Replace the placeholder content in
SKILL.ja.mdwith the full Japanese translation.