🎁 Get the FREE AI Skills Starter Guide β€” Subscribe β†’
BytesAgainBytesAgain
πŸ¦€ ClawHub

CodeAlive Context Engine

by @rodion-m

Semantic code search and AI-powered codebase Q&A across indexed repositories. Use when understanding code beyond local files, exploring dependencies, discove...

Versionv1.0.0
⚑ When to Use
TriggerAction
- "How is authentication implemented?"
- "Show me error handling patterns across services"
- "How does this library work internally?"
- "Find similar features to guide my implementation"
**Use local file tools instead for:**
- Finding specific files by name or pattern
- Exact keyword search in the current directory
- Reading known file paths
- Searching uncommitted changes
πŸ’‘ Examples

1. Discover what's indexed

python scripts/datasources.py

2. Search for code (fast, cheap)

python scripts/search.py "JWT token validation" my-backend
python scripts/search.py "error handling patterns" workspace:platform-team --mode deep
python scripts/search.py "authentication flow" my-repo --description-detail full

3. Fetch full content (for external repos)

python scripts/fetch.py "my-org/backend::src/auth.py::AuthService.login()"

4. Chat with codebase (slower, richer answers)

python scripts/chat.py "Explain the authentication flow" my-backend
python scripts/chat.py "What about security considerations?" --continue CONV_ID

5. Multi-step exploration

python scripts/explore.py "understand:user authentication" my-backend
python scripts/explore.py "debug:slow database queries" my-service

βš™οΈ Configuration

Prerequisites

  • Python 3.8+ (no third-party packages required β€” uses only stdlib)
  • API Key Setup

    The skill needs a CodeAlive API key. Resolution order:

    1. CODEALIVE_API_KEY environment variable 2. OS credential store (macOS Keychain / Linux secret-tool / Windows Credential Manager)

    Environment variable (all platforms):

    export CODEALIVE_API_KEY="your_key_here"
    

    macOS Keychain:

    security add-generic-password -a "$USER" -s "codealive-api-key" -w "YOUR_API_KEY"
    

    Linux (freedesktop secret-tool):

    secret-tool store --label="CodeAlive API Key" service codealive-api-key
    

    Windows Credential Manager:

    cmdkey /generic:codealive-api-key /user:codealive /pass:"YOUR_API_KEY"
    

    Base URL (optional, defaults to https://app.codealive.ai):

    export CODEALIVE_BASE_URL="https://your-instance.example.com"
    

    Get API keys at: https://app.codealive.ai/settings/api-keys

    View on ClawHub
    TERMINAL
    clawhub install codealive-context-engine

    πŸ§ͺ Use this skill with your agent

    Most visitors already have an agent. Pick your environment, install or copy the workflow, then run the smoke-test prompt above.

    πŸ” Can't find the right skill?

    Search 60,000+ AI agent skills β€” free, no login needed.

    Search Skills β†’