К основному содержанию
плагин официальный · GitHub

eyeball — плагин для GitHub Copilot: что делает и как установить

Плагин анализирует PDF, страницы в сети и файлы Word через GitHub Copilot. Результат сохраняется на рабочий стол в виде документа со скриншотами первоисточника и жёлтой подсветкой цитат.

Установить в GitHub Copilot · Команда из источника Все способы и платформы ↓
copilot plugin install eyeball@awesome-copilot
Открыть на GitHub

Что делает eyeball

Eyeball превращает проверку утверждений ИИ в сверку фактов по визуальным вырезкам. Когда агент разбирает контракт или регламент, плагин находит точные формулировки в исходном файле, фотографирует нужные фрагменты и выделяет строки жёлтым маркером. На выходе формируется файл Word. В нём каждый аналитический вывод сразу подкреплён снимком реальной страницы.

Под капотом работают Python, библиотека python-docx и рендеринг через pymupdf для PDF или playwright для веб-страниц. Поиск цитат идёт прямым строковым сопоставлением. Из-за этого на документах со сложными лигатурами или нестандартными кодировками поиск может запнуться. Если нужная фраза растянута на несколько страниц, инструмент склеивает скриншоты в единый блок.

Для обработки файлов .docx на компьютере обязательно нужен установленный Microsoft Word или LibreOffice. Без них плагин сможет разбирать только страницы из интернета и PDF-документы.

Какие задачи решает

  • сверить выводы анализа договора с реальными вырезками страниц
  • составить отчёт по условиям веб-сервиса с точными цитатами
  • исключить выдуманные пункты при проверке юридических документов
  • собрать обзор PDF-файла с наглядными подтверждениями

Примеры запросов агенту

  • Используй eyeball для ~/Desktop/vendor-agreement.docx: проверь пункты об ответственности и неустойке
  • Запусти eyeball на https://example.com/terms-of-service и найди условия для разработчиков
  • Разбери с помощью eyeball соглашение о неразглашении и покажи пункты об отказе от конкуренции

Как установить eyeball

Команда из источника

copilot plugin install eyeball@awesome-copilot

По шагам, с командами для каждой платформы: Плагины Claude Code: маркетплейсы, установка и как собрать свой

Вопросы о eyeball

Как установить eyeball в GitHub Copilot?

В сессии Copilot CLI выполните команду copilot plugin install eyeball@awesome-copilot. Затем установите зависимости через pip install pymupdf pillow python-docx playwright и загрузите браузер вызовом python -m playwright install chromium.

Что делает плагин eyeball?

Он читает PDF, веб-страницы или документы Word и генерирует на рабочем столе файл .docx с разбором текста. Под каждым утверждением плагин размещает скриншот исходного документа с жёлтой подсветкой процитированного фрагмента.

Обязательно ли иметь Microsoft Word для работы плагина?

Нет, для конвертации файлов .docx подойдёт и бесплатный LibreOffice. Если вы анализируете только PDF-файлы или ссылки из браузера, офисный пакет вообще не потребуется.

Исходный текст

eyeball · MIT
A tool to help verify AI statements, without (or at least with fewer) context switching pains.

When AI analyzes a document and tells you "Section 10 requires mutual indemnification," how do you know Section 10 actually says that? Eyeball lets you see for yourself.

This is a Copilot CLI plugin that generates document analyses as Word files with inline screenshots of relevant portions from the source material. Every factual claim in the analysis includes a highlighted excerpt from the original document, so you can verify each assertion without switching between files or hunting for the right page.

## What it does

You give Copilot a document (Word file, PDF, or web URL) and ask it to analyze something specific. Eyeball reads the source, writes the analysis, and for each claim, captures a screenshot of the relevant section from the original document with the cited text highlighted in yellow. The output is a Word document on your Desktop with analysis text and source screenshots interleaved.

If the analysis says "Section 9.3 allows termination for cause with a 30-day cure period," the screenshot below it shows Section 9.3 from the actual document with that language highlighted. If the screenshot shows something different, the analysis is wrong and you can see it immediately.

## Installation

### Prerequisites

- [Copilot CLI](https://docs.github.com/copilot/concepts/agents/about-copilot-cli) installed and authenticated
- Python 3.8 or later
- One of the following for Word document support (PDFs and web URLs work without these):
  - Microsoft Word (macOS or Windows)
  - LibreOffice (any platform)

### Install the plugin

Install via the Copilot CLI plugin system. In a Copilot CLI conversation:

```
install the eyeball plugin from github/awesome-copilot
```

### Install dependencies

After installing the plugin, install the Python dependencies:

```bash
pip install pymupdf pillow python-docx playwright
python -m playwright install chromium
```

On Windows, also install pywin32 for Word automation:
```bash
pip install pywin32
```

### Verify setup

```bash
python3 skills/eyeball/tools/eyeball.py setup-check
```

This shows which source types are supported on your machine.

## How to use it

In a Copilot CLI conversation, tell it to use eyeball and what you want analyzed:

```
use eyeball on ~/Desktop/vendor-agreement.docx -- analyze the indemnification
and liability provisions and flag anything unusual
```

```
run eyeball on https://example.com/terms-of-service -- identify the
developer-friendly aspects of these terms
```

```
use eyeball to analyze this NDA for non-compete provisions
```

Eyeball activates, reads the source document, writes the analysis with exact section references, and generates a Word document on your Desktop with source screenshots inline.

## What it supports

| Source type | Requirements |
|---|---|
| PDF files | Python + PyMuPDF (included in setup) |
| Web pages | Python + Playwright + Chromium (included in setup) |
| Word documents (.docx) | Microsoft Word (macOS/Windows) or LibreOffice (any platform). On Windows, pywin32 is also required (included in setup). |

## How it works

1. Eyeball reads the full text of the source document
2. It writes analysis with exact section numbers, page references, and verbatim quotes
3. For each claim, it searches the rendered source for the cited text
4. It captures a screenshot of the surrounding region with the cited text highlighted in yellow
5. It assembles a Word document with analysis paragraphs and screenshots interleaved
6. The output lands on your Desktop

The screenshots are dynamically sized: if a section of analysis references text that spans a large region, the screenshot expands to cover it. If the referenced text appears on multiple pages, the screenshots are stitched together.

## Why screenshots instead of quoted text?

In hallucination-sensitive contexts, sometimes we need to see receipts.

Quoted text is easy to fabricate. A model can generate a plausible-sounding quote that doesn't actually appear in the source, and without checking, you'd never know. Screenshots from the rendered source are harder to fake; they show the actual formatting, layout, and surrounding context of the original document. You can see at a glance whether the highlighted text matches the claim, and the surrounding text provides context that a cherry-picked quote might omit.

## Limitations

- Word document conversion requires Microsoft Word or LibreOffice. Without one of these, you can still use Eyeball with PDFs and web URLs.
- Text search is string-matching. If the source document uses unusual encoding, ligatures, or non-standard characters, some searches may not match. The skill instructions tell the AI to use verbatim phrases from the extracted text, which handles most cases.
- Web page rendering depends on Playwright and may not perfectly capture all dynamic content (e.g., content loaded by JavaScript after page load, content behind login walls).
- Screenshot quality depends on the source formatting. Dense multi-column layouts or very small text may produce less readable screenshots. Increase the DPI setting if needed.

## License

MIT

© Awesome Copilot Community · MIT · github/awesome-copilot

Похожие плагины

Всё по теме «Документы и офис» →

Из того же набора732

Весь набор →
flowstudio-power-automate Даёт агенту доступ к действиям и выводам внутри запусков Power Automate через MCP-сервер FlowStudio. Пригодится, когда Graph API показывает только «успех» или «ошибка». ★ 40 418звёзд репо flight-map-canvas Канвас для GitHub Copilot: открывает Google Maps с 3D-управлением, будто вы летите над картой. Агент может отправить полёт в любую точку и рассказать, чем занят. ★ 40 418звёзд репо feedback-themes Плагин группирует сигналы из отзывов клиентов по влиянию и позволяет изучить отдельную тему. Это помогает определить следующие шаги для продукта. ★ 40 418звёзд репо fastah-ip-geo-tools Скилл и MCP-сервер для проверки и настройки IP-геофидов в формате RFC 8805. Пригодится сетевым инженерам, которые публикуют геолокацию адресов. ★ 40 418звёзд репо ember Плагин превращает GitHub Copilot в напарника для совместной работы с доской задач Daily Focus Board и готовыми паттернами рассуждений. ★ 40 418звёзд репо edit-tutorial Плагин превращает правки GitHub Copilot в пошаговый урок с примерами до и после, а затем предлагает самому применить тот же приём на другой задаче. ★ 40 418звёзд репо edge-ai-tasks Добавляет в GitHub Copilot агентов для исследования и планирования задач в больших кодовых базах. Рассчитан на разработчиков уровня intermediate и expert. ★ 40 418звёзд репо draw Плагин создаёт и редактирует простые диаграммы в canvas Copilot. Подойдёт, если нужно набросать схему и выгрузить её в PNG или SVG. ★ 40 418звёзд репо

Спонсоры проекта

Компании, которые помогают держать аналитику открытой