# Extract Struct

> Extract structured metadata (title, authors, year) from paper text using LLM. Use to convert online search results metadata to JSON

- Skill: `bdambrosio/extract-struct` (Agent Skill, multi-file: 2 files)
- Install (CLI): `npx skillmds@latest add bdambrosio/extract-struct`
- Raw SKILL.md: https://api.skillmd.com/api/skills/bdambrosio/extract-struct/raw
- Safety review: pending
- Works with: Claude Code, Claude.ai, OpenAI Codex
- Category: AI & ML
- Author: bdambrosio (https://skillmd.com/u/bdambrosio)
- Updated: 2026-09-17
- Page: https://skillmd.com/skills/bdambrosio/extract-struct

---


# extract-struct

Extract structured metadata from academic paper text using LLM analysis.

## Input

- `target`: Note ID or variable containing full text or first pages of academic paper

## Output

Returns JSON Note with:
- `title`: Paper title
- `authors`: List of author names
- `year`: Publication year
- `venue`: Conference/journal if identifiable
- `abstract`: Paper abstract if present

## Behavior

- Uses LLM to analyze paper text and extract structured fields
- Handles various paper formats and layouts
- Returns only JSON, no explanation text

## Planning Notes

- Provide full text or first few pages for best results
- Works best with academic papers that have clear title/author sections
- Use with `fetch-text` to get paper content first

## Example

```json
{"type":"extract-struct","target":"$paper_text","out":"$metadata"}
```

