agentleFS
JinukMoonJinukMoon/oh-my-mlip/skills/distill/SKILL.md

distill

Skill25 starsChanged 57 days agoMITView on GitHub

Distill any oh-my-mlip teacher MLIP into a CPU-deployable LAMMPS NN-MTP student via the onthefly-distill (GPL-2.0, orchestrated sibling repo) active-learning loop. Triggers on requests to distill, compress, or convert a foundation MLIP into a fast LAMMPS potential — "distill MACE into a LAMMPS student", "onthefly-distill", "NN-MTP student", "AL loop for a student potential", "shrink this teacher into something CPU-deployable" — even when "oh-my-mlip" or "distill" is not named.

77 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use layout, shape 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.
  • owshq-mecSkill

    layout

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy. Use when the user mentions layout feeling off, spacing issues, visual hierarchy, crowded UI, alignment problems, or wanting better composition.

    Also in 8 projects that use this

  • HAR5HA-7663Skill

    shape

    Plan the UX and UI for a feature before writing code. Runs a structured discovery interview, then produces a design brief that guides implementation. Use during the planning phase to establish design direction, constraints, and strategy before any code is written.

    Also in 11 projects that use this

  • klauswgSkill

    ckm:design-system

    Token architecture, component specifications, and slide generation. Three-layer tokens (primitive→semantic→component), CSS variables, spacing/typography scales, component specs, strategic slide creation. Use for design tokens, systematic design, brand-compliant presentations.

    Also in 3 projects that use this

  • iovisorSkill

    evolve

    Evolve uBPF through a gated spec-first workflow that propagates approved changes through requirements, design, validation, implementation, and RFC alignment artifacts.

    Also in 3 projects that use this

  • termdockSkill

    recall

    Retrieves cross-session memories about past decisions, lessons, and patterns. Use when user asks about prior work, past decisions, or mentions a feature. Triggers include check memory, what did we decide, how did we solve.

    Also in 6 projects that use this

  • bidodevSkill

    devils-advocate

    Challenges decisions, plans, and code by systematically arguing the opposing side. Surfaces risks, pokes holes in assumptions, and stress-tests thinking before committing. Supports intensity levels (gentle, balanced, ruthless, linus) and works with conversation context or a specific file reference. Trigger on requests like "challenge this", "poke holes", "what could go wrong", "play devil's advocate", "linus mode", or "/devils-advocate".

    Also in 3 projects that use this

The file

We split this skill into the rules it gives an agent

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

  • 0

    Common

    Most of the 73 edited versions we read keep these.

  • 0

    Distinctive

    This author's own choices. Worth a look.

  • 2

    Very specific

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

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

    Read AGENTS.md §3D now. Do not reproduce its content here.

    line 13
  2. Very specific:

    If the teacher's env is not yet materialized, run /oh-my-mlip:setup <teacher> first.

    line 33

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

The hub is $OH_MY_MLIP_HOME (default ~/.oh-my-mlip); if neither exists, clone it there first ($OH_MY_MLIP_HOME/AGENTS.md §9.0). Read the AGENTS.md and run the scripts of that clone, never the copy inside the plugin directory.

Defer entirely to AGENTS.md §3D (distill a teacher into a CPU LAMMPS student).

Read AGENTS.md §3D now. Do not reproduce its content here; follow it verbatim. Key entry points: scripts/distill_bootstrap.py (args per its --help: teacher variant, structure path, work dir) renders omm_teacher.py + config.yaml + run_distill.sh into the work dir — nothing executes yet. Then cd <work> && bash run_distill.sh seeds the initial teacher-MD dataset and hands off to onthefly-distill's own active-learning loop.

Default to the acceptance path for any student whose result will be used: bootstrap with --acceptance, stating every target the way recipes/distill.md §2 lists them, then judge the finished run with scripts/distill_verify.py. That path renders an independent held-out set and gates the student's accuracy on it. Without --acceptance there is no held-out set and no accuracy gate: the engine's SUCCESS only means the student's MD survived the target length, which says nothing about whether it reproduces the teacher. Use the bare form only as a quick demo, and tell the user that is what it is.

Interview first if missing: which teacher (any oh-my-mlip model/version), which structure (<=4 distinct elements — pair_nnmtp v1's bound), and how long (--target-ps; keep it small for a first try).

If the teacher's env is not yet materialized, run /oh-my-mlip:setup <teacher> first. If $HOME/.cache/oh-my-mlip/lammps/build/lmp does not exist yet, run scripts/build_lammps_nnmtp.sh first (one-time, unattended, long-running).

Whole-job requests (interview, scoped plan, approval, execution, evidence) follow the shared recipe recipes/distill.md — read it after the section above; it says which helpers exist today and which are still planned.

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.