web-uplift
Find the handful of changes that make your site faster, easier to use, and
more visible to search and AI - then fix them, and prove the improvement.
Point web-uplift at a URL and it tells you where the site stands on the six
owner outcomes that matter to visitors and search/AI crawlers: Speed &
Stability, Memory Health, Usability, Inclusivity, Discoverability & AI, Trust &
Resilience - scores each 0-100, and hands you the top three things to do
first. When it can reach your source, it applies guidance-backed fixes and
re-audits until the score climbs.
There is no hard-coded check runner and no fast path: the model is the auditor.
It gathers multi-modal browser evidence over raw Chrome DevTools Protocol (CDP),
queries Modern Web Guidance, judges declarative principles, and verifies every
fix with before/after comparisons and a self-contained scorecard.html.
Quick Start
Install the audit skill and vendored evidence CLI into your project:
npx -y web-uplift@latest install --agent codex # or: claude, gemini, pi, opencode, all
Then run inside your own coding agent session (the default, subscription-friendly path):
# Audit a live or local URL
/web-audit https://example.com
# Audit and fix local source via the model-driven hill-climb
/web-audit http://localhost:8080 --source ./src --fix
# Choose an explicit report directory
/web-audit https://example.com --out reports/example
Reports are retained under reports/<host>/<runId>/ with a latest pointer,
writing report.md, report.json (validated against
schema/findings.schema.json), evidence/
artifacts, and a self-contained scorecard.html.
Agent Install Matrix
| Agent | Install | Run |
|---|
| Claude Code | npx -y web-uplift@latest install --agent claude | /web-audit <url> |
| Codex | npx -y web-uplift@latest install --agent codex | /web-audit <url> |
| Gemini CLI | npx -y web-uplift@latest install --agent gemini | /web-audit <url> |
| Antigravity | npx -y web-uplift@latest install --agent antigravity | /web-audit <url> |
| GitHub Copilot | npx -y web-uplift@latest install --agent copilot | /web-audit <url> |
| opencode | npx -y web-uplift@latest install --agent opencode | /web-audit <url> |
| pi | npx -y web-uplift@latest install --agent pi | /skill:web-audit <url> |
| all | npx -y web-uplift@latest install --agent all | per agent |
See docs/install-and-agents.md for vendored
.web-uplift/ details, pi global package mode, Claude Code plugin setup,
opt-in update checks, and adding new agents.
How It Works
flowchart LR
P["principles.json (17 principles, 58 checks)"] --> M["Agent + SKILL.md (the auditor)"]
G["Modern Web Guidance feed (search / retrieve)"] --> M
E["evidence/cli.mjs (19 raw-CDP primitives)"] --> M
M --> R["report.json + report.md + scorecard.html"]
M -->|"--source --fix"| F["Source edits + re-audit hill-climb"]
web-uplift intentionally uses one skill over a declarative principle set
and shared evidence engine rather than seventeen separate skills:
- Evidence is gathered once and shared: one Chrome run feeds speed,
sustainability, privacy, inclusivity, and discoverability together.
- Synthesis lives above any single principle: one prioritised top-3, one
six-outcome scorecard, before/after deltas, and CI score gates.
- Cross-cutting fix loop: re-judging the full set after each edit catches
regressions across dimensions.
- Principles as data: 17 declarative principles and 58 checks in
knowledge/principles.json, mapped 1:1 to Modern
Web Guidance with per-project opt-outs via
web-uplift.json.
Feature Overview