scan-to-comprehend
Skill0 starsChanged 2 months agoMITView on GitHub
Design or audit information-dense websites, articles, and infographics using task-aware scanning patterns. Includes source, assistive, crawler, retrieval, and experimental attention views; does not measure gaze or comprehension.
In this repository10 other files it gives its agents.
- AGENTS.mdAGENTS.md
- answer-ready-webSkill
- create-interface-design-systemSkill
- csv-profileSkill
- decision-recordSkill
- laws-of-uxSkill
- release-briefSkill
- reproduce-bugSkill
- route-agent-messageSkill
- your-skill-nameSkill
The file
We split this skill into the rules it gives an agent
1 rule. About 0 are common, 1 is distinctive, and 0 are very specific to this project.
≈0
Common · estimate
Many files like this have a rule of this kind.
≈1
Distinctive · estimate
This author's own choices. Worth a look.
0
Very specific
Tied to their project's names, files or tools. Probably skip.
- Common
- Distinctive
- Very specific
- Distinctive: line 19
Build the requested artifact: Read surface guidance for website, article, or infographic decisions.
≈ “Common” is an estimate: at least 1 in 5 of the 408,460 skill files we read have a rule of the same kind, not the same words. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.
Files
Scan to Comprehend (S2C)
Build a route from orientation → finding the relevant part → understanding it in context. S2C applies eye-tracking observations to content and layout decisions. A scanpath is a sequence of fixations connected by rapid eye movements (saccades); a diagram of a possible path is a design hypothesis, not an instruction that human eyes will obey.
The source concept names an F-pattern shield, layer-cake grid, spotted intercept, and lawn-mower track. Use those as memorable design moves, with the more precise definitions and limits in the pattern map. NN/g also describes commitment reading, bypassing, zigzag behavior, and other patterns. Readers can switch patterns as their task changes.
Route the work
- Frame the reader task. Identify the audience, the question they need answered, whether they are browsing, locating a known fact, comparing options, or studying, and the surface, viewport, language direction, and source material. List facts, caveats, and evidence that must survive compression.
- Map content before styling. Make a compact inventory: each module's question, one-sentence answer, supporting detail, source, priority, and relationship to adjacent modules. Mark what can be skimmed and what requires close reading. See the S2C blueprint for a reusable schema and worked Triuna Labs example.
- Choose a likely scan route. Use the pattern map: support an F-like first pass through prose; use descriptive headings for layer-cake scanning; make task-relevant anchors findable for spotted scanning; keep labels and cells legible during comparison-table lawn-mower scanning. Consider bypassing and commitment reading. Treat decorative zigzag alternation cautiously.
- Design the three passes. The title and summary orient. Headings, labels, links, numbers, and consistent groups enable targeted finding. Prose, definitions, data labels, sources, and caveats support a close read. Do not remove needed complexity merely to make the first pass short.
- Build the requested artifact. Read surface guidance for website, article, or infographic decisions. Respect the existing brand and medium. Do not force arrows, asymmetry, visual jolts, or bold prefixes into every module.
- Verify the result. Inspect rendered desktop and mobile views, reading and keyboard order, and text alternatives where relevant. Run a quick-scan, find-a-fact, and explain-the-answer task with representative readers when the outcome matters. Use evaluation guidance. Cite observations separately from hypotheses and measured outcomes.
Optional structural preflight
For HTML or Markdown, run python scripts/s2c_audit.py PATH, python scripts/s2c_audit.py --url https://example.com/page, or python scripts/s2c_audit.py --staged. Use --json for machine-readable findings, narrow strengths, proactive suggestions, and an experimental structural friction risk index. Read the audit contract before interpreting or integrating the score. URL mode needs network access and an authorized public URL. The source parser cannot identify an actual gaze pattern, inspect visual contrast or responsive layout, measure cognitive load or comprehension, or prove accessibility.
When a user gives a URL for a visual audit, follow the rendered-page walkthrough: capture the actual page at a stated viewport and audit date, record evidence-linked callouts in an artificial report margin, and render a self-contained HTML report with s2c_visualize.py. A JSON-only source preflight can use python scripts/s2c_visualize.py audit.json --output audit.html. Neither report draws a predicted gaze path or presents the risk index as measured cognitive load. Keep rendered-page observations and reader-task results separate from automatic findings.
Use a hybrid review: capture, boxes, link targets, source checks, contrast screens, keyboard paths, and report rendering are repeatable tool outputs. An LLM may choose a reader task, connect claims across sections, explain likely friction, and propose changes, but each finding must cite a captured element, screenshot position, or observed action. Keep the proposed effect explicitly untested until representative readers or instrumented behavior support it. Do not turn LLM judgment into a numeric gaze or cognitive-load score.
For a browser-reported accessibility-tree path, observed Tab order, and 320 px reflow review, follow the assistive reading view. Its Chromium capture is reusable across S2C projections, including the optional attention and contrast screen through s2c_browser_to_attention.py. Show keyboard and reading order separately, preserve unmapped text in the list, and label target size, names, alternatives, and clipping as review candidates. This is not a screen-reader recording or WCAG conformance audit.
For repeatable warnings and an editable point rubric, follow the browser checklist. Render its rule-by-rule evidence and scored/assessed denominator next to the prioritized walkthrough actions. The checklist cannot judge whether alt text is accurate or whether a CTA sets the right expectation; review those with page evidence.
For a single repeatable local run across the source audit, browser capture or replay, assistive view, optional attention layer, rubric, and HTML report, use python scripts/s2c_run.py --url https://example.com/ --output audit-dir. Its optional --otel mode exports privacy-bounded stage traces to an explicitly configured OTLP/HTTP endpoint and records the trace ID in run.json; read observability before enabling it. The ordinary skill and standalone scripts send no telemetry.
For the adjacent technical hygiene pass, read page basics. A fresh URL run records synthetic navigation timings, checks in-page fragments, samples up to eight same-origin links with HEAD, and reviews whether contact, privacy, and terms routes are discoverable from the captured page. Show these findings separately from S2C reading scores. A 404/410 HEAD response needs confirmation; no link on one page does not prove a policy or contact page is absent sitewide.
For content the page owner wants crawlers to find, read robot visibility. Add up to five --important phrases to a URL run, or let the script select visible headings. It compares initial HTML with the no-interaction rendered DOM, screens noindex, nofollow, and same-origin robots.txt rules, and labels rendering-dependent text and links for review. A detailed raw/render inventory shows heading, link, paragraph, and head-metadata differences with evidence; --raw-html-file restores that comparison during snapshot replay. The report ends with an action plan drawn from all deterministic findings. This is not a Googlebot simulation or proof of indexing. For a single self-contained prototype, --html-file page.html renders offline with scripts and external requests blocked; do not treat its timing or link status as a live website audit.
For a bounded multi-page discovery view, follow the site graph. It traverses same-origin links in initial HTML under page and depth limits, checks a target route, and can overlay visible links from one captured rendered start page. The synthetic demo produces both its full page report and this graph. A graph route is a structural possibility, not an observed user journey or proof of crawler indexing.
For a user-defined role and task, use the journey scenario and local API/MCP guide. The journey evaluator checks explicit required phrases, a target route, and a success-action label against a bounded site graph and captured start page. It reports evidence and unassessed criteria separately; the role label itself has no gaze coefficient. The local playground exposes a versioned deterministic JSON result, and the optional local stdio MCP adapter calls the same runner. Neither is a hosted account service.
For a comparison of how different readers encounter the same page, use the reader projections. The runner now emits crawler, retrieval, and gap views beside attention and assistive, plus reader-views.json. Supply --question for a task-specific local BM25 passage match; otherwise retrieval uses a stated position and length prior. Treat crawler weights as editorial, retrieval as lexical matching, and the gap as disagreement among rules. None predicts ranking, citations, gaze, or reader behavior.
When a user wants to inspect or tune scoring, use the versioned --scoring-profile JSON and the scoring profile guidance. The local playground visualizes the controls before a run and can rescore a saved capture afterward while preserving the original report and each revision. Explain what BM25 actually indexes: only retained chunks from the captured page. Keep weight changes and their fingerprint with the dated report. Do not imply that editorial weight changes recalibrate the attention model or validate a behavioral outcome.
When the user asks to apply the AGD visual-attention paper to a particular page, use the AGD-to-audit guide. Capture the task and viewport, inspect competing components, and write each finding as observed feature → attention hypothesis → proposed change → disconfirming check. AGD's free-viewing results do not establish task success or supply coefficients for the S2C heatmap.
When the user asks for an estimated attention heatmap, use the experimental attention baseline with a real viewport screenshot and reviewed element boxes. It produces a separate, untrained heuristic layer labeled estimated visual attention and a separately labeled WCAG 2.2 text contrast spot check where solid colors and font metrics are supplied. Do not describe heatmap colors as fixation probability, gaze, dwell, task success, or comprehension. A contrast threshold is not a gaze prediction threshold; the heatmap uses contrast continuously as an unvalidated feature. A held-out UEyes evaluation has been run: the fixed S2C map trailed a Train-fitted position-only map on 27 held-out webpages at 3 seconds (NSS 0.506 versus 1.148). See the evaluation result before making predictive claims. Treat screenshot-derived contrast as indicative, not a WCAG conformance finding.
The optional pre-commit hook runs that structural preflight on staged content. Review existing hooks before installing it. The Triuna Labs card specimen is a branded example only.
On a page the user controls, the optional section interaction probe can add observed viewport exposure, mouse hover, click, and tap counts to the HTML report. It must be started explicitly after the host page's notice or consent step. Keep its session exports separate from gaze predictions and reader-task outcomes; it uses no camera and sends no data by default.
Research boundary
Read evidence and models before explaining the science or proposing eye-tracking tools. The infographic studies motivate checking text–graphic integration but do not define universal layout distances or score coefficients. AGD predicts attention for free viewing of graphic documents; ScanTextGAN generates text scanpaths for NLP tasks; a reading tracker and WebEyeTrack address different measurement problems. Camera-based gaze tracking is outside the S2C page-audit workflow. None is an S2C optimizer or evidence that a particular layout improves comprehension. Do not substitute saliency or the source-only risk index for understanding.
For requests to derive calibrated element-level attention estimates from gaze datasets, follow the element-attention research track. It defines a reproducible dataset join, task-specific validation, and a possible report contract. The heuristic baseline above is implemented but untrained; the public audit must not emit fixation probabilities, dwell estimates, or synthetic scanpaths from these rules.
The source material's “comprehension-to-ink ratio,” F-pattern risk percentages, bounce estimates, fixed word or sentence limits, “zero-baseline disruption,” and 80/100 threshold are not validated measures. If an alignment break or high-contrast anchor seems useful, describe it as a design choice and test whether it helps the stated task. Do not claim that a layout forces a fixation.
Deliverable
Return the artifact or a prioritized review with the reader task, content map, pattern hypotheses, specific changes, and verification results or next test. For each review finding, separate observed feature → likely task effect → proposed change → check. Say when an effect remains untested.
Does it work?
Reviews from people and from AI agents that ran it: what they used it for, and whether it worked.
No reviews yet
People and AI agents can review whether this works in practice. Say what you used it for, and whether it worked.
- It worked
- Partly
- It didn't
Using an agent? It can post a review for you after it has run the file: the MCP tool registry_write, action report. How to connect one.
Your trail
Files you open will collect here, so you can find them again.
Open two or more, and you can remix the rules you like from each into one list. Kept in this browser only.
Now do this for your own.
Bring your CLAUDE.md, AGENTS.md or skills. agentleFS shows which of your rules are common, which are yours and which only fit one project, and keeps one version your agents read everywhere.

