Answers - AI Grounding for Openclaw

A high-performance skill providing AI-grounded answers through single-search or multi-iteration deep research modes.

0xrichyrich
v1.0.0
Mar 2, 2026
0
1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install answers

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 answers 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 Answers - AI Grounding?

The Answers skill is a sophisticated tool designed to bridge the gap between static LLM knowledge and live web data. By integrating with Openclaw Skills, developers can enable their agents to provide factual, cited answers derived from real-time search results. The skill operates via an OpenAI-compatible /chat/completions endpoint, making it a seamless transition for existing workflows.

It offers two distinct operational modes: a lightning-fast single-search mode for immediate factual queries and a comprehensive research mode. In research mode, the skill performs iterative searches, identifies knowledge gaps, and synthesizes a deep, multi-source answer. This ensures that any Openclaw Skills implementation remains both accurate and contextually rich.

Answers - AI Grounding Use Cases

  • Implementing web-grounded chat interfaces that require live citations for user trust.
  • Performing exhaustive multi-iteration research on complex technical or scientific topics.
  • Using a drop-in OpenAI SDK replacement to enhance agent responses with web context.
  • Monitoring real-time research progress and cost metrics through specialized streaming tags.

How Answers - AI Grounding Works

  1. The user provides a single query message to the agent.
  2. The skill selects between single-search or deep research mode based on the enable_research parameter.
  3. In single-search mode, a quick web lookup is performed to ground the response in current data.
  4. In research mode, the skill triggers multiple iterations of searching, thinking, and synthesizing to provide a thorough answer.
  5. The grounded response is streamed back to the agent with optional inline citations and detailed usage metadata.

Answers - AI Grounding Setup

To utilize this feature within Openclaw Skills, you must first obtain an API key from the Brave Search dashboard. Once acquired, configure your environment or client as follows:

# Set your environment variable
export BRAVE_SEARCH_API_KEY='your_api_key_here'

When using the OpenAI SDK, update the base_url to https://api.search.brave.com/res/v1 and ensure the model is set to brave.

Answers - AI Grounding Data Schema & Taxonomy

The skill returns data in standard OpenAI-compatible JSON format for blocking calls. For streaming responses, it utilizes specific XML-style tags to organize output:

Tag Data Type Purpose
String Inline references for single-search mode
String The final synthesized response in research mode
Object Real-time stats on queries, URLs, and iterations
JSON Detailed cost and token consumption metrics
String Knowledge gaps identified during the research process

Answers - AI Grounding Advanced Features

  • Iterative research logic with configurable maximum queries, iterations, and time budgets.
  • Extended thinking blocks for URL selection reasoning and source analysis.
  • Full compatibility with both sync and async OpenAI clients for flexible agent architecture.
  • Detailed cost tracking per request through embedded usage JSON in streaming responses.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*