Corpus for Openclaw

A powerful integration for AI agents to interact with the Corpus AI library for content retrieval, web bookmarking, and reminder management.

doninocode
v1.0.1
Feb 27, 2026
0
1.2k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install corpus

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 corpus 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 Corpus?

The Corpus skill serves as a sophisticated bridge between an AI agent and your personal knowledge ecosystem. By leveraging this tool within Openclaw Skills, developers can grant their agents the ability to query their curated archives, fetch specific technical details from saved documents, and even contribute new data back to their library. It is designed to turn a passive knowledge base into an active part of the development workflow.

Whether you are looking for a specific code snippet saved on your phone or need to bookmark a documentation page for later review, this skill provides the necessary interface. It emphasizes a read-first approach, ensuring that the AI has the full context of your existing knowledge before suggesting new actions or creating task reminders.

Corpus Use Cases

  • Searching through personal research and technical notes to inform current coding tasks.
  • Automatically saving relevant reference URLs and documentation to your library during research phases.
  • Creating scheduled reminders derived from project discussions or implementation plans.
  • Navigating large libraries of saved content using paginated listing and filtered search queries.

How Corpus Works

  1. The AI agent initializes the skill using a secure API token obtained from the Corpus mobile application.
  2. When a user provides a query, the agent uses the search command to find the most relevant items in the user's library.
  3. The agent fetches specific content details using unique IDs to gather deep context or implementation steps.
  4. For write operations, the agent captures URLs or task descriptions and sends them to the Corpus API to update the user's personal database.

Corpus Setup

To begin using this skill with Openclaw Skills, you must first generate an access token:

  1. Install Corpus AI for iPhone via the App Store.
  2. Navigate to Integrations and select the option for OpenClaw.
  3. Create an API token and securely store the value.
  4. Set the environment variable in your terminal or configuration file:
export CORPUS_API_TOKEN="your_unique_token_here"

Ensure that python3 is installed and accessible in your environment to execute the skill scripts.

Corpus Data Schema & Taxonomy

The skill manages data through several key structures to ensure organized knowledge retrieval:

Object Description
Content Library Organized by unique IDs containing text, source URLs, and user notes.
Search Results Returns a list of matches with relevance scores and content snippets.
Reminders Includes title, description, and a UTC-formatted scheduled date.
Profile Metadata regarding the user account and integration status.

Corpus Advanced Features

  • Multi-step implementation planning that combines library search results with local file system modifications.
  • Support for custom API base URLs to accommodate different environment configurations.
  • Automated note attachment when saving URLs to provide better context for future retrieval.
  • Cursor-based pagination for efficient navigation of extensive content libraries without performance degradation.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Requires
Bins python3
Github Stars: 0
forks: 0