By aryanxpatel
Extract comprehensive design tokens, layout architecture, component catalogs, navigation, content, and data schemas from any website — produces a full Page Clone Brief JSON that gives Claude everything needed to rebuild a page from scratch. Supports authenticated pages via saved browser sessions.
A Claude Code plugin that extracts everything needed to rebuild any webpage from scratch. Produces a comprehensive JSON document ("Page Clone Brief") with 21 data layers extracted in parallel via Playwright.
Adapted from dembrandt with 7 additional extractors for full page cloning.
| Category | Data Points |
|---|---|
| Design Tokens | Colors (palette + CSS vars), typography, spacing, border-radius, borders, shadows, breakpoints |
| Brand | Logo URL/dimensions, favicons, og:image |
| Page Structure | Layout type (sidebar-header-main, etc.), regions, sticky/fixed detection |
| Layout CSS | All flex/grid container properties (display, direction, gap, align, justify, position) |
| Responsive | Layout state at 3 viewports (1920px, 768px, 390px) |
| Components | Buttons, inputs, links, badges + full component catalog (tables, cards, forms, modals, tabs, dropdowns, charts, etc.) |
| Content | Headings, paragraphs, button labels, placeholders, images, SVG icons, empty states |
| Navigation | Sidebar items (with icons, badges, children), header, breadcrumbs, tabs |
| Data Schemas | Table columns with inferred types, sample rows, badge variants, features (search, filter, pagination, sort) |
| Meta | Detected frameworks (React, Next.js, Vue, Tailwind, etc.) and icon systems |
Install via Claude Code plugin marketplace or directly:
claude plugin add AryanXPatel/page-clone-brief
Requires Playwright for CLI extraction:
npm install -g @playwright/test
npx playwright install chromium
/clone-site https://example.com/dashboard
Save a login session first:
npx playwright open --save-storage=auth.json https://example.com/
Then extract:
/clone-site https://example.com/dashboard --storage-state auth.json
/clone-site https://example.com/dashboard --screenshots
If the Playwright MCP server is connected, the skill can guide Claude to navigate to a page interactively, handle login, and run extraction functions via browser_run_code.
{
"_format": "page-clone-brief-v1",
"designTokens": {
"colors": { "palette": [], "semanticColors": {}, "cssVariables": [] },
"typography": { "families": [], "sizes": [], "googleFonts": [] },
"spacing": { "values": [], "gridSystem": "4px" },
"borderRadius": [],
"borders": [],
"shadows": [],
"breakpoints": []
},
"brand": { "logo": {}, "favicons": [] },
"pageStructure": { "layoutType": "sidebar-header-main", "regions": [] },
"layoutCSS": [],
"responsive": { "desktop": {}, "tablet": {}, "mobile": {} },
"components": { "buttons": [], "inputs": [], "links": [], "badges": [], "catalog": [] },
"content": { "headings": [], "buttonLabels": [], "images": [], "badgeTexts": [] },
"navigation": { "sidebar": [], "header": [], "breadcrumbs": [], "tabs": [] },
"dataSchemas": { "tables": [] },
"meta": { "frameworks": [], "iconSystem": [] }
}
designTokens to create Tailwind config or CSS variablespageStructure + layoutCSS to build the page skeletonnavigation.sidebar and navigation.header to build nav componentscomponents.catalog as a build checklist, designTokens for stylingcontent for all text, labels, images, and placeholder datadataSchemas.tables for column definitions, types, and sample dataresponsive to match breakpoint behaviorSee skills/website-cloning/references/cloning-workflow.md for the detailed step-by-step workflow.
| Component | Description |
|---|---|
/clone-site command | Slash command to extract from any URL |
site-extractor agent | Autonomous extraction agent |
website-cloning skill | Auto-triggers on cloning-related queries |
extract-design-tokens.js | Core extraction engine (1,700+ lines, 21 extractors) |
MIT
Uses power tools
Uses Bash, Write, or Edit tools
Own this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimOwn this plugin?
Verify ownership to unlock analytics, metadata editing, and a verified badge. GitHub access is read-only (username + org membership).
Sign in to claimBased on adoption, maintenance, documentation, and repository signals. Not a security audit or endorsement.
Generate stunning images using Google's Gemini 3 Pro Image model with pro-level prompt optimization based on 1,186 viral prompts
npx claudepluginhub aryanxpatel/aryanxpatel-plugins --plugin page-clone-briefComprehensive skill pack with 66 specialized skills for full-stack developers: 12 language experts (Python, TypeScript, Go, Rust, C++, Swift, Kotlin, C#, PHP, Java, SQL, JavaScript), 10 backend frameworks, 6 frontend/mobile, plus infrastructure, DevOps, security, and testing. Features progressive disclosure architecture for 50% faster loading.
Harness-native ECC operator layer - 67 agents, 271 skills, 92 legacy command shims, reusable hooks, rules, selective install profiles, and production-ready workflows for Claude Code, Codex, OpenCode, Cursor, and related agent harnesses
Intelligent draw.io diagramming plugin with AI-powered diagram generation, multi-platform embedding (GitHub, Confluence, Azure DevOps, Notion, Teams, Harness), conditional formatting, live data binding, and MCP server integration for programmatic diagram creation and management.
v9.44.1 — Patch release for Gemini environment/version detection and qwen auth gating. Run /octo:setup.
Complete creative writing suite with 10 specialized agents covering the full writing process: research gathering, character development, story architecture, world-building, dialogue coaching, editing/review, outlining, content strategy, believability auditing, and prose style/voice analysis. Includes genre-specific guides, templates, and quality checklists.
Comprehensive .NET development skills for modern C#, ASP.NET, MAUI, Blazor, Aspire, EF Core, Native AOT, testing, security, performance optimization, CI/CD, and cloud-native applications