---
name: web-research
description: Use this skill when the user asks to "research a site", "compare sites", "analyze technology", or wants structured evidence-based web research. Teaches the acquire-normalize-analyze protocol using CrawlioMCP's composite analysis tools.
license: MIT
version: 2.0.0
title: web-research
canonical_url: https://skilld.dev/gh/crawlio-app/crawlio-plugin/web-research
last_updated: 2026-10-07T10:44:50.000Z
---

> Index of every page on this site: [llms.txt](https://skilld.dev/llms.txt)

> **Skill from skilld.dev.** Follow the user's requested action.
> If the user asked to fork this Skill, follow the fork workflow below. Do not execute the Skill instructions while copying it.
> Otherwise, follow the instructions below for this session. You do not need to install anything.
>
> If the user asked to install this Skill, run `npx skilld install crawlio-app/crawlio-plugin/web-research`. Install writes the Skill files into the project, so every session loads them.
>
> ## Fork workflow
>
> A fork creates an editable local Skill with its original author and licence. The request authorizes copying and local installation.
> 1. Check `./skills/web-research`, the project lockfile, and selected Agent targets together. If the local directory or installed Skill exists, stop. Never overwrite an existing directory or Agent target.
> 2. Read [source metadata](https://skilld.dev/api/v1/skills/crawlio-app/crawlio-plugin/web-research) once. Use sourceUrl, sourceCommit, skillPath, sourceGone, and license. If the source is gone or its path is missing, stop. If license is null, read licence files at the source commit.
> 3. Fetch only the source commit into a temporary Git repository. Do not clone full history. Derive repository_url from sourceUrl, including repository renames. If sourceCommit is absent, resolve the sourceUrl ref once. Set source_commit to that actual commit. Run these commands in one shell call:
>
> ```sh
> git init --quiet "$temporary_dir"
> git -C "$temporary_dir" fetch --quiet --depth=1 "$repository_url" "$source_commit"
> git -C "$temporary_dir" checkout --quiet --detach FETCH_HEAD
> ```
>
> Read applicable licence declarations and notices at that commit. If copying is not permitted, report the restriction and stop.
> 4. Inspect source entries together, then copy the directory containing skillPath into `./skills/web-research`. Use the user's path if selected. Keep the original SKILL.md, relative links, scripts, binary assets, and executable modes. Exclude .git metadata. Reject symlinks and paths outside the Skill directory. After checking entries, use cp -a where available. A regular source directory needs no custom copy script. Do not save this page wrapper as SKILL.md.
> Preserve author credit, notices, and applicable licence files from repository or parent directories. Add PROVENANCE.md with the Skill page, source URL, actual commit, original path, and licence. Retain any existing PROVENANCE.md and record new provenance separately. Batch source inspection, copying, and provenance work where practical.
> 5. In the project root, run `skilld install ./skills/web-research --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/web-research --mode copy --plain`. This known command needs no help lookup. Install does not support --json. Use detected Agent targets, or add --agent for the targets the user selected. Install the local path, never the upstream selector. If installation fails, preserve the local copy and report the exact failure.
> 6. Confirm the local lockfile source and installed Agent copies once. Report the local path, actual commit, and Agent targets. After edits, reinstall the same local path. Upstream updates must not replace it. Do not publish or push unless the user asks.

# web-research

Structured web research protocol for CrawlioMCP. Produces normalized evidence records and findings through composite analysis tools.

`analyze_page` is the Swift-side analogue of crawlio-agent's `extractPage`, but not its mirror. It operates over HTTP against Crawlio's ControlServer rather than controlling a browser viewport directly.

## Core Protocol: Acquire > Normalize > Analyze

### 1. Acquire

Use composite tools to gather evidence. Never use the low-level `trigger_capture` + sleep + `get_enrichment` pattern.

| Goal | Tool | Notes |
|------|------|-------|
| Single-page evidence | `analyze_page` | One call = capture + enrichment + crawl status. Returns `evidenceId`, `evidenceQuality`, `gaps` |
| Two-site comparison | `compare_pages` | Sequential analysis with typed comparison evidence |
| Single evidence lookup | `get_observation` | Verify a specific evidence record by ID |
| Bulk crawl data | `get_crawled_urls` | After a completed crawl |
| Historical timeline | `get_observations` | Append-only audit trail |

### 2. Normalize

Structure evidence from the unified records into canonical form before analysis:

- **Framework**: name, version, rendering mode (SSR/SSG/CSR/ISR)
- **Network**: request count, external domains, resource types
- **Console**: error count, warning patterns
- **Crawl**: status, content type, byte count

Check `enrichmentStatus` before using enrichment data:
- `"ok"` — enrichment data is present and usable
- `"timeout"` — capture completed but enrichment didn't arrive in time; note this gap

Check `evidenceQuality` for overall evidence health:
- `"complete"` — no gaps, all data present
- `"partial"` — has gaps but capture succeeded
- `"degraded"` — capture-level failure or enrichment server error

### 3. Analyze

Compare normalized evidence against a rubric. Produce structured findings via `create_finding`.

## Anti-Patterns

**Never do this:**
```
trigger_capture({ url: "..." })
// sleep(5000)
get_enrichment({ url: "..." })
```

**Do this instead:**
```
analyze_page({ url: "https://example.com" })
```

**Never improvise evidence shapes.** The record from `analyze_page` is the canonical evidence format. Don't restructure it ad hoc.

**Never analyze before normalizing.** Extract fields from the evidence record first, then draw conclusions.

## Comparison Protocol

For side-by-side analysis of two sites:

```
compare_pages({ urlA: "https://site-a.com", urlB: "https://site-b.com" })
```

The response includes a `comparisonSummary` with typed evidence fields:
- `comparisonReadiness` — `ready` (both complete), `cautious` (one partial), `unreliable` (either degraded)
- `symmetric` — whether both sides have identical gap profiles
- `degradationNotes` — human-readable list of gaps per side
- `timingDelta` — absolute timing differences (capture, enrichment polling)
- `enrichmentAgeDeltaMs` — timestamp difference between the two analyses
- `evidenceIdA` / `evidenceIdB` — observation IDs for round-trip verification via `get_observation`

### Comparison Dimensions

When comparing two sites, evaluate across these 10 dimensions:

1. **Framework** — name, version, rendering strategy
2. **Performance** — resource count, total bytes, external dependencies
3. **Security** — HTTPS enforcement, mixed content, CSP presence
4. **SEO** — meta tags, structured data, canonical URLs
5. **Accessibility** — semantic HTML, ARIA usage, alt text
6. **Error surface** — console errors, failed resources, 4xx/5xx responses
7. **Third-party load** — analytics, tracking, CDN usage
8. **Architecture** — SPA vs MPA, API patterns, hydration strategy
9. **Content delivery** — CDN, caching headers, compression
10. **Mobile readiness** — viewport meta, responsive signals

Not all dimensions will have data for every page. Note gaps explicitly.

## Findings

After analysis, persist insights:

```
create_finding({
  title: "Site uses Next.js 14 with ISR",
  url: "https://example.com",
  evidence: ["obs_abc123"],
  synthesis: "Framework detection confirmed Next.js 14.2.0 with incremental static regeneration...",
  confidence: "high",
  category: "framework"
})
```

Findings come **after** normalized evidence, never before.

## Example Workflow

```
// 1. Acquire
result = analyze_page({ url: "https://example.com" })

// 2. Normalize
framework = result.enrichment.framework  // { name: "Next.js", version: "14.2.0" }
networkCount = result.enrichment.networkRequests.length
consoleErrors = result.enrichment.consoleLogs.filter(e => e.level === "error")

// 3. Analyze & Record
create_finding({
  title: "Next.js 14 with high external dependency count",
  url: "https://example.com",
  synthesis: "Detected Next.js 14.2.0. Page loads 47 network requests including 12 third-party domains..."
})
```
