Eyeball
GitHubOfficialFirst committed by dveltonDistributed by GitHub
- Skill
- Content generator
- Documents and content
- MIT
- Low risk
- Has scripts
AutoGineer summary
Written by AutoGineer from the skill’s own files, not by the author
Eyeball is a document analysis tool that produces Word documents containing factual summaries alongside visual proof. By extracting text from PDFs, Word files, or web pages, it allows users to verify claims by viewing highlighted screenshots directly from the source material. The tool ensures accuracy by requiring verbatim anchors for citations, helping users confirm that the analysis aligns perfectly with the original content.
What it does
- Extracts text from local documents or web pages for analysis.
- Generates a Word document containing structured analysis.
- Automatically captures and highlights specific source text as screenshots.
- Supports multi-page citations and adjustable context padding for screenshots.
- Provides visual verification for every factual claim made in the report.
When to use it
- When you need to audit long documents and require proof for every claim.
- When summarizing complex legal or technical documents for stakeholders.
- When you want to ensure your analysis is grounded in specific, verifiable source text.
- When you need to share an analysis report that allows others to cross-reference the original source.
Advantages
- Reduces errors by enforcing verbatim anchor selection.
- Provides immediate visual context for every cited point.
- Supports various document formats including PDFs and web pages.
- Creates professional, ready-to-share Word documents.
Usage examples
- “Run eyeball on this contract to summarize the liability clauses.”
- The agent extracts the contract text, identifies the relevant liability sections, and generates a Word document with highlighted screenshots of the specific clauses.
- “Use eyeball to analyze this policy document and highlight the privacy terms.”
- The agent creates a report on your Desktop where each privacy claim is accompanied by a screenshot of the exact policy language.
Install
Download the skill as a ZIP:
https://autogineer.com/agent-skills/github/eyeball/downloadUnzip it into the cross-client skills folder of your project:
mkdir -p .agents/skills && unzip eyeball.zip -d .agents/skills
Documentation by dvelton
Eyeball
Analyze documents with visual proof. When activated, Eyeball produces a Word document on the user's Desktop where every factual assertion includes an inline screenshot from the source material with the cited text highlighted in yellow.
Activation
When the user invokes this skill (e.g., "use eyeball", "run eyeball on this", "eyeball this document"), respond with:
Eyeball is active. I'll analyze the document and produce a Word doc with inline source screenshots so you can verify every claim with your own eyes.
Then follow the workflow below.
Supported Sources
Local files: Word documents (.docx, .doc), PDFs (.pdf), RTF files
Web URLs: Any publicly accessible web page
Tool Location
The Eyeball Python utility is located at:
<plugin_dir>/skills/eyeball/tools/eyeball.pyTo find the actual path, run:
find ~/.copilot/installed-plugins -name "eyeball.py" -path "*/eyeball/*" 2>/dev/nullIf not found there, check the project directory or the user's home directory for the eyeball repo.
First-Run Setup
Before first use, check that dependencies are installed:
python3 <path-to>/eyeball.py setup-checkIf anything is missing, install the required dependencies:
pip3 install pymupdf pillow python-docx playwright
python3 -m playwright install chromiumOn Windows, also install pywin32 for Word automation:
pip install pywin32Workflow
Follow these steps exactly. The order matters.
Step 1: Read the source text
Before writing any analysis, extract and read the full text of the source document:
python3 <path-to>/eyeball.py extract-text --source "<path-or-url>"Read the output carefully. Identify actual section numbers, headings, page numbers, and key language.
CRITICAL: Do not skip this step. Do not write analysis based on assumptions about how the document is structured. Read the actual text.
Step 2: Write analysis with exact citations
For each point in your analysis, you must:
Reference the correct section number as it appears in the document (e.g., "Section 9" not "Section 8" because you assumed the numbering).
Reference the correct page number where the section appears in the extracted text.
Select anchors that are verbatim phrases from the source that directly support your claim.
Step 3: Select anchors correctly
This is the most important step. Anchors determine what gets highlighted in the screenshots.
DO:
Use verbatim phrases from the source text that directly support your assertion
Use multiple anchors to span the full range of text the reader should see
Use specific, uncommon phrases that appear only where you intend
DO NOT:
Use generic topic labels (e.g., "Confidentiality") that appear throughout the document
Use section titles alone when they appear as cross-references elsewhere
Use single common words that match in many places
Examples:
WRONG -- uses a generic topic label that matches everywhere:
{"anchors": ["User-Generated Content"], "target_page": 8}RIGHT -- uses the specific language that supports the claim:
{"anchors": ["retain ownership", "Ownership of Content, Right to Post"], "target_page": 8}WRONG -- section title appears as a cross-reference on earlier pages:
{"anchors": ["LIMITATION OF LIABILITY"]}RIGHT -- includes the section number for precision, targets the correct page:
{"anchors": ["12. LIMITATION OF LIABILITY", "INDIRECT", "CONSEQUENTIAL"], "target_page": 13}Step 4: Build the analysis document
Construct a JSON array of sections and call the build command:
python3 <path-to>/eyeball.py build \
--source "<path-or-url>" \
--output ~/Desktop/<title>.docx \
--title "Analysis Title" \
--subtitle "Source description" \
--sections '[
{
"heading": "1. Section Title",
"analysis": "Your analysis text here. Reference Section X on page Y...",
"anchors": ["verbatim phrase 1", "verbatim phrase 2"],
"target_page": 5,
"context_padding": 40
},
{
"heading": "2. Another Section",
"analysis": "More analysis...",
"anchors": ["exact quote from source"],
"target_pages": [10, 11],
"context_padding": 50
}
]'Section object fields:
heading(required): Section heading in the output documentanalysis(required): Your analysis textanchors(required): List of verbatim phrases from the source to search for and highlighttarget_page(optional): Single page number (1-indexed) to search ontarget_pages(optional): List of page numbers to search across (screenshots stitched vertically)context_padding(optional): Padding in PDF points above/below the anchor region (default: 40). Increase for more context.
Step 5: Deliver the output
Save the output to the user's Desktop. Tell the user the filename and that they can open it to verify each claim against the highlighted source screenshots.
Self-Check Before Delivery
Before saving the final document, mentally verify:
Does each section's analysis text reference the correct section number from the source?
Are the anchors verbatim phrases that appear on the target page?
Does each anchor directly support the claim in the analysis, not just relate to the same topic?
If the screenshot doesn't match the analysis, is the analysis wrong or is the anchor wrong? Fix whichever is incorrect.
Notes
The output document includes highlighted screenshots that are dynamically sized. If you provide multiple anchors, the screenshot expands to cover all of them.
When a search term is not found, the output document will note this. If this happens, the anchor was likely not verbatim enough. Adjust and rebuild.
For web pages, Playwright renders the page to PDF first. The resulting page numbers may differ from what you see in a browser. Use the extracted text output (step 1) to determine correct page numbers.
If the user has already provided the source text or you have already read it in the current conversation, you can skip step 1. But always verify section numbers and page references against the actual text before writing analysis.
Files
- ATTRIBUTION.mdAdded by AutoGineer845 B
- LICENSELicence file added by AutoGineer1.0 KiB
- SKILL.md6.4 KiB
- tools/eyeball.pyScript27.8 KiB
LICENSE
MIT License Copyright GitHub, Inc. Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Requirements and compatibility
Written for: GitHub Copilot
Works with: Claude Code, Claude apps, OpenAI Codex, GitHub Copilot, Cursor, Gemini CLI, Kiro, OpenCode, Goose, Amp, Roo Code, JetBrains Junie, Factory Droid, Devin (ex-Windsurf), Mistral Vibe, OpenHands, Letta
“Works with” means the tool reads the open Agent Skills format; a skill written for one tool may use features others lack.
Needs: Needs Python
Security
What our scanner noticed· Low risk
- Instructions that use the network
- Scripts that your agent may run
This skill includes scripts that your agent may run. Read them before you use it.
A static scan is not a guarantee. Skills are third-party content: review a skill before you let an agent use it.
Attribution and licence
- First committed by
dvelton
- Publisher
- GitHub (Official)
- Distributed by
- GitHub
- Source
- github/awesome-copilot · skills/eyeball · commit 797337f
- Licence
- MIT License (redistribution allowed)
- LICENSE (added by AutoGineer from LICENSE)
- ATTRIBUTION.md (written by AutoGineer)
- Synced
- Contributors
- dvelton
AutoGineer is not affiliated with or endorsed by dvelton or GitHub.
Download ZIP
The ZIP holds the skill’s files, its licence files and an ATTRIBUTION.md. Download eyeball.zip