read-pagelisted
Install: claude install-skill Elexort/read-page
# read-page
One command reads a URL or a document file and answers with a header and the text:
```
python -X utf8 "SKILL_DIR/scripts/readpage.py" URL --allow-external
```
- `--allow-external` only for a public page - not an internal address, not a link with a token in
it. Remote readers and the archive then step in when the local engines fail. Without it nothing
leaves the machine; forgetting it costs one more call.
- Give the command 2 minutes: a read stops itself within 55 s; a harness that kills commands
sooner needs its timeout raised.
- Do not pipe the output (`| head`, `| Select-Object`): it already fits every harness, and a pipe
can garble UTF-8.
## Reading the answer
```
read-page · ok · defuddle, 87% of the page · content.md 24.7 KB, 389 lines · 1.9 s
files: /tmp/read-page-1000/pages/example.com-9c1f… (content.md, page.md, manifest.json)
outline (line, heading): …
── content.md: lines 1-126 of 389 ──
(the text)
── next: line 127 of 389 → the same command with --from 127 --file content.md ──
```
- The rest of a long text: the same command with `--from N`, the next line or one from the outline;
it reads the saved copy, no network.
- `content.md` is the main text. `--file page.md` gives the whole page - menus, every link with its
address, how the site is organised; `--screenshots [N]` shows how it looks, as N screens.
- A picture is a marker where the page has it, `[img #3 · 100x80 3K · alt] img/03-alt.png`: open
the file to see it, or add `--ocr 3`