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

distill

Skill4 starsChanged 2 months 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.

39 other projects use a version of this.

Adopted by

Most recently taken up by

Used with

Projects with it also use overdrive, arrange 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.
  • nikafastovets-langSkill

    overdrive

    Push interfaces past conventional limits with technically ambitious implementations. Whether that's a shader, a 60fps virtual table, spring physics on a dialog, or scroll-driven reveals — make users ask "how did they do that?

    Also in 12 projects that use this

  • nikafastovets-langSkill

    arrange

    Improve layout, spacing, and visual rhythm. Fixes monotonous grids, inconsistent spacing, and weak visual hierarchy to create intentional compositions.

    Also in 6 projects that use this

  • QredenceSkill

    layout

    Diagnose or improve layout in selected Figma frames, screens, components, or Figma Make prototypes by clarifying reading order, grouping, hierarchy, spacing rhythm, density, adaptation, and content extremes. Use when UI feels crowded, flat, misaligned, hard to scan, structurally unclear, or unstable across sizes.

    Also in 5 projects that use this

  • tdiminoSkill

    shape

    Plan the UX and UI for a feature before writing code. Run a structured discovery interview, then produce a design brief (.design-context.md) that guides implementation. Establishes design direction, constraints, and strategy before any code is written. Triggers on plan the design, design brief, shape the UX, before we build, design discovery.

    Also in 6 projects that use this

  • MicrosoftSkill

    impeccable

    Use when the user wants to design, redesign, shape, critique, audit, polish, clarify, distill, harden, optimize, adapt, animate, colorize, extract, or otherwise improve a frontend interface. Covers websites, landing pages, dashboards, product UI, app shells, components, forms, settings, onboarding, and empty states. Handles UX review, visual hierarchy, information architecture, cognitive load, accessibility, performance, responsive behavior, theming, anti-patterns, typography, fonts, spacing, layout, alignment, color, motion, micro-interactions, UX copy, error states, edge cases, i18n, and reusable design systems or tokens. Also use for bland designs that need to become bolder or more delightful, loud designs that should become quieter, live browser iteration on UI elements, or ambitious visual effects that should feel technically extraordinary. Not for backend-only or non-UI tasks.

    Also in 6 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 4 projects that use this

  • +1 more from nikafastovets-lang

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