agentleFS
CommsConnectgmbhCommsConnectgmbh/claude-starter-kit/skills/skillify/SKILL.md

skillify

Skill0 starsChanged 35 days agoMITView on GitHub

Codify the most recent successful /scrape into a permanent, reusable scraper script on disk (scrapers/<name>.mjs) plus a small manifest, so the next time the same data is needed it runs instantly instead of re-prototyping. Use right after a /scrape that produced JSON the user accepted. Trigger phrases: 'skillify', 'mach das wiederverwendbar', 'speicher den scraper', 'save this scrape', 'make it permanent', 'als skript ablegen'. Refuses if there is no recent successful /scrape in the conversation, and never writes a half-broken script to disk.

51 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-tune, ios-clean 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.
  • ShreyRaviSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for gstack (v1: observational). Review which AskUserQuestion prompts fire across gstack skills, set per-question preferences (never-ask / always-ask / ask-only-for-one-way), inspect the dual-track profile (what you declared vs what your behavior suggests), and enable/disable question tuning. Conversational interface — no CLI syntax required.

    Also in 9 projects that use this

  • Saqlain-811Skill

    ios-clean

    Remove the DebugBridge SPM package and all #if DEBUG wiring from an iOS app. (gstack)

    Also in 5 projects that use this

  • Saqlain-811Skill

    ios-fix

    Autonomous iOS bug fixer. (gstack)

    Also in 5 projects that use this

  • ShreyRaviSkill

    landing-report

    Read-only queue dashboard for workspace-aware ship. Shows which VERSION slots are currently claimed by open PRs, which sibling Conductor workspaces have WIP work likely to ship soon, and what slot /ship would pick next. No mutations — just a snapshot. Use when asked to "landing report", "what's in the queue", "show me open PRs", or "which version do I claim next". (gstack)

    Also in 8 projects that use this

  • timurgaleevSkill

    document-generate

    Generate missing docs for a feature, module or project as tutorials, how-tos, reference and explanation.

    Also in 7 projects that use this

  • bastosSkill

    ios-design-review

    Review iOS app UI/UX design quality using Apple's design principles and the Liquid Glass-era design language from WWDC25/26. Use when asked for a design review, UX critique, visual design assessment, or evaluation of an app's interface quality, design intent, alignment with the new Apple design system, or usability. Triggers: "design review", "UX review", "visual design critique", "review the UI", "does this design work", "evaluate this interface", "design feedback", "Liquid Glass review".

    Also in 5 projects that use this

  • +1 more from Saqlain-811
  • +5 more from ShreyRavi

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 44 edited versions we read keep these.

  • 3

    Distinctive

    This author's own choices. Worth a look.

  • 1

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Stop. Do not synthesize from chat fragments.

    line 21
  2. Distinctive:

    If the candidate is a few turns back and the user has since moved on, confirm once: *"The last successful /scrape was '<intent>' a few …

    line 24
  3. Distinctive:

    Use only the final, working fetch/selector logic that produced the accepted JSON.

    line 36
  4. Very specific:

    Write the script to /tmp/skillify-<name>-$$.mjs and run it:

    line 72

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

/skillify — Turn a successful scrape into a reusable scraper

Codify the last good /scrape into a standalone script. The contract: never write a half-broken scraper to disk. Write to a temp file, run it, and only move it into scrapers/ on (a) a passing run + (b) explicit user approval. On either failure, the temp file is removed. There is no "almost shipped" state.

Step 1 — Provenance guard

Walk back through the conversation, at most 10 turns, for the most recent /scrape that was bounded (you can identify the intent line and the trailing JSON it produced) and that the user did NOT invalidate ("that's wrong", "retry"). If none, refuse with exactly:

"No recent /scrape result found in this conversation. Run /scrape <intent> first, then say /skillify." Stop. Do not synthesize from chat fragments. Do not skillify a scrape that came from an already-saved scraper (Step 3 of /scrape) — there's nothing new to codify.

If the candidate is a few turns back and the user has since moved on, confirm once: "The last successful /scrape was '<intent>' a few turns back. Skillify that one?" A "yes" continues; anything else refuses with the message above.

Step 2 — Propose name

From the intent, derive a short name: lowercase letters/digits/dashes, ≤32 chars, starts with a letter, no consecutive dashes (e.g. hn-frontpage, pypi-stats). Check scrapers/manifest.json for a name collision; if it exists, propose a distinct name. Confirm the name with the user (AskUserQuestion), with the proposed name as the recommended option.

Step 3 — Synthesize the script

Use only the final, working fetch/selector logic that produced the accepted JSON. Drop failed selector attempts, unrelated commands, and all conversation prose. Keep the parsing in a pure function so it's testable without the network.

// scrapers/<name>.mjs  — reusable, self-contained
const TARGET_URL = '<the URL the prototype used>';

// Pure: HTML in, parsed rows out. No fetch here.
export function parse(html) {
  const items = [];
  // ...the working extraction logic...
  return items;
}

async function getHtml(url) {
  // Path A (static): plain fetch — use when /scrape succeeded via WebFetch.
  const r = await fetch(url, { headers: { 'user-agent': 'Mozilla/5.0 scrape-bot' } });
  return await r.text();
  // Path B (JS-rendered): if the prototype needed Playwright, replace the body with:
  //   const { chromium } = await import('playwright');
  //   const b = await chromium.launch(); const p = await b.newPage();
  //   await p.goto(url, { waitUntil: 'networkidle', timeout: 30000 });
  //   const html = await p.content(); await b.close(); return html;
}

if (import.meta.url === `file://${process.argv[1]}`) {
  const html = await getHtml(TARGET_URL);
  const items = parse(html);
  process.stdout.write(JSON.stringify({ items, count: items.length }) + '\n');
}

Pick Path A or B to match what the original /scrape actually used. Keep the same JSON shape the user accepted.

Step 4 — Stage + test (in temp, never in place)

Write the script to /tmp/skillify-<name>-$$.mjs and run it:

node /tmp/skillify-<name>-$$.mjs

(For Path B, npx -y playwright@latest /tmp/skillify-<name>-$$.mjs so the browser resolves.) The run passes only if it exits 0 AND prints JSON with count > 0 and the same shape as the accepted scrape. If it fails: report what broke, delete the temp file, and stop — do NOT write anything to scrapers/.

Step 5 — Approval gate

Show the user the staged script and a sample of its output. Ask (AskUserQuestion): save to scrapers/<name>.mjs / rename / discard. Only on an explicit save:

Step 6 — Commit to disk (atomic)

mkdir -p scrapers
mv /tmp/skillify-<name>-$$.mjs scrapers/<name>.mjs

Append to scrapers/manifest.json (create {"scrapers":[]} if absent) an entry: { "name": "<name>", "intent": "<intent line>", "url": "<TARGET_URL>", "triggers": ["<paraphrases>"] } so a future /scrape with a matching intent finds and runs it (Step 3 of /scrape).

Step 7 — Confirm

Tell the user: scrapers/<name>.mjs saved; next time say /scrape <intent> or run node scrapers/<name>.mjs directly.

Honest limits

  • A saved scraper breaks when the target page's markup changes — re-run /scrape + /skillify to refresh it.
  • It captures the final working logic only; it is not a general crawler.
  • Pages with anti-bot defenses or auth are out of scope (so is anything /scrape refused).

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.