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

skillify

Skill0 starsChanged 5 months 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.

26 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use plan-tune, context-restore and 8 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.
  • chloropineSkill

    plan-tune

    Self-tuning question sensitivity + developer psychographic for cgstack (v1: observational). Review which AskUserQuestion prompts fire across cgstack 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 3 projects that use this

  • chloropineSkill

    context-restore

    Restore working context saved earlier by $context-save. Loads the most recent saved state (across all branches by default) so you can pick up where you left off — even across Conductor workspace handoffs. Use when asked to "resume", "restore context", "where was I", or "pick up where I left off". Pair with $context-save. Formerly /checkpoint resume — renamed because Codex treats /checkpoint as a native rewind alias in current environments. (cgstack)

    Also in 4 projects that use this

  • seek888Skill

    design-html

    Design finalization: generates production-quality Pretext-native HTML/CSS. Works with approved mockups from /design-shotgun, CEO plans from /plan-ceo-review, design review context from /plan-design-review, or from scratch with a user description. Text actually reflows, heights are computed, layouts are dynamic. 30KB overhead, zero deps. Smart API routing: picks the right Pretext patterns for each design type. Use when: "finalize this design", "turn this into HTML", "build me a page", "implement this design", or after any planning skill. Proactively suggest when user has approved a design or has a plan ready. (gstack) Voice triggers (speech-to-text aliases): "build the design", "code the mockup", "make it real".

    Also in 3 projects that use this

  • seek888Skill

    plan-devex-review

    Interactive developer experience plan review. Explores developer personas, benchmarks against competitors, designs magical moments, and traces friction points before scoring. Three modes: DX EXPANSION (competitive advantage), DX POLISH (bulletproof every touchpoint), DX TRIAGE (critical gaps only). Use when asked to "DX review", "developer experience audit", "devex review", or "API design review". Proactively suggest when the user has a plan for developer-facing products (APIs, CLIs, SDKs, libraries, platforms, docs). (gstack) Voice triggers (speech-to-text aliases): "dx review", "developer experience review", "devex review", "devex audit", "API design review", "onboarding review".

    Also in 3 projects that use this

  • Kit4SomeSkill

    unfreeze

    Also in 3 projects that use this

  • ayudaySkill

    autoplan

    Auto-review pipeline — reads the full CEO, design, and eng review skills from disk and runs them sequentially with auto-decisions using 6 decision principles. Surfaces taste decisions (close approaches, borderline scope, codex disagreements) at a final approval gate. One command, fully reviewed plan out. Use when asked to "auto review", "autoplan", "run all reviews", "review this plan automatically", or "make the decisions for me". Proactively suggest when the user has a plan file and wants to run the full review gauntlet without answering 15-30 intermediate questions.

    Also in 3 projects that use this

  • +2 more from chloropine

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 22 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 22 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.