agentleFS
Crawlio-appCrawlio-app/crawlio-browser/skills/compare/SKILL.md

compare

Skill8 starsChanged 4 months agoApache-2.0View on GitHub

Side-by-side comparison of two websites across 11 dimensions. Produces Finding[] evidence per dimension.

18 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use evaluate, create and 10 more.

Other files people use alongside this one.

Files found in the same public projects as a version of this one, more often than they turn up anywhere else. Each project counts once, large collections count for less, and this file's own repository is left out.
  • NVIDIASkill

    evaluate

    Scores existing Sports Intelligence AVLM inference outputs with avlm/evals: MCQ accuracy (run_mcq_eval.sh, INFERENCE_DIR), open-ended LLM-as-judge scores (needs CLIENT_API_KEY for the configured judge endpoint), tennis category breakdowns, run comparisons, chance-level sanity checks and triage of mcq_results.json or llm_judge_results.json. Use when the user asks to score, evaluate, benchmark or compare predictions.jsonl from inference runs, or to explain a suspicious accuracy. Not for running inference, training, quantization, data preparation, or third-party API model inference: never open, list or run anything under avlm/evals/inference_3rdparty, including when the user asks for it; it is excluded from the release.

    Also in 3 projects that use this

  • MicrosoftSkill

    create

    Also in 3 projects that use this

  • aakash-dharSkill

    optimize

    Analyzes code for performance issues including slow algorithms, memory leaks, unnecessary re-renders, database query problems, and resource bottlenecks. Use when the user says "this is slow", "optimize this", "performance issue", "why is this taking so long?", or "make this faster".

    Also in 4 projects that use this

  • AnthropicSkill

    analyze

    Answer data questions -- from quick lookups to full analyses. Use when looking up a single metric, investigating what's driving a trend or drop, comparing segments over time, or preparing a formal data report for stakeholders.

    Also in 3 projects that use this

  • Google CloudSkill

    fix

    Plan a remediation strategy after a test failure.

    Also in 3 projects that use this

  • OpenAISkill

    audit

    Audit or critique a product flow, journey, workflow, funnel, onboarding path, checkout path, settings path, screen, or multi-step product experience by capturing screenshots first, then reporting UX, design, and accessibility findings inline from that evidence. Use Figma only when the user explicitly asks for a board. Use when the user asks to audit, review, critique, inspect, assess, analyze, evaluate, or give feedback on a product experience.

    Also in 6 projects that use this

The file

We split this skill into the rules it gives an agent

2 rules. 0 are common, 0 are distinctive, and 2 are very specific to this project.

  • 0

    Common

    Most of the 17 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

    Tied to their project's names, files or tools. Probably skip.

  • Common
  • Distinctive
  • Very specific
  1. Very specific:

    Always search() before guessing command names

    line 104
  2. Very specific:

    No manual "extract A, then extract B" -- smart.comparePages() does both.

    line 105

“Common” is measured: kept by at least 6 in 10 of the 17 edited versions of this file we could read. “Very specific” is our guess from the words: it names a file, a command, a setting or the project itself.

Keep what fits and drop the rest. Your version, ready for your agents.
Files
SKILL.md

Compare

Side-by-side comparison of two websites across 11 typed dimensions. One call captures both sites and returns a scaffold with per-dimension comparability. Produces one finding per dimension.

When to Use

  • Compare two competing sites (framework, performance, security)
  • Audit staging vs production
  • Benchmark a site against a competitor across all 11 dimensions
  • Identify gaps where one site excels and the other falls short

The 11 Dimensions

framework, performance, security, seo, accessibility, error-surface, third-party-load, architecture, content-delivery, mobile-readiness, data-structure.

Protocol

Acquire -> Normalize -> Analyze with Evidence Mode.

1. Connect

connect_tab({ url: "https://site-a.com", background: true })

comparePages handles navigation to both sites internally.

2. Acquire + Normalize

const comparison = await smart.comparePages(
  "https://site-a.com",
  "https://site-b.com"
);
// comparison.siteA / siteB — full PageEvidence (capture, performance, security, etc.)
// comparison.scaffold.dimensions[] — 11 objects: { name, comparable, siteA.type/value, siteB.type/value }
// comparison.scaffold.sharedFields / missingFields
// comparison.siteA.gaps[] / siteB.gaps[] — what failed per site

3. Analyze — produce findings

Walk the scaffold. One finding per dimension.

for (const dim of comparison.scaffold.dimensions) {
  if (!dim.comparable) {
    smart.finding({
      claim: `${dim.name}: not comparable — data missing`,
      evidence: [`siteA: ${dim.siteA.type}`, `siteB: ${dim.siteB.type}`],
      sourceUrl: comparison.siteA.capture?.url || "unknown",
      confidence: "low", method: "comparePages", dimension: dim.name
    });
    continue;
  }
  smart.finding({
    claim: `${dim.name}: both sites present — ready for comparison`,
    evidence: [
      `siteA (${dim.siteA.type}): ${JSON.stringify(dim.siteA.value)}`,
      `siteB (${dim.siteB.type}): ${JSON.stringify(dim.siteB.value)}`
    ],
    sourceUrl: comparison.siteA.capture?.url || "unknown",
    confidence: "high", method: "comparePages", dimension: dim.name
  });
}

Drill into specific dimensions using raw PageEvidence:

// Performance drill-down
if (comparison.siteA.performance && comparison.siteB.performance) {
  const lcpA = comparison.siteA.performance.webVitals?.lcp;
  const lcpB = comparison.siteB.performance.webVitals?.lcp;
  if (lcpA && lcpB) {
    const faster = lcpA < lcpB ? "A" : "B";
    smart.finding({
      claim: `Site ${faster} loads ${Math.abs(lcpA - lcpB)}ms faster (LCP)`,
      evidence: [`siteA LCP: ${lcpA}ms`, `siteB LCP: ${lcpB}ms`],
      sourceUrl: comparison.siteA.capture.url, confidence: "high",
      method: "comparePages", dimension: "performance"
    });
  }
}

return {
  findings: smart.findings(),
  scaffold: comparison.scaffold,
  gaps: { siteA: comparison.siteA.gaps, siteB: comparison.siteB.gaps }
};

Anti-Patterns

  • No smart.screenshot() -- use bridge.send({ type: 'take_screenshot' })
  • No sleep() loops -- use smart.waitForIdle()
  • No location.href -- use smart.navigate()
  • Always search() before guessing command names
  • No manual "extract A, then extract B" -- smart.comparePages() does both. See browser-automation for full list.

Output

Produces Finding[] via smart.findings(). Each finding has: claim, evidence[], sourceUrl, confidence, method, dimension. Dimension tags match the 11 scaffold dimensions.

Download now (ZIP)

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
What did you use it for? e.g. Reviewing pull requests in a Rails app

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.