Overview
CodeAlive offers three integration methods that complement each other:MCP Server
Provides tools. Gives your agent direct access to
codebase_search, codebase_consultant, and get_data_sources via the Model Context Protocol.Agent Skill
Teaches workflows. Teaches your agent effective query patterns, cost-aware tool selection, and multi-step exploration workflows.
Claude Code Plugin
Bundles everything. Includes the skill plus authentication hooks and a code exploration subagent. Claude Code only.
Installing the Skill
Via Installer (Recommended)
The universal installer auto-detects your agents and installs the skill:Select “CodeAlive Skill” when prompted. See the Installation Guide for details.
Via npx
Install the skill directly using the skills CLI:This works with any agent that supports the skills.sh standard.
Manual Installation
Copy the
skills/codealive-context-engine folder into your agent’s skills directory:| Agent | Project scope | User scope |
|---|---|---|
| Claude Code | .claude/skills/ | ~/.claude/skills/ |
| Cursor | .cursor/skills/ | ~/.cursor/skills/ |
| GitHub Copilot | .github/skills/ | ~/.copilot/skills/ |
| Windsurf | .windsurf/skills/ | ~/.codeium/windsurf/skills/ |
| Gemini CLI | .gemini/skills/ | ~/.gemini/skills/ |
| Codex | .codex/skills/ | ~/.codex/skills/ |
| Goose | .goose/skills/ | ~/.config/goose/skills/ |
| Amp | .agents/skills/ | ~/.config/agents/skills/ |
| Roo Code | .roo/skills/ | ~/.roo/skills/ |
| OpenCode | .opencode/skill/ | ~/.config/opencode/skill/ |
Installing the Claude Code Plugin
For Claude Code users, the plugin provides the best experience — it includes the skill plus Claude-specific enhancements. The plugin includes:- The CodeAlive Context Engine skill
- Authentication hooks for automatic API key injection
- A code exploration subagent for guided analysis
Setup & Authentication
After installing, run the interactive setup:API Key Resolution Order
CODEALIVE_API_KEYenvironment variable- OS credential store:
| Platform | Store | Manual command |
|---|---|---|
| macOS | Keychain | security add-generic-password -a "$USER" -s "codealive-api-key" -w "KEY" |
| Linux | Secret Service | secret-tool store --label="CodeAlive API Key" service codealive-api-key |
| Windows | Credential Manager | cmdkey /generic:codealive-api-key /user:codealive /pass:"KEY" |
Available Tools
The skill provides four tools, each optimized for different use cases:| Tool | Script | Speed | Cost | Best For |
|---|---|---|---|---|
| List Data Sources | datasources.py | Instant | Free | Discovering indexed repos and workspaces |
| Search | search.py | Fast | Low | Finding code locations, file paths, snippets |
| Chat with Codebase | chat.py | Slow | High | Synthesized answers, architectural explanations |
| Explore | explore.py | Slow | High | Multi-step discovery workflows |
Supported Agents
The skill works with 30+ agents that support the skills.sh standard, including: Cursor, GitHub Copilot, Windsurf, Gemini CLI, Codex, Goose, Amp, Roo Code, OpenCode, Claude Code, and many more.Troubleshooting
API key not configured
API key not configured
Run the setup script:Or set the environment variable:
Skill not detected by agent
Skill not detected by agent
- Verify the skill files are in the correct directory for your agent
- Check that the
SKILL.mdfile exists in the skill folder - Restart your agent
Python not found
Python not found
The skill requires Python 3.8+. No third-party packages are needed — it uses only the standard library.
Credential store errors
Credential store errors
If the OS credential store fails:
- macOS: Ensure Keychain Access is unlocked
- Linux: Install
libsecret-tools(sudo apt install libsecret-tools) - Windows: Run as Administrator
- Fallback: Use the
CODEALIVE_API_KEYenvironment variable