---
name: audit-site
description: Use this skill when the user asks to "audit a site", "analyze a website", "review a site", "site health check", or wants a comprehensive analysis including technology stack, issues, and recommendations. Orchestrates a full crawl, enrichment capture, observation analysis, and findings report.
license: MIT
version: 2.0.0
title: audit-site
canonical_url: https://skilld.dev/gh/crawlio-app/crawlio-plugin/audit-site
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/audit-site`. 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/audit-site`, 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/audit-site) 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/audit-site`. 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/audit-site --mode copy --plain`. If skilld is unavailable, use `npx skilld install ./skills/audit-site --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.

# audit-site

Perform a comprehensive site audit: crawl, capture enrichment, analyze observations, and produce a findings report.

## When to Use

Use this skill when the user wants a thorough analysis of a website — not just downloading it, but understanding its technology stack, identifying issues, and producing actionable findings.

## Full Audit Workflow

### Phase 1: Configure for the Target

First, understand the site and configure appropriately:

```
update_settings({
  settings: {
    maxConcurrent: 4,
    crawlDelay: 0.5,
    stripTrackingParams: true
  },
  policy: {
    scopeMode: "sameDomain",
    maxDepth: 5,
    respectRobotsTxt: true,
    includeSupportingFiles: true,
    downloadCrossDomainAssets: true,
    autoUpgradeHTTP: true
  }
})
```

Adjust based on site size:
- Small site (<100 pages): `maxDepth: 10`, `maxConcurrent: 8`
- Medium site (100-1000): `maxDepth: 5`, `maxConcurrent: 4`
- Large site (1000+): `maxDepth: 3`, `maxPagesPerCrawl: 500`

### Phase 2: Crawl

```
start_crawl({ url: "https://example.com" })
```

Monitor until complete:
```
get_crawl_status()
// Repeat with `since` parameter for efficient polling
```

### Phase 3: Capture Enrichment (if crawlio-agent available)

If the Chrome extension is running, enrichment data (framework detection, network requests, console logs) is captured automatically during the crawl and appended to the observation log.

### Phase 4: Analyze Observations

Query the observation timeline for patterns:

```
// Get all observations for the target
get_observations({ host: "example.com", limit: 200 })

// Check framework detection
get_observations({ host: "example.com", source: "extension", limit: 50 })

// Review crawl results
get_observations({ op: "crawl_done" })

// Check for errors
get_errors()
get_failed_urls()
```

### Phase 5: Create Findings

For each issue or insight identified, create a finding with evidence:

```
create_finding({
  title: "...",
  url: "https://example.com",
  evidence: ["obs_xxx", "obs_yyy"],
  synthesis: "..."
})
```

### Phase 6: Generate Report

Compile findings into a structured report:

```
get_findings({ host: "example.com" })
```

Present as a summary with:
- **Technology Stack**: Framework, rendering mode, CDN
- **Issues Found**: Grouped by category (security, performance, SEO, errors)
- **Site Structure**: Tree overview, orphaned pages, broken links
- **Recommendations**: Prioritized action items

## Audit Checklist

Use this checklist to ensure thorough coverage:

### Technology
- [ ] Framework detected (React, Vue, Next.js, etc.)
- [ ] Rendering mode identified (SSR, SSG, CSR, ISR)
- [ ] CDN/hosting identified
- [ ] Third-party services cataloged

### Performance
- [ ] Page count and crawl duration noted
- [ ] Large files identified (images, videos, scripts)
- [ ] External resource dependencies mapped

### Security
- [ ] HTTPS enforcement checked
- [ ] Mixed content identified
- [ ] Security headers reviewed (if captured in network data)

### Content
- [ ] Failed URLs reviewed and categorized
- [ ] Redirect chains identified
- [ ] Missing resources noted

### Structure
- [ ] Site tree reviewed for organization
- [ ] Depth distribution analyzed
- [ ] Cross-domain assets cataloged

## Example Report Structure

```markdown
# Site Audit: example.com

## Summary
- **Pages crawled**: 142
- **Failed**: 4 (3 auth-required API routes, 1 timeout)
- **Framework**: Next.js (App Router, ISR)
- **Total size**: 23.4 MB

## Findings (5)

### Security
1. **Mixed content on 3 pages** — HTTP images loaded on HTTPS pages
   Evidence: obs_a3f7b2c1, obs_b4e8c3d2

### Performance
2. **Unoptimized images** — 8 images over 500KB without modern formats
   Evidence: obs_c5f9d4e3

### SEO
3. **Missing meta descriptions** — 12 pages have no meta description
4. **Duplicate titles** — 3 pairs of pages share identical titles

### Errors
5. **Console errors on product pages** — TypeError in cart widget
   Evidence: obs_d6g0e5f4

## Recommendations
1. Convert images to WebP/AVIF format
2. Fix mixed content by updating CDN URLs to HTTPS
3. Add unique meta descriptions to all pages
4. Fix TypeError in cart widget JavaScript
```

## Tips

- Save the project after crawling so you can revisit: `save_project({ name: "example.com audit" })`
- For recurring audits, load the project and recrawl to compare: `load_project({ id: "..." })`
- Use `export_site({ format: "folder" })` to archive the downloaded content
- Combine with crawlio-agent browser interaction tools for authenticated areas
