Skip to content

feat: add /sync-skills command to bridge Claude Code and OpenCode skills #21562

@zhangxaochen

Description

@zhangxaochen

Description

Many developers use multiple AI-powered CLI tools such as Claude Code and OpenCode. These tools follow the Agent Skills standard, but each stores skills in different default directories (e.g., ~/.claude/skills/ and ~/.config/opencode/skills/).

Currently, users of Gemini CLI must manually copy or link these expertise-rich directories to ~/.gemini/skills/ to leverage them.

I propose adding a new built-in command /sync-skills that:

  1. Automatically discovers skills from Claude Code and OpenCode directories.
  2. Safely creates symbolic links in the Gemini skills folder.
  3. Automatically avoids conflicts with built-in Gemini extensions.
  4. Cleans up broken or stale links.

Motivation

This feature will make Gemini CLI the central hub for AI engineering expertise by allowing users to instantly "import" their existing library of specialized skills from other tools without manual overhead or dependency conflicts.

Proposed Implementation

  • Add a new command implementation in src/commands/.
  • Use a safe linking strategy that prioritizes official Gemini extensions.
  • Provide clear feedback to the user on how many skills were synchronized.

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/extensionsIssues related to Gemini CLI extensions capabilitypriority/p2Important but can be addressed in a future release.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions