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

extract

Skill8 starsChanged 4 months agoApache-2.0View on GitHub

Extract structured data from a page — tables, JSON-LD, repeated patterns. Produces Finding[] evidence on data quality.

42 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use ai-act-readiness, c-level-agents 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.
  • Hussain-ElfalahSkill

    ai-act-readiness

    Also in 3 projects that use this

  • Hussain-ElfalahSkill

    c-level-agents

    Also in 3 projects that use this

  • csiddhant796-blipSkill

    karpathy-coder

    Use when writing, reviewing, or committing code to enforce Karpathy's 4 coding principles — surface assumptions before coding, keep it simple, make surgical changes, define verifiable goals. Triggers on "review my diff", "check complexity", "am I overcomplicating this", "karpathy check", "before I commit", or any code quality concern where the LLM might be overcoding.

    Also in 3 projects that use this

  • Ivan-propioSkill

    fda-consultant-specialist

    Senior FDA consultant and specialist for medical device companies including HIPAA compliance and requirement management. Provides FDA pathway expertise, QSR compliance, cybersecurity guidance, and regulatory submission support. Use for FDA submission planning, QSR compliance assessments, HIPAA evaluations, and FDA regulatory strategy development.

    Also in 3 projects that use this

  • +8 more from Hussain-Elfalah

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 40 edited versions we read keep these.

  • 1

    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. Distinctive:

    Read visually-rendered data invisible to DOM (canvas, images, anti-scrape)

    line 18
  2. Very specific:

    Always search() before guessing command names

    line 102
  3. Very specific:

    No manual scroll+extract loops -- smart.extractData() handles both.

    line 103

“Common” is measured: kept by at least 6 in 10 of the 40 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

Extract

Extract structured data from a page. Detect tables, pull JSON-LD, extract repeated DOM patterns. Produces findings on completeness, row counts, and schema consistency.

When to Use

  • Extract tabular data from a page (pricing, specs, listings)
  • Pull JSON-LD or structured data from <script> tags
  • Detect repeated DOM patterns (cards, lists, grids)
  • Assess data quality (missing columns, truncation, schema gaps)
  • Extract data from async-loading pages
  • Read visually-rendered data invisible to DOM (canvas, images, anti-scrape)

Protocol

Acquire -> Normalize -> Analyze with Evidence Mode.

1. Connect

connect_tab({ url: "https://target.com/data-page", background: true })

2. Acquire + Normalize

await smart.waitForNetworkIdle({ timeout: 10000 }); // wait for async content
const data = await smart.extractData();              // detectTables + extractTable + JSON-LD
const page = await smart.extractPage();              // meta and structured data context
// data.tables[] — selector, columns[], rows[], totalRows, truncated
// data.structuredData — JSON-LD objects from <script> tags
// page.gaps[] — what failed during extractPage

For deeper control, use individual methods:

const candidates = await smart.detectTables();           // scored table-like structures
const table = await smart.extractTable("table.pricing"); // specific table extraction

For visually-rendered data (canvas, images, anti-scrape sites):

const ocr = await ocrScreenshot({ fullPage: true });

3. Analyze — produce findings

for (const table of data.tables || []) {
  smart.finding({
    claim: `Found ${table.totalRows} rows in table "${table.selector}"`,
    evidence: [
      `columns: ${table.columns.map(c => c.name).join(', ')}`,
      `truncated: ${table.truncated}`
    ],
    sourceUrl: page.capture.url,
    confidence: table.truncated ? "medium" : "high",
    method: "extractData", dimension: "data-structure"
  });

  // Data quality — flag sparse columns
  const empty = table.columns.filter(c => c.fillRate < 0.5);
  if (empty.length) {
    smart.finding({
      claim: `${empty.length} columns in "${table.selector}" are >50% empty`,
      evidence: empty.map(c => `${c.name}: ${Math.round((1 - c.fillRate) * 100)}% empty`),
      sourceUrl: page.capture.url, confidence: "medium",
      method: "extractData", dimension: "data-quality"
    });
  }
}

if (data.structuredData?.length) {
  smart.finding({
    claim: `${data.structuredData.length} JSON-LD blocks found`,
    evidence: data.structuredData.map(s => `@type: ${s['@type'] || 'unknown'}`),
    sourceUrl: page.capture.url, confidence: "high",
    method: "extractData", dimension: "data-structure"
  });
}

return {
  findings: smart.findings(),
  tables: data.tables?.length || 0,
  structuredData: data.structuredData?.length || 0
};

Anti-Patterns

  • No smart.screenshot() -- use bridge.send({ type: 'take_screenshot' })
  • No sleep() loops -- use smart.waitForNetworkIdle() or smart.waitForIdle()
  • No location.href -- use smart.navigate()
  • Always search() before guessing command names
  • No manual scroll+extract loops -- smart.extractData() handles both. See browser-automation for full list.

Output

Produces Finding[] via smart.findings(). Each finding has: claim, evidence[], sourceUrl, confidence, method, dimension. Dimensions used: data-structure (table detection, JSON-LD), data-quality (completeness, sparsity, truncation).

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.