원클릭으로
extract
Run a quick extraction test against a URL or HTML file. Shows extracted fields, quality grade, and diagnostics.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
메뉴
Run a quick extraction test against a URL or HTML file. Shows extracted fields, quality grade, and diagnostics.
Codex 또는 Claude로 설치 이 Prompt를 복사해 Codex, Claude 또는 다른 어시스턴트에 붙여 넣으면 Skill 페이지를 검토하고 설치를 진행할 수 있습니다.
SOC 직업 분류 기준
Add support for scraping property listings from a new website. Use when the user wants to add a new scraper, create a new mapping, or support a new property listing site.
Deep-dive diagnostics on a low-quality or failed extraction. Analyzes field traces, content provenance, fallback usage, and suggests mapping improvements.
Quick overview of all scrapers — quality grades, extraction rates, and coverage gaps.
Diagnose and fix a broken scraper mapping. Use when extraction tests fail, a scraper returns wrong data, or a website has changed its HTML structure.
| name | extract |
| description | Run a quick extraction test against a URL or HTML file. Shows extracted fields, quality grade, and diagnostics. |
| argument-hint | ["url-or-file-path"] |
Run the extraction pipeline against a URL or HTML file and display the results. This is the fastest way to test whether a scraper is working.
$ARGUMENTS should be one of:
https://www.rightmove.co.uk/properties/123456)If nothing is provided, ask the user what they want to extract.
Run the capture-fixture utility which fetches, extracts, and previews:
cd astro-app && npm run capture-fixture -- <url>
Show the user the extraction results including:
Run capture-fixture with --file:
cd astro-app && npm run capture-fixture -- --file <path> --url <source_url> --no-extract
Note: --url is required to identify the scraper mapping. If the user didn't provide a URL, ask for the source website.
Then run the extraction test:
cd astro-app && npx vitest run test/lib/scraper-validation.test.ts -t "<scraper_name>"
Run the validation test for the specified scraper:
cd astro-app && npx vitest run test/lib/scraper-validation.test.ts -t "<scraper_name>"
Read the test output to show extraction results.
If the user wants to see the raw extraction result, write a small inline script:
cd astro-app && npx tsx -e "
import { readFileSync } from 'fs';
import { extractFromHtml } from './src/lib/extractor/html-extractor.js';
const html = readFileSync('<fixture_path>', 'utf-8');
const result = extractFromHtml({
html,
sourceUrl: '<url>',
scraperMappingName: '<name>',
});
console.log(JSON.stringify({
success: result.success,
grade: result.diagnostics?.qualityGrade,
rate: result.diagnostics?.extractionRate,
weightedRate: result.diagnostics?.weightedExtractionRate,
criticalMissing: result.diagnostics?.criticalFieldsMissing,
fields: result.properties[0],
}, null, 2));
"
When the property-scraper MCP server is running, the extract_property tool can perform extraction directly. Pass the HTML content and source URL to get full diagnostics without needing to write inline scripts.
Present results in a clear format: