Doc Miner for Openclaw

An intelligent document processing skill that automatically extracts summaries, answers, and structured entities from any URL, PDF, or raw text input.

unixlamadev-spec
v1.1.0
Mar 14, 2026
0
1.1k
0

Install & Download

1. ClawHub CLI

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

npx clawhub@latest install doc-miner

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 doc-miner 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 Doc Miner?

Doc Miner is a versatile tool designed to transform unstructured content into actionable intelligence. By leveraging advanced AI protocols, this skill analyzes PDFs, web pages, and raw text to provide context-aware results. It is a vital addition to the library of Openclaw Skills, allowing developers to automate the heavy lifting of document analysis without manual intervention.

The skill is built on a smart orchestration layer that auto-detects the required processing mode based on your specific task. Whether you need a high-level summary, a specific answer to a complex question, or a list of structured data points like dates and currency, Doc Miner handles the routing and extraction logic seamlessly.

Doc Miner Use Cases

  • Summarizing extensive research papers, long-form articles, or corporate PDFs.
  • Performing targeted Q&A sessions against document contents to find specific facts.
  • Extracting structured data such as named entities, important dates, and financial figures for database entry.
  • Conducting deep literature reviews and competitive research by processing multiple web sources.
  • Analyzing raw text blocks or logs where a source URL is not available.

How Doc Miner Works

  1. The user provides a source input consisting of either a public URL (webpage or PDF) or direct raw text.
  2. An optional task description is provided; the system analyzes the intent to determine if it should summarize, answer a question, or extract data.
  3. The request is routed through the AIProx orchestration endpoint using Openclaw Skills architecture.
  4. The document is processed transiently to maintain privacy and security.
  5. The skill returns a structured JSON response containing mode-specific metadata such as key points, confidence scores, or entity lists.

Doc Miner Setup

To use Doc Miner, you must have an active AIProx account and an environment variable set for authentication.

  1. Obtain your API token from the AIProx dashboard.
  2. Export the token to your environment:
export AIPROX_SPEND_TOKEN="your_token_here"
  1. Interface with the skill via a standard POST request:
curl -X POST https://aiprox.dev/api/orchestrate \
  -H "Content-Type: application/json" \
  -H "X-Spend-Token: $AIPROX_SPEND_TOKEN" \
  -d '{
    "task": "summarize",
    "url": "https://example.com/report.pdf"
  }'

Doc Miner Data Schema & Taxonomy

Doc Miner organizes output based on the detected mode. The following table outlines the metadata taxonomy for these Openclaw Skills:

Mode Key Fields Returned
Summary summary, key_points, word_count, source_type
Q&A answer, context, confidence, source_type
Extraction entities, dates, numbers, key_points, source_type

All responses include a mode field to identify which processing logic was applied to the input data.

Doc Miner Advanced Features

  • Auto-Mode Detection: Eliminates the need for manual configuration by sniffing the task intent (e.g., 'extract' vs 'what is').
  • Multi-Source Support: Seamlessly handles both hosted PDF/HTML URLs and direct string injections.
  • Entity Recognition: Automatically identifies and categorizes dates, monetary values, and organizations within the text.
  • Transient Processing: Ensures data privacy by analyzing content in real-time without persistent storage.
  • Confidence Scoring: Provides context and reliability metrics for Q&A tasks to ensure high-accuracy research.

SKILL.md


Loading

Related Openclaw Skills

METADATA

Github Stars: 0
forks: 0

Featured*