# Build a color-coded study guide on a paper.

> Let your coding agent pre-annotate a dense paper in a separate JSON layer so you read faster without cluttering or overwriting your own highlights.

- Canonical URL: https://hoja.crafter.run/docs/playbooks/study-guide-from-a-paper
- Version: 0.2.1

## Open the paper beside your agent.

```sh
npx skills add crafter-station/hoja
hoja 1706.03762
```

Highlight any passages you already care about in HL mode (press h, pick color 1–4, drag). Your agent reads your existing human marks first so it never duplicates them.

## Ask your agent for an atomic batch.

### Prompt: Study guide prompt

> "Read the active paper in hoja and inspect my human highlights first. Then apply one atomic study guide batch in your own layer: key claims amber highlight, limitations rose underline, definitions mint highlight, and core equations sky highlight. Keep it to 10–15 high-signal marks."

```sh
hoja annot ls --active --by human
hoja 1706.03762 --text
hoja annot apply --active - --by fx --batch study-1 --dry-run < marks.json
hoja annot apply --active - --by fx --batch study-1 < marks.json
```

## Promote marks with k and export to Obsidian.

- **Visual separation**: Your highlights stay solid; agent marks render with dashed underlines and hollow badges. Press v any time to toggle agent visibility.
- **Promote or reset**: Open the annotations drawer with t, press k on any agent mark to promote it into your own human layer, or run hoja annot clear --active --by fx to remove the agent layer cleanly.
- **Save to your vault**: Export your curated notes (with or without agent layers) into an Obsidian literature note.

```sh
hoja annot export --active --obsidian --include-agent --output /path/to/vault/attention.md
```

**When not to use:** Skip automated annotation batches on pure image scans without an OCR text layer; use --rect coordinates or 2x PNG region handoff instead.
