Install agent-skills for Claude Code, Gemini Code Assist, and Codex
Installation
Details
Usage
After installing, this skill will be available to your AI coding assistant.
Verify installation:
npx agent-skills-cli listSkill Instructions
name: skill-installer description: Install agent-skills for Claude Code, Gemini Code Assist, and Codex version: "1.0.0" author: "GitHub Copilot"
Skill Installer
Purpose
- Use when: You need to install agent-skills to make them available to AI assistants
- Goal: To install skills to the correct location where Claude Code, Gemini Code Assist, and Codex can discover them
Triggers
- "Install skills"
- "Set up agent skills"
- "How do I install these skills?"
- "Make skills available to Claude/Gemini/Codex"
- "Configure skills"
Workflow
1. Choose Installation Method
Select the appropriate installer based on the user's platform:
- Windows: Use
install-skills.ps1(PowerShell) - macOS/Linux: Use
install-skills.sh(Bash) - Cross-platform: Use
install-skills.py(Python)
2. Determine Installation Scope
Ask the user where they want to install:
- Local (default): Current project's
.codex/skills/ - Global: User's home directory
~/.codex/skills/ - Custom: Specific directory path
3. Run the Installer
PowerShell (Windows)
# Local installation
.\install-skills.ps1
# Global installation
.\install-skills.ps1 -Global
# Custom location
.\install-skills.ps1 -Target "C:\MyProject\.codex\skills"
Bash (macOS/Linux)
# Make executable (first time only)
chmod +x install-skills.sh
# Local installation
./install-skills.sh
# Global installation
./install-skills.sh --global
# Custom location
./install-skills.sh --target /path/to/project/.codex/skills
Python (Cross-platform)
# Local installation
python install-skills.py
# Global installation
python install-skills.py --global
# Custom location
python install-skills.py --target /path/to/project/.codex/skills
4. Verify Installation
The installer will:
- Find all skill directories in the repository
- Copy each skill with all its files
- Copy AGENT.md configuration
- Display installation summary
- Provide next steps
5. Test Skills
After installation, test by:
- Mentioning a skill by name
- Describing a task that matches a skill
- Verifying the AI assistant loads the skill
What Gets Installed
The installer copies:
- All skill directories with
SKILL.mdfiles - Each skill's complete structure:
SKILL.md- Main instructionsreferences/- Documentationscripts/- Helper scriptsassets/- Templates and components
AGENT.md- Skill catalog configuration
Installation Locations
Local Installation
your-project/
.codex/
AGENT.md
skills/
astro-developer/
dev-browser/
docx/
... (all other skills)
Global Installation
~/.codex/
AGENT.md
skills/
astro-developer/
dev-browser/
docx/
... (all other skills)
AI Assistant Detection
After installation, skills are automatically discovered:
Claude Code
- Scans
.codex/skills/directory - Reads
AGENT.mdfor skill catalog - Loads skills based on user requests
- Uses
<available_skills>section for routing
Gemini Code Assist
- Discovers skills via project context
- Uses skill metadata for capability matching
- Activates skills when mentioned or needed
Codex
- Looks for
.codex/skills/directory - Reads individual
SKILL.mdfiles - Loads skills on demand based on description matching
Updating Skills
To update installed skills:
- Pull latest changes from agent-skills repository
- Run the installer again (same command)
- Installer will detect existing skills and update them
# Example update workflow
cd agent-skills
git pull
.\install-skills.ps1 # or ./install-skills.sh or python install-skills.py
Troubleshooting
Skills Not Detected
- Verify installation path: Check
.codex/skills/exists - Check AGENT.md: Ensure
.codex/AGENT.mdis present - Restart IDE: Close and reopen your editor
- Explicit loading: Try "Load the [skill-name] skill"
Permission Issues
- Windows: Run PowerShell as Administrator if needed
- macOS/Linux: Use
sudoif installing to protected directories - Alternative: Use local installation (no permissions needed)
Installer Errors
- "AGENT.md not found": Run from agent-skills directory
- "No skills found": Check repository structure
- Copy failures: Ensure write permissions on target directory
Examples
Example 1: First-time Installation
# User wants to install skills locally
cd d:\GitHub\agent-skills
.\install-skills.ps1
# Output:
# 🚀 Agent Skills Installer
# ℹ Installing to current project: D:\GitHub\myproject\.codex\skills
# ✓ Found agent-skills repository at: D:\GitHub\agent-skills
# ✓ Installed: astro-developer
# ✓ Installed: dev-browser
# ... (all skills)
# ✓ Installation complete! 🎉
Example 2: Global Installation
# User wants skills available to all projects
cd ~/projects/agent-skills
./install-skills.sh --global
# Skills installed to ~/.codex/skills/
# Available to all projects automatically
Example 3: Custom Location
# User has specific project structure
cd /projects/agent-skills
python install-skills.py --target /projects/my-app/.codex/skills
# Skills installed exactly where needed
Safety & Guardrails
File Safety
- Installer creates directories if they don't exist
- Existing skills are backed up before overwrite (by deletion then copy)
- No files outside target directory are modified
Validation
- Verifies AGENT.md exists before starting
- Checks each skill has SKILL.md file
- Confirms write permissions before copying
- Provides detailed error messages
Rollback
To uninstall/rollback:
# Remove skills directory
rm -rf .codex/skills
# Or on Windows
Remove-Item -Recurse -Force .codex/skills
Platform Support
| Platform | PowerShell | Bash | Python |
|---|---|---|---|
| Windows 11/10 | ✅ Primary | ✅ WSL/Git Bash | ✅ |
| macOS | ✅ | ✅ Primary | ✅ |
| Linux | ✅ | ✅ Primary | ✅ |
Related Files
install-skills.ps1- PowerShell installer (Windows)install-skills.sh- Bash installer (macOS/Linux)install-skills.py- Python installer (cross-platform)INSTALLER.md- Detailed installation guideAGENT.md- Skill catalog configurationREADME.md- Quick start guide
Best Practices
-
Use local installation for project-specific skills
- Keeps skills with project
- Easy to version control
- Portable across machines
-
Use global installation for personal workflows
- Available to all projects
- Consistent experience
- One-time setup
-
Update regularly
- Pull latest agent-skills
- Re-run installer
- Test key skills
-
Verify after installation
- Check directory structure
- Try loading a skill
- Confirm AI assistant recognizes skills
Notes
- First installation may take 10-30 seconds depending on skill count
- Updates are faster (only changed files)
- Global installation requires write permissions to home directory
- Skills work offline once installed (except those requiring API keys)
More by Wattysaid
View allProvide structured business consulting analysis, diagnostics, and recommendations across strategy, finance, operations, sales, and marketing. Use for consulting-style problem solving, executive summaries, or decision support.
Improve operational processes, capacity, service levels, and efficiency. Use for workflows, process design, operational KPIs, or execution issues.
Assist with legal/compliance workflows such as contract reviews, policy drafting, and risk assessment. Use for legal questions, compliance checks, or governance tasks.
Plan and evaluate marketing strategy, positioning, campaigns, and metrics. Use for marketing, brand, growth, acquisition, or go-to-market tasks.
