Skill: kirkraman/kirk-search (version 1.0.0)

--- --- name: exa name: exa description: Neural web search and content extraction via SkillBoss API Hub. Requires SKILLBOSS_API_KEY. Use for finding documentation, code examples, research papers, or company info. metadata: {"clawdbot":{"emoji":"🧠","requires":{"env":["SKILLBOSS_API_KEY"]}}} --- # Exa - Neural Web Search (via SkillBoss API Hub) Web search and content extraction powered by SkillBoss API Hub. ## Setup **1. Get your API Key:** Get a key from SkillBoss API Hub. **2. Set it in your environment:** ```bash export SKILLBOSS_API_KEY="your-key-here" ``` ## Usage ### Web Search ```bash bash scripts/search.sh "query" [num_results] [type] ``` * `type`: auto (default), neural, fast, deep * `category`: company, research-paper, news, github, tweet, personal-site, pdf ### Code Context Finds relevant code snippets and documentation. ```bash bash scripts/code.sh "query" [num_results] ``` ### Get Content Extract full text from URLs. ```bash bash scripts/content.sh "url1" "url2" ```

path: README.md
content: # search - OpenClaw Skill

## Installation

```bash
openclaw skill install search
```

> 📖 **Complete setup guide**: https://skillboss.co/skill.md

## Usage
See SKILL.md for details.

## License
MIT


path: scripts/code.sh
content: #!/bin/bash
# Code context search via SkillBoss API Hub

QUERY="$1"
NUM_RESULTS="${2:-10}"

if [ -z "$QUERY" ]; then
    echo "Usage: $0 \"query\" [num_results]" >&2
    exit 1
fi

if [ -z "${SKILLBOSS_API_KEY:-}" ]; then
    echo "Error: SKILLBOSS_API_KEY is not set." >&2
    echo "Please set SKILLBOSS_API_KEY environment variable." >&2
    exit 1
fi

# Optimized settings for code/docs
PAYLOAD=$(jq -n \
    --arg query "$QUERY" \
    --argjson numResults "$NUM_RESULTS" \
    '{
        type: "search",
        inputs: {
            query: $query,
            type: "auto",
            numResults: $numResults,
            text: true,
            highlights: true
        },
        prefer: "balanced"
    }')

curl -s -X POST 'https://api.heybossai.com/v1/pilot' \
    -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
    -H 'Content-Type: application/json' \
    -d "$PAYLOAD"


path: scripts/content.sh
content: #!/bin/bash
# Get content from URLs via SkillBoss API Hub

if [ $# -eq 0 ]; then
    echo "Usage: $0 url1 [url2 ...]" >&2
    exit 1
fi

if [ -z "${SKILLBOSS_API_KEY:-}" ]; then
    echo "Error: SKILLBOSS_API_KEY is not set." >&2
    echo "Please set SKILLBOSS_API_KEY environment variable." >&2
    exit 1
fi

for URL in "$@"; do
    PAYLOAD=$(jq -n \
        --arg url "$URL" \
        '{
            type: "scraping",
            inputs: {
                url: $url
            }
        }')

    curl -s -X POST 'https://api.heybossai.com/v1/pilot' \
        -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
        -H 'Content-Type: application/json' \
        -d "$PAYLOAD"
done


path: scripts/search.sh
content: #!/bin/bash
# Web search via SkillBoss API Hub

QUERY="$1"
NUM_RESULTS="${2:-10}"
TYPE="${3:-auto}"
CATEGORY="$4"

# 1. Check for Query
if [ -z "$QUERY" ]; then
    echo "Usage: $0 \"query\" [num_results] [type] [category]" >&2
    exit 1
fi

# 2. Check for API Key
if [ -z "${SKILLBOSS_API_KEY:-}" ]; then
    echo "Error: SKILLBOSS_API_KEY is not set." >&2
    echo "" >&2
    echo "To fix:" >&2
    echo "1. Get a key from SkillBoss API Hub" >&2
    echo "2. Run: export SKILLBOSS_API_KEY=\"your-key\"" >&2
    exit 1
fi

# 3. Build Payload
PAYLOAD=$(jq -n \
    --arg query "$QUERY" \
    --arg type "$TYPE" \
    --argjson numResults "$NUM_RESULTS" \
    '{
        type: "search",
        inputs: {
            query: $query,
            type: $type,
            numResults: $numResults,
            text: true,
            highlights: true,
            summary: true
        },
        prefer: "balanced"
    }')

if [ -n "$CATEGORY" ]; then
    PAYLOAD=$(echo "$PAYLOAD" | jq --arg cat "$CATEGORY" '.inputs.category = $cat')
fi

# 4. Call API
curl -s -X POST 'https://api.heybossai.com/v1/pilot' \
    -H "Authorization: Bearer $SKILLBOSS_API_KEY" \
    -H 'Content-Type: application/json' \
    -d "$PAYLOAD"


Security scan verdicts — ClawScan: clean | static analysis: clean | VirusTotal: clean | SkillSpector: suspicious (HIGH)