Wiki Query for Openclaw

A sophisticated tool for querying persistent markdown wikis and filing durable, synthesized results back into the knowledge base.

teki-ai
v0.1.0
Apr 13, 2026
0
842
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install wiki-query

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 wiki-query 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 Wiki Query?

Wiki Query is a specialized skill designed to transform static markdown files into an active, growing knowledge ecosystem. By leveraging Openclaw Skills, it allows an AI agent to interact with personal or team wikis—such as those managed in Obsidian or git repositories—to provide grounded answers and cross-topic synthesis. Unlike standard chat interactions that disappear, this skill prioritizes the creation of durable analysis pages, ensuring that complex research and decision-making logic are preserved for future use.

The skill excels at navigating complex directory structures, identifying relationships between different entities, and maintaining strict citations. It is particularly effective for users who require high-value query results that contribute to a long-term source of truth rather than one-off conversational responses.

Wiki Query Use Cases

  • Querying a personal Obsidian vault to synthesize research across multiple source notes.
  • Generating grounded technical documentation citations from a team-wide git-backed wiki.
  • Creating and filing durable decision memos or recommendation pages based on existing wiki data.
  • Performing expensive cross-topic analysis that needs to be saved to avoid redundant future work.
  • Maintaining a structured log of queries and updates to keep a knowledge base current.

How Wiki Query Works

  1. The agent initiates the process by reading the index.md file to understand the wiki structure and available topics.
  2. It identifies the most relevant topic, concept, and entity pages to narrow the search space.
  3. Information is synthesized from these pages, prioritizing wiki-backed evidence over general model knowledge.
  4. The agent distinguishes between direct support, synthesis, and areas of uncertainty or mixed evidence.
  5. Citations are generated to provide full traceability back to specific wiki and source pages.
  6. The skill evaluates the result's durability and decides if it warrants a new analysis page.
  7. If a new page is created, the system automatically updates index.md and log.md to maintain organization.

Wiki Query Setup

To integrate this functionality into your environment, ensure your workspace is configured to recognize the Openclaw Skills directory structure. Your markdown wiki should ideally contain an index.md and a log.md file for optimal performance.

# Navigate to your knowledge base
cd /path/to/your/markdown-wiki

# Ensure the references directory exists for filing heuristics
mkdir -p references
touch references/query-patterns.md

Wiki Query Data Schema & Taxonomy

The skill organizes data using a hierarchical markdown structure to ensure compatibility with standard PKM tools. Metadata and page types are categorized as follows:

Page Type Role Key Components
index.md Root Navigation Links to topics, entities, and recent analysis
log.md Activity Tracking Chronological list of queries and wiki updates
Analysis Pages Durable Output Synthesis results with frontmatter and citations
Source Pages Ground Truth Original data or notes used for synthesis

Wiki Query Advanced Features

  • Heuristic-based filing that automatically selects templates from query-patterns.md for new pages.
  • Multi-page synthesis that avoids the 'smooth answer' trap by surfacing disagreements in evidence.
  • Automatic cross-linking and indexing to keep the knowledge graph connected.
  • Support for Obsidian-friendly markdown formatting and git-backed version control workflows.
  • Persistence logic that identifies and saves high-value recommendations to prevent information loss.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*