# Doc To Qra

> Convert a document (PDF, URL, text) into Q&A pairs stored in memory.

- Skill: `majiayu000/doc-to-qra` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds add majiayu000/doc-to-qra`
- Raw SKILL.md: https://api.skillmd.com/api/skills/majiayu000/doc-to-qra/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: Docs & Writing
- Author: majiayu000 (https://skillmd.com/u/majiayu000)
- Updated: 2026-09-09
- Page: https://skillmd.com/skills/majiayu000/doc-to-qra

---


# doc-to-qra

Convert a document into Question-Reasoning-Answer pairs stored in memory.

## Usage

```bash
./run.sh <document> <scope> [context] [--dry-run]
```

## Examples

```bash
# 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.

