Files
claude-skills-reference/scripts/gemini-install.sh
Reza Rezvani d25f885f48 feat: add Gemini CLI + OpenClaw support, fix Codex missing 25 skills
Gemini CLI:
- Add GEMINI.md with activation instructions
- Add scripts/gemini-install.sh setup script
- Add scripts/sync-gemini-skills.py (194 skills indexed)
- Add .gemini/skills/ with symlinks for all skills, agents, commands
- Remove phantom medium-content-pro entries from sync script
- Add top-level folder filter to prevent gitignored dirs from leaking

Codex CLI:
- Fix sync-codex-skills.py missing "engineering" domain (25 POWERFUL skills)
- Regenerate .codex/skills-index.json: 124 → 149 skills
- Add 25 new symlinks in .codex/skills/

OpenClaw:
- Add OpenClaw installation section to INSTALLATION.md
- Add ClawHub install + manual install + YAML frontmatter docs

Documentation:
- Update INSTALLATION.md with all 4 platforms + accurate counts
- Update README.md: "three platforms" → "four platforms" + Gemini quick start
- Update CLAUDE.md with Gemini CLI support in v2.1.1 highlights
- Update SKILL-AUTHORING-STANDARD.md + SKILL_PIPELINE.md with Gemini steps
- Add OpenClaw + Gemini to installation locations reference table

Marketplace: all 18 plugins validated — sources exist, SKILL.md present

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-09 14:58:41 +01:00

69 lines
1.6 KiB
Bash
Executable File

#!/bin/bash
#
# Gemini CLI Installation Script for Claude Skills Library
#
# Sets up the workspace for Gemini CLI by generating symlinks and an index.
#
# Usage:
# ./scripts/gemini-install.sh [--dry-run]
#
set -e
# Configuration
SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)"
REPO_ROOT="$(dirname "$SCRIPT_DIR")"
GEMINI_SYNC_SCRIPT="$SCRIPT_DIR/sync-gemini-skills.py"
# Colors for output
GREEN='\033[0;32m'
BLUE='\033[0;34m'
NC='\033[0m' # No Color
# Print colored output
print_info() {
echo -e "${BLUE}[INFO]${NC} $1"
}
print_success() {
echo -e "${GREEN}[SUCCESS]${NC} $1"
}
# Banner
echo ""
echo "========================================"
echo " Claude Skills - Gemini CLI Setup"
echo "========================================"
echo ""
# Check for Python
if ! command -v python3 &> /dev/null; then
echo "Error: python3 is required for this setup."
exit 1
fi
# Run the sync script
print_info "Synchronizing skills for Gemini CLI..."
python3 "$GEMINI_SYNC_SCRIPT" "$@"
# Post-installation instructions
echo ""
print_success "Gemini CLI setup complete!"
echo ""
echo "How to use these skills in Gemini CLI:"
echo "--------------------------------------"
echo "1. Activate any skill by name:"
echo " > activate_skill(name=\"senior-architect\")"
echo ""
echo "2. Activate an agent persona:"
echo " > activate_skill(name=\"cs-engineering-lead\")"
echo ""
echo "3. Run a custom command:"
echo " > activate_skill(name=\"tdd\")"
echo ""
echo "The skills are indexed in .gemini/skills/ for discovery."
echo "Each skill folder contains its own SKILL.md instructions."
echo ""
print_info "Read GEMINI.md in the root for more details."
echo ""