Search API Integration for Openclaw

A specialized integration that enables AI agents to perform complex searches and retrieve data via Google Custom Search and Membrane.

gora050
v1.0.1
May 1, 2026
0
351
1

Install & Download

1. ClawHub CLI

The fastest way to install a skill directly from the registry.

npx clawhub@latest install search-api

2. Manual Installation

Copy the skill folder to one of these locations

Global
~/.openclaw/skills/
Workspace
<project>/skills/

Priority: Workspace > Local > Bundled

3. Prompt Installation

Copy this prompt to OpenClaw to install it automatically.

Help me install search-api using Clawhub. If Clawhub is not installed, install it first (npm i -g clawhub).

Prefer to download?

Get the raw skill files in a ZIP archive.

What is Search API Integration?

The Search API skill is a robust integration designed for developers who need to provide their AI agents with deep search capabilities across web and document datasets. As part of the Openclaw Skills ecosystem, this integration utilizes the Membrane framework to abstract away the complexities of OAuth and credential management. It provides a standardized way to query information, making it an essential tool for research-oriented AI tasks.

By using this skill, developers can interact with Google Custom Search and other data sources without manual API key handling. The integration ensures that communication is secure, efficient, and token-friendly by leveraging pre-built actions that handle pagination and response mapping out of the box.

Search API Integration Use Cases

  • Automating real-time research tasks for AI coding agents.
  • Retrieving specific documentation or web results to provide context for LLM prompts.
  • Performing competitive analysis by querying structured data from search indexes.
  • Integrating search functionality into headless environments or CI/CD pipelines.

How Search API Integration Works

  1. The developer initializes the environment using the Membrane CLI to login and authenticate.
  2. A Search API connector is established to bridge the Openclaw Skills agent with the external search provider.
  3. The agent discovers available search actions by querying the intent via the CLI.
  4. Search queries are executed, and Membrane handles the backend authentication headers and token refreshes.
  5. Results are returned in a clean JSON format, ready for the AI agent to parse and utilize.

Search API Integration Setup

To get started with this skill, ensure you have the Membrane CLI installed and then follow these steps:

# Log in to your tenant
npx @membranehq/cli@latest login --tenant

# Find and create the connector
npx @membranehq/cli@latest search search-api --elementType=connector --json

# Connect using the resulting connector ID
npx @membranehq/cli@latest connect --connectorId=YOUR_CONNECTOR_ID --json

Search API Integration Data Schema & Taxonomy

The skill manages data through the following primary components:

Component Description
Connection ID A unique identifier for the authenticated session with the Search API.
Action Schema The JSON structure required to perform specific queries (e.g., search terms, limits).
Results Object A standardized output containing search snippets, URLs, and metadata.
Credentials Securely stored in ~/.membrane/credentials.json for persistent access.

Search API Integration Advanced Features

  • Intent-based discovery: Automatically find the best action for a specific search query to reduce token overhead.
  • Proxy Requests: Send raw HTTP requests directly to the Search API while maintaining automated header injection.
  • Multi-tenant support: Manage multiple search connections across different environments.
  • Headless Authentication: Complete the OAuth flow on remote servers using code-based login completion.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*