Skip to main content
The Nia integration for OpenClaw is distributed through ClawHub, the public skill registry for OpenClaw. It gives your OpenClaw workspace direct access to Nia for indexing and searching code repositories, documentation, research papers, and HuggingFace datasets.
OpenClaw uses skills through ClawHub: the integration is delivered as a skill, but the day-to-day experience is still an agent-native Nia workflow inside OpenClaw.

Install with ClawHub

ClawHub Listing

Open the Nia listing in ClawHub and add it to your OpenClaw workspace.

OpenClaw Skill Docs

Learn how ClawHub installs and syncs skills into your OpenClaw workspace.

Features

Repository Indexing

Index GitHub repositories and search through code with semantic and regex search.

Documentation Search

Index entire documentation sites and search across all pages.

Research Papers

Index arXiv papers by ID, URL, or PDF link for AI-powered research.

HuggingFace Datasets

Index and search HuggingFace datasets by name or URL.

Configure Nia

1. Get Your API Key

Either run the guided wizard:
Or sign up at trynia.ai to get your key.

2. Store the Key

3. Requirements

  • curl
  • jq
Most systems have these pre-installed. On macOS, install with brew install jq if needed.

Nia-First Workflow

Before using web fetch or web search, you should:
  1. Check indexed sources first using repos-list.sh or sources-list.sh
  2. If source exists: Use search-universal.sh, repos-grep.sh, sources-read.sh for targeted queries
  3. If source doesn’t exist but you know the URL: Index it with repos-index.sh or sources-index.sh, then search
  4. Only if source unknown: Use search-web.sh or search-deep.sh to discover URLs, then index
Why this matters: Indexed sources provide more accurate, complete context than web fetches. Web fetch returns truncated/summarized content while Nia provides full source code and documentation.

Available Scripts

All scripts are in ./scripts/. Base URL: https://apigcp.trynia.ai/v2

Repositories

Data Sources (Docs, Papers, Datasets)

Research Papers (arXiv)

HuggingFace Datasets

Oracle Research (Pro)


API Reference


ClawHub Listing

View the Nia skill on ClawHub

OpenClaw Docs

Learn how OpenClaw loads and syncs skills

Need Help? Join our Discord community or reach out through app.trynia.ai for support.