docview
/docview
Pokazuje pliki Word, Excel, PowerPoint, CSV i PDF w oryginalnym układzie w panelu podglądu, zamiast uruchamiać pakiet biurowy.
- Autor
- daguanghan ↗
- Repozytorium
- agent-docview ↗
- Licencja
- MIT
- Ostatnia zmiana repozytorium
- 08.11.2026
Ocena i bezpieczeństwo
- Pliki w paczce
- 1
- Skrypty
- 0
- Komentarze HTML
- 0
- Adresy URL w SKILL.md
- 0
Brak sygnałów. Repozytorium zmienione 08.11.2026, bez odwołań do wycofanych modeli i API.
MIT, otwarta: można używać i zmieniać, z zachowaniem informacji o autorze.
Co robi i kiedy
Pokazuje pliki Word, Excel, PowerPoint, CSV i PDF w oryginalnym układzie w panelu podglądu, zamiast uruchamiać pakiet biurowy.
Wyzwalacze z opisu
Oryginalny opis (EN)
Show Word, Excel, PowerPoint, WPS, Pages/Keynote/Numbers, CSV and PDF files with their original layout inside the agent's own side panel or preview pane, instead of launching WPS, Microsoft Office or Preview. Use whenever the user asks to open, view, preview, read or "show me" a .docx .doc .xlsx .xls .pptx .ppt .pdf .wps .et .dps .odt .ods .odp .rtf .csv file, or when you are about to hand the user a document you generated. Read-only.
Jak działa
- Rule
- Steps
- What the user sees
- If it fails
Podgląd SKILL.md
---
name: docview
description: Show Word, Excel, PowerPoint, WPS, Pages/Keynote/Numbers, CSV and PDF files with their original layout inside the agent's own side panel or preview pane, instead of launching WPS, Microsoft Office or Preview. Use whenever the user asks to open, view, preview, read or "show me" a .docx .doc .xlsx .xls .pptx .ppt .pdf .wps .et .dps .odt .ods .odp .rtf .csv file, or when you are about to hand the user a document you generated. Read-only.
---
# docview — documents in the side panel
## Rule
Never open a document with `open`, `start`, `xdg-open`, WPS, Microsoft Office, LibreOffice or Preview.
Convert it and show the HTML page in your own panel.
## Steps
1. Convert (one or more files; prints one HTML path per line):
```
python3 {{DOCVIEW}} "<file>" ["<file2>" ...]
```
Options: `--out DIR` (default `./.docview`), `--mode pages` (spreadsheet as printed pages),
`--max-pages N` (default 150), `--force` (rebuild). The first conversion of an Office file takes
5–20 s; the same unchanged file afterwards is instant (cached).
2. Show the printed `.html` path:
- **Claude Code desktop app**: `SendUserFile` with `files: [<html>]`, `display: "render"`.
(If the docview hook is installed you may pass the original .docx/.pdf directly: it is converted for you.)
- **Codex / Cursor / other agents**: open the HTML file in the built-in preview or browser pane.
- **Terminal only**: give the user the path.
3. When you mention the document in your reply, link the HTML preview, not the original file.
## What the user sees
- Word, PowerPoint, PDF: every page as it prints, same fonts and layout; Ctrl/Cmd+F finds text.
- Excel: each sheet as a scrollable grid with the workbook's column widths, colours, bold, merged
cells and formatted numbers (`--mode pages` gives the print layout).
## If it fails
Run `python3 {{DOCVIEW}} --doctor`. It needs LibreOffice and Poppler (or PyMuPDF):
macOS `brew install --cask libreoffice && brew install poppler`;
Debian/Ubuntu `sudo apt install libreoffice-core libreoffice-writer libreoffice-calc libreoffice-impress poppler-utils fonts-noto-cjk`.
Wersje
W bazie nie ma innych skilli o nazwie docview.
Migawka bazy z 13.11.2026 · wersja paczki f61471e3cb21 (skrót SHA-256 całej paczki)
Pobrania w ostatnich 30 dniach: 0 · ranking
Zgłoś problem z tym skillem: szkodliwa treść, błędny opis albo prośba autora o usunięcie.
Podobne skille
- 96convert-documents-to-markdown
Zamienia pliki Word, PowerPoint, Excel, PDF, EPUB i CSV na Markdown, gdy treść jest potrzebna do pracy. - 96convert-documents-to-markdown
Zamienia dokumenty Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV i PDF na Markdown, gdy zadanie wymaga ich treści. - 96convert-documents-to-markdown
Konwertuje pliki biurowe, e-booki i PDF na GitHub Flavored Markdown, gdy trzeba odczytać ich zawartość. - 100office
Tworzy, czyta, zmienia i sprawdza dokumenty Word, Excel i PowerPoint, a także starsze formaty plików biurowych. - 100wps-cli
Steruje Wordem, Excelem, PowerPointem i PDF przez COM WPS, z 76 poleceniami i wyjściem JSON dla agentów. - 100anydoc
Konwertuje dokumenty Word, PowerPoint, Excel, OpenDocument, RTF, EPUB, CSV i PDF do czystego Markdownu GFM lokalnie narzędziem Any Doc CLI.