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

clone

Skill8 starsChanged 4 months agoApache-2.0View on GitHub

Capture a site's design system — colors, typography, spacing, layout, components — as structured findings

10 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use app-brief, design-from-app 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.
  • StijnusSkill

    app-brief

    One-page brief (docs/BRIEF.md) for a new macOS app, written before any code. Use when the user has an app idea, wants to replace an app they pay for, or the research and clone skills are done.

    Also in 3 projects that use this

  • StijnusSkill

    design-from-app

    Rebuild the look of an app the user likes as a native SwiftUI design kit, by measuring its screenshots (sizes, spacing, type, colors, icons), building its parts, and comparing pixel by pixel until they match. Use when the user names an app whose look they want, shares screenshots of one, or says "make it look like X".

    Also in 3 projects that use this

  • MohamedAbdallah-14Skill

    app-icon

    Generate an app icon from a single 1024² master and fan out to iOS (AppIcon.appiconset with squircle-ready 1024 opaque), Android (adaptive foreground + background + Android 13 monochrome), PWA (192/512 + 512 maskable with 80% safe zone), and visionOS (3-layer parallax).

    Also in 4 projects that use this

  • launchapp-devSkill

    layout-grid

    Define responsive layout grid systems with columns, gutters, margins, and breakpoint behavior.

    Also in 3 projects that use this

  • CrystalPlatformsSkill

    agent-cli

    Design and audit CLIs that AI agents (Claude Code, Codex, automated pipelines) consume. Applies ten agent-native principles in two tiers — Tier 1 table stakes (non-interactive default, structured output, errors that enumerate, safe retries, bounded responses) and Tier 2 compounding (cross-CLI vocabulary, three-layer introspection, async-aware execution, persistent profiles, two-way I/O) — with a Blocker / Friction / Optimization severity rubric across six command classes (read, mutate, stream, bootstrap, async, config). Use when building, reviewing, or specifying a CLI for agent invocation, mentions argparse, click, cobra, clap, commander, yargs, oclif, thor, agent-friendly or agent-native CLI design, --json output, exit codes, idempotent commands, --wait flags, agent-context introspection, persistent profiles, --deliver routing, --force bypass, vocabulary consistency, or repos with cli.py, main.go, src/cli.rs, bin/<tool>. Skip general shell scripting and human-only TUIs.

    Also in 3 projects that use this

  • maxvyshniakovSkill

    improve-loop

    Run a bounded improvement program with parallel read-only planning, isolated Codex executor waves, independent opponent review, and serial host integration. Use when the user explicitly invokes improve-loop, asks to autonomously implement selected codebase improvements, or wants plans executed without manually opening separate sessions. Keep canonical improve and improve-codebase-architecture available as independent scout skills.

    Also in 4 projects that use this

  • +2 more from Stijnus

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 10 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 4

    Very specific

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

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

    Do NOT use smart.screenshot() — use smart.scrollCapture() for full-page visual reference

    line 100
  2. Very specific:

    Do NOT use sleep() loops to wait for styles — styles are available immediately after page load

    line 101
  3. Very specific:

    Do NOT use location.href — use page.capture.url from extractPage

    line 102
  4. Very specific:

    Always search() first if unsure which command extracts what you need

    line 103

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

Clone — Design System Extraction

Capture the visual DNA of a page: design tokens, typography scale, spacing system, component patterns, and CSS framework.

When to Use

  • Reproducing or referencing another site's design system
  • Extracting CSS custom properties and design tokens
  • Identifying typography, color palette, spacing conventions
  • Determining what CSS framework or UI library is in use

Protocol

  1. search for the right commands: search("design tokens extract CSS") or search("detect technologies")
  2. connect_tab to the target URL with { background: true } (or use an already-connected owned tab)
  3. execute Code Mode with smart.* methods to extract evidence
  4. Emit one smart.finding() per design dimension discovered
  5. Return smart.findings() as the final output

Code Example

const page = await smart.extractPage();
const tech = await smart.detectTechnologies();

// Extract CSS custom properties (design tokens)
const tokens = await smart.evaluate(`(() => {
  const styles = getComputedStyle(document.documentElement);
  const props = {};
  for (const name of [...document.styleSheets].flatMap(s => {
    try { return [...s.cssRules] } catch { return [] }
  }).filter(r => r.style).flatMap(r => [...r.style]).filter(p => p.startsWith('--'))) {
    props[name] = styles.getPropertyValue(name).trim();
  }
  return { count: Object.keys(props).length, sample: Object.entries(props).slice(0, 20) };
})()`);

smart.finding({
  claim: `Site uses ${tokens.result.count} CSS custom properties`,
  evidence: tokens.result.sample.map(([k, v]) => `${k}: ${v}`),
  sourceUrl: page.capture.url,
  confidence: "high",
  method: "evaluate + extractPage",
  dimension: "design-system"
});

// Typography — detect_fonts returns an object, not a bare array
const detectedFonts = Array.isArray(page.fonts?.fonts) ? page.fonts.fonts : [];
if (detectedFonts.length) {
  smart.finding({
    claim: `${detectedFonts.length} font faces detected`,
    evidence: detectedFonts.map(f => `${f.family} ${f.weight} (${f.status})`),
    sourceUrl: page.capture.url,
    confidence: "high",
    method: "extractPage",
    dimension: "typography"
  });
}

// Framework / UI library
const frameworks = tech.technologies?.map(t => t.name) || [];
if (frameworks.length) {
  smart.finding({
    claim: `Detected CSS/UI frameworks: ${frameworks.join(", ")}`,
    evidence: frameworks,
    sourceUrl: page.capture.url,
    confidence: "high",
    method: "detectTechnologies",
    dimension: "technology"
  });
}

// Repeating UI patterns (tables / grids)
const tables = await smart.detectTables();
if (tables.length) {
  smart.finding({
    claim: `${tables.length} repeating UI patterns detected`,
    evidence: tables.map(t => `${t.selector}: ${t.rowCount} rows, ${Math.round(t.confidence * 100)}% confidence (${t.strategy})`),
    sourceUrl: page.capture.url,
    confidence: "high",
    method: "detectTables",
    dimension: "layout"
  });
}

// Visual reference
await smart.scrollCapture();

return { findings: smart.findings(), fonts: page.fonts, tech: frameworks };

Anti-Patterns

  • Do NOT use smart.screenshot() — use smart.scrollCapture() for full-page visual reference
  • Do NOT use sleep() loops to wait for styles — styles are available immediately after page load
  • Do NOT use location.href — use page.capture.url from extractPage
  • Always search() first if unsure which command extracts what you need

Output

The skill produces Finding[] via smart.findings(). Each finding is tagged with a dimension:

  • design-system — CSS custom properties, design tokens
  • typography — font families, type scale, weights
  • layout — grid systems, repeating patterns, spacing
  • technology — CSS framework, UI library, build tooling

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.