Install
openclaw skills install @luckycat133/agent-skills-setupStandardized instructions for installing, structuring, and configuring custom skills for AI-powered IDEs and editors. Supports: Antigravity, Claude Code, OpenAI Codex, VS Code Copilot, Cursor, Windsurf, JetBrains, OpenClaw, Trae, Trae CN, VS Code, Zed, Neovim, Emacs, Continue.dev, Aider, Roo Code, Cline, Amazon Q. Use when creating or migrating skills between agents, setting up global and project-level skill directories, or performing smart IDE migration with reporting.
openclaw skills install @luckycat133/agent-skills-setupThis skill provides standardized instructions on how to install, structure, and configure custom skills for various AI agents. It covers directory paths, file requirements, and triggering mechanisms for global and project scopes.
When user mentions IDE migration, follow this workflow:
Ask the user:
Supported IDEs:
antigravity, claude, codex, copilot, cursor, windsurfjetbrains, openclaw, trae, trae-cnvscode, zed, neovim, emacscontinue, aider, roo-code, cline, amazon-qIf the IDE is not in the list, follow the "Handling Unknown IDEs" section below.
Always run dry-run first:
bash <skill-path>/scripts/smart-ide-migration.sh \
--source <source-ide> \
--target <target-ide> \
--dry-run
Skill path varies by current IDE:
~/.trae-cn/skills/agent-skills-setup~/.trae/skills/agent-skills-setup~/.claude/skills/agent-skills-setup~/.gemini/antigravity/skills/agent-skills-setup~/.openclaw/skills/agent-skills-setupAfter user confirms the preview:
bash <skill-path>/scripts/smart-ide-migration.sh \
--source <source-ide> \
--target <target-ide> \
--report ~/migration-report.txt
Inform user about manual steps based on target IDE:
openclaw doctor| IDE | Identifier | Global Path |
|---|---|---|
| Antigravity | antigravity | ~/.gemini/antigravity/ |
| Claude Code | claude | ~/.claude/ |
| OpenAI Codex CLI | codex | ~/.codex/ |
| VS Code Copilot | copilot | ~/.vscode/extensions/ |
| Cursor | cursor | ~/.cursor/ |
| Windsurf | windsurf | ~/.windsurf/ |
| JetBrains IDEs | jetbrains | ~/.idea/ |
| OpenClaw | openclaw | ~/.openclaw/ |
| Trae (International) | trae | ~/.trae/ |
| Trae CN (China) | trae-cn | ~/.trae-cn/ |
| VS Code | vscode | ~/.vscode/ |
| Zed | zed | ~/.config/zed/ |
| Neovim | neovim | ~/.config/nvim/ |
| Emacs | emacs | ~/.emacs.d/ |
| Continue.dev | continue | ~/.continue/ |
| Aider | aider | ~/.aider/ |
| Roo Code | roo-code | ~/.roo/ |
| Cline | cline | ~/.cline/ |
| Amazon Q Developer | amazon-q | ~/.aws/amazon-q/ |
| Sourcegraph Cody | cody | ~/.vscode/extensions/ |
| Codeium | codeium | ~/.vscode/extensions/ |
| Tabnine | tabnine | ~/.vscode/extensions/ |
| Replit AI | replit | ~/.replit/ |
| PearAI | pearai | ~/.pearai/ |
| Supermaven | supermaven | ~/.supermaven/ |
| Pieces | pieces | ~/.pieces/ |
| Blackbox AI | blackbox | ~/.vscode/extensions/ |
| CLI Tool | Identifier | Global Path | Rules File |
|---|---|---|---|
| Gemini CLI | gemini-cli | ~/.gemini/ | GEMINI.md |
| Goose CLI | goose-cli | ~/.config/goose/ | GOOSE.md |
| OpenCode | opencode | ~/.config/opencode/ | OPENCODE.md |
| Kilocode | kilocode | ~/.kilocode/ | KILOCODE.md |
| Kimi AI CLI | kimiai | ~/.kimi/ | KIMI.md |
When user mentions an IDE not in the supported list, AI should:
Search for information about the IDE's AI assistant configuration:
Identify key configuration paths:
~/.<ide-name>/ or ~/.config/<ide-name>/).<ide-name>/ in project root)Ask the user to confirm findings:
"I found that [IDE name] uses the following paths for AI configuration:
- Global: [path]
- Project: [path]
- Rules file: [filename]
Is this correct? Would you like me to proceed with migration using these paths?"
If unable to find information, ask user:
"I couldn't find detailed configuration information for [IDE name].
Could you help me by providing:
1. Where does this IDE store its AI assistant configuration?
2. Does it support custom rules/instructions files?
3. Does it support MCP servers?
After gathering information, proceed with migration:
| Type | Description | Example Paths |
|---|---|---|
skills | Skills and capabilities (SKILL.md files) | ~/.trae-cn/skills/ → ~/.claude/skills/ |
rules | Coding rules and instructions | .cursorrules → .windsurfrules |
prompts | Custom prompts and prompt templates | .cursor/prompts/ → .windsurf/prompts/ |
mcp | MCP server configurations | ~/.trae-cn/mcps/ |
config | IDE configuration files | argv.json, settings.json |
project | Project-level configurations | .trae/skills/ → .claude/skills/ |
User: "Help me migrate from Trae CN to Claude Code"
AI Response:
1. Ask: "I'll help you migrate from Trae CN to Claude Code. What content would you like to migrate?"
- Options: skills, rules, prompts, mcp, config, project (default: all)
2. Run dry-run:
bash ~/.trae-cn/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source trae-cn --target claude --dry-run
3. Show preview and ask for confirmation
4. Execute migration:
bash ~/.trae-cn/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source trae-cn --target claude --report ~/migration-report.txt
5. Show report and remind user to restart Claude Code session
Unless the user explicitly requests otherwise, treat Antigravity as the canonical source:
~/.gemini/antigravity/skills/SKILL.md into ~/.copilot-skills/<skill-name>.md.system/~/.openclaw/skills/ for shared skills and into <agent-workspace>/skills/ for per-agent overrides| Agent | Global Path | Project Path |
|---|---|---|
| Antigravity | ~/.gemini/antigravity/skills/ | .agents/skills/ |
| Claude Code | ~/.claude/skills/ | .claude/skills/ |
| OpenAI Codex | ~/.codex/skills/ | .agents/skills/ |
| OpenClaw | ~/.openclaw/skills/ + ~/.openclaw/openclaw.json | <agent-workspace>/skills/ |
| Trae | ~/.trae/skills/ | ./.trae/skills/ |
| Trae CN | ~/.trae-cn/skills/ | ./.trae/skills/ |
| VS Code Copilot | ~/.copilot-skills/ + settings.json | .github/copilot-instructions.md |
Regardless of the agent, every skill should follow this anatomy:
<skill-name>/
├── SKILL.md (Required)
│ ├── YAML frontmatter (name, description)
│ └── Markdown instructions
├── scripts/ (Optional) - Executable automation
├── references/ (Optional) - Detailed docs and schemas
└── assets/ (Optional) - Templates and resources
For detailed configuration instructions, structure nuances, and UI requirements per agent, refer to:
agents/openai.yaml for UI features)When installing a new skill:
<skill-name> folder.description is comprehensive, as it is the primary trigger for ALL agents.~/.openclaw/skills/ or an individual agent workspace skills/ folder, and configure skills.entries / agents.list as neededagents/openai.yaml for UI visibilitysettings.jsonWhen updating a shared skill used across agents:
scripts/..system/SKILL.md filesUse the bundled script for repeatable global sync operations:
~/.gemini/antigravity/skills/agent-skills-setup/scripts/sync-global-skills.sh
Examples:
# Sync all supported IDEs from Antigravity
~/.gemini/antigravity/skills/agent-skills-setup/scripts/sync-global-skills.sh
# Preview changes without modifying files
~/.gemini/antigravity/skills/agent-skills-setup/scripts/sync-global-skills.sh --dry-run
# Sync a subset of targets
~/.gemini/antigravity/skills/agent-skills-setup/scripts/sync-global-skills.sh --targets claude,codex,copilot,openclaw,trae,trae-cn
Behavior:
.system/~/.openclaw/skills/SKILL.mdUse the bundled OpenClaw helpers when you need first-class OpenClaw setup rather than a plain file copy:
# Install OpenClaw if needed, sync skills, install declared dependencies,
# and patch ~/.openclaw/openclaw.json for shared + per-agent skills
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/auto-configure-openclaw-skills.sh \
--scope both \
--agent work:~/.openclaw/workspace-work \
--default-agent work
# Update the OpenClaw runtime, registry-managed skills, and mirrored local skills
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/update-openclaw-skills.sh
The auto-configure helper:
~/.openclaw/skills/skills/ directorymetadata.openclaw.installskills.load, skills.install, skills.entries, and agents.list settings into ~/.openclaw/openclaw.json--skip-doctor when you need a non-intrusive apply on a machine with an existing gateway serviceThe update helper:
openclaw update for the runtimeclawhub update --all for registry-managed workspace skillsopenclaw doctor after non-dry-run updates--skip-doctor for machine-safe update runs when zero gateway interaction is requiredUse the ClawHub release helper when you want an exact publish command and metadata validation for a public OpenClaw release:
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/prepare-clawhub-release.sh \
--skill-dir ~/code/agent-skills-setup-public/agent-skills-setup \
--slug agent-skills-setup \
--name "Agent Skills Setup" \
--version 1.0.0 \
--tags latest,setup,openclaw
The Smart IDE Migration system provides intelligent migration between any supported IDE environments. You specify the source and target IDEs, and the tool handles the migration with real-time progress feedback and comprehensive reporting.
| IDE | Identifier | Global Path |
|---|---|---|
| Antigravity | antigravity | ~/.gemini/antigravity/skills/ |
| Claude Code | claude | ~/.claude/skills/ |
| OpenAI Codex | codex | ~/.codex/skills/ |
| VS Code Copilot | copilot | ~/.copilot-skills/ |
| Cursor | cursor | ~/.cursor/ |
| Windsurf | windsurf | ~/.windsurf/ |
| JetBrains IDEs | jetbrains | ~/.idea/ |
| OpenClaw | openclaw | ~/.openclaw/skills/ |
| Trae (International) | trae | ~/.trae/skills/ |
| Trae CN (China) | trae-cn | ~/.trae-cn/skills/ |
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source <source-ide> \
--target <target-ide>
Required Parameters:
--source <ide>: The IDE to migrate FROM--target <ide>: The IDE to migrate TO| Option | Description |
|---|---|
--source <ide> | Source IDE (required) |
--target <ide> | Target IDE for migration (required) |
--workspace <dir> | Workspace root directory (default: current directory) |
--objects <list> | Objects to migrate, comma-separated (default: auto-detect) |
--strategy <mode> | Migration strategy: skip, overwrite, backup (default: backup) |
--report <file> | Save migration report to file |
--dry-run | Preview changes without modifying files |
The following content types can be migrated:
| Type | Description | Notes |
|---|---|---|
skills | Skills and capabilities (SKILL.md files) | Global skills directory |
rules | Coding rules and instructions | .cursorrules, .windsurfrules, etc. |
prompts | Custom prompts and prompt templates | Project-level prompts |
mcp | MCP server configurations | IDE-specific MCP settings |
config | IDE configuration files | Settings and preferences |
project | Project-level configurations | .trae/skills, .claude/skills, etc. |
| Strategy | Behavior |
|---|---|
backup | Create timestamped backup before overwriting (default) |
overwrite | Replace existing files without backup |
skip | Skip existing files, only copy new ones |
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source trae-cn \
--target claude
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source trae-cn \
--target claude \
--dry-run
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source cursor \
--target windsurf \
--objects skills,rules
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/smart-ide-migration.sh \
--source trae-cn \
--target copilot \
--workspace /path/to/project \
--report ~/migration-report.txt
After migration, the report will indicate any manual steps required:
settings.json to reference migrated skills.cursorrules or .windsurfrules filesopenclaw.json and run openclaw doctoragents/openai.yaml for UI visibilityDifferent IDEs use different names and locations for similar content:
| Content Type | Antigravity | Claude Code | Trae/Trae CN | VS Code Copilot | Cursor | Windsurf |
|---|---|---|---|---|---|---|
| Skills | ~/.gemini/antigravity/skills/ | ~/.claude/skills/ | ~/.trae/skills/ | ~/.copilot-skills/*.md | ~/.cursor/ | ~/.windsurf/ |
| Project Skills | .agents/skills/ | .claude/skills/ | ./.trae/skills/ | .github/copilot-instructions.md | .cursor/ | .windsurf/ |
| Rules | - | - | - | .github/instructions/ | .cursorrules | .windsurfrules |
| Prompts | - | - | - | .github/prompts/ | .cursor/prompts/ | .windsurf/prompts/ |
| MCP Servers | - | - | ~/.trae-cn/mcps/ | settings.json | - | - |
| Agent Config | - | - | argv.json | settings.json | - | - |
# === To Trae (International) ===
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.trae/skills/$skill_name
cp -r "${dir}"* ~/.trae/skills/$skill_name/
done
# === To Trae CN (China) ===
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.trae-cn/skills/$skill_name
cp -r "${dir}"* ~/.trae-cn/skills/$skill_name/
done
# === To VS Code Copilot ===
mkdir -p ~/.copilot-skills
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
if [ -f "${dir}SKILL.md" ]; then
cp "${dir}SKILL.md" ~/.copilot-skills/${skill_name}.md
fi
done
# Then add to settings.json (see vscode-copilot.md)
# === To Claude Code ===
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.claude/skills/$skill_name
cp -r "${dir}"* ~/.claude/skills/$skill_name/
done
# === To OpenAI Codex ===
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.codex/skills/$skill_name
cp -r "${dir}"* ~/.codex/skills/$skill_name/
done
# === To OpenClaw (shared / managed) ===
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.openclaw/skills/$skill_name
cp -r "${dir}"* ~/.openclaw/skills/$skill_name/
done
for dir in ~/.trae-cn/skills/*/; do
skill_name=$(basename "$dir")
mkdir -p ~/.gemini/antigravity/skills/$skill_name
cp -r "${dir}"* ~/.gemini/antigravity/skills/$skill_name/
done
| Priority | Level | Description |
|---|---|---|
| 1 (Highest) | Project | ./.trae/skills/, .agents/skills/, .github/copilot-instructions.md, <agent-workspace>/skills/ |
| 2 | Workspace | .vscode/settings.json (VS Code only) |
| 3 | Global/User | ~/.openclaw/skills/, ~/.trae/skills/, ~/.gemini/antigravity/skills/, settings.json |
| 4 (Base) | Bundled | OpenClaw bundled skills and any other agent-managed built-ins |
# Create all target directories
mkdir -p ~/.trae/skills ~/.trae-cn/skills ~/.copilot-skills ~/.claude/skills ~/.codex/skills ~/.openclaw/skills
# Copy to all agents
for dir in ~/.gemini/antigravity/skills/*/; do
skill_name=$(basename "$dir")
# Trae
mkdir -p ~/.trae/skills/$skill_name && cp -r "${dir}"* ~/.trae/skills/$skill_name/
# Trae CN
mkdir -p ~/.trae-cn/skills/$skill_name && cp -r "${dir}"* ~/.trae-cn/skills/$skill_name/
# VS Code Copilot (flat structure)
[ -f "${dir}SKILL.md" ] && cp "${dir}SKILL.md" ~/.copilot-skills/${skill_name}.md
# Claude Code
mkdir -p ~/.claude/skills/$skill_name && cp -r "${dir}"* ~/.claude/skills/$skill_name/
# OpenAI Codex
mkdir -p ~/.codex/skills/$skill_name && cp -r "${dir}"* ~/.codex/skills/$skill_name/
# OpenClaw managed skills
mkdir -p ~/.openclaw/skills/$skill_name && cp -r "${dir}"* ~/.openclaw/skills/$skill_name/
done
echo "Migration complete! Don't forget to update VS Code settings.json"
rsync -a --delete over ad hoc copy loops when exact mirror behavior is required.~/.trae/skills/ is sufficient for pre-seeding the directory.~/.openclaw/skills/ while per-agent overrides live under each agent workspace skills/ directory.skills.entries.*.env only applies to host runs; sandboxed agents need matching agents.defaults.sandbox.docker.env or agents.list[].sandbox.docker.env when a skill must execute inside the sandbox.If the goal is to publish a skill so more people can find and install it:
skills.shgithub/awesome-copilotUse the bundled export helper:
bash ~/.gemini/antigravity/skills/agent-skills-setup/scripts/export-public-skill.sh \
--skill agent-skills-setup \
--output ~/tmp/agent-skills-setup-public \
--repo your-github-name/agent-skills-setup
The export helper copies the selected skill into a publishable repository layout and generates a starter README.md.
Before publishing a skill publicly, verify that it: