返回 Skill 列表
extension
分类: 开发与工程无需 API Key

doc-to-qra

将文档(PDF、URL、文本)转换为存储在内存中的问答对。

person作者: jakexiaohubgithub

doc-to-qra

Convert a document into Question-Reasoning-Answer pairs stored in memory.

Usage

./run.sh <document> <scope> [context] [--dry-run]

Examples

# PDF → QRA
./run.sh paper.pdf research

# URL → QRA
./run.sh https://example.com/article web

# With domain focus
./run.sh paper.pdf research "ML researcher"

# Preview first
./run.sh paper.pdf research --dry-run

Arguments

| Argument | Required | Description | |----------|----------|-------------| | document | Yes | PDF file, URL, or text file | | scope | Yes | Memory scope to store QRAs | | context | No | Domain focus (e.g. "security expert") | | --dry-run | No | Preview without storing |

No other flags. Defaults handle everything.