agentleFS
Amal-DavidAmal-David/mlx-porting-skill/AGENTS.md

mlx-porting-skill

AGENTS.md5 starsChanged 5 months agoApache-2.0View on GitHub

Treat this repository as an executable engineering standard, not a prompt collection. When Superplan is installed, load and follow superplan-entry from the first available location: If Superplan is unavailable, continue with the repository-native workflow in VALIDATION.md; optional orchestration must never make a fresh checkout unusable. When Superplan is active: - No implementation before loading and following superplan-entry. - No broad repo exploration before loading and following superplan-entry. - No planning or repo-specific clarification before loading and following superplan-entry. - Keep…

  • Where files are headingNew AGENTS.md files have more rules about keeping secrets out of the code, and fewer about checking a change actually works.

    Of the AGENTS.md files we read, the 11,691 first seen in the last six months, against the older ones: the kind of rule that gained most share, and the kind that lost most. About files like this in general, not this one, and an estimate, since a kind is a pattern in the words.

  • In this repository3 other files it gives its agents.

The file

Show its rules and text

We split this AGENTS.md into the rules it gives an agent

19 rules. About 0 are common, 10 are distinctive, and 9 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈10

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 9

    Very specific

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

  • Common
  • Distinctive
  • Very specific
  1. Distinctive:

    Treat this repository as an executable engineering standard, not a prompt collection.

    line 3
  2. Distinctive:

    Prefer official MLX code and documentation over secondary performance claims.

    line 6
  3. Distinctive:

    Do not introduce a technique as “supported” until a reproducible MLX path and validation gate exist.

    line 7
  4. Very specific:

    Keep SKILL.md compact. Put architecture detail in references/ and structured facts in assets/.

    line 8
  5. Distinctive:

    Every optimization change needs a correctness check, benchmark metadata, and a rollback condition.

    line 11
  6. Very specific:

    When Superplan is installed, load and follow superplan-entry from the first available location:

    line 16
  7. Very specific:

    If Superplan is unavailable, continue with the repository-native workflow in VALIDATION.md.

    line 24
  8. Distinctive:

    When Superplan is active:

    line 28
  9. Very specific:

    No implementation before loading and following superplan-entry.

    line 29
  10. Very specific:

    No broad repo exploration before loading and following superplan-entry.

    line 30
  11. Very specific:

    No planning or repo-specific clarification before loading and following superplan-entry.

    line 31
  12. Distinctive:

    Keep workflow control internal: do not narrate skill names, routing, or command logs to the user.

    line 32
  13. Very specific:

    If .superplan/ exists, treat the Superplan CLI as the execution control plane.

    line 33
  14. Very specific:

    Prefer workspace harnesses, scripts, and custom workflows when superplan-entry routes you there.

    line 34
  15. Very specific:

    Use lifecycle commands such as superplan task runtime block, superplan task runtime request-feedback, and superplan task review complete.

    line 40
  16. Distinctive:

    If Superplan readiness is missing, fall back to the repository-native workflow unless the user explicitly asked for Superplan itself.

    line 43
  17. Distinctive:

    If work is already shaped, resume the owning execution or review phase instead of routing from scratch.

    line 45
  18. Distinctive:

    If the request is large, ambiguous, or multi-workstream, route before implementing.

    line 46
  19. Distinctive:

    When available, Superplan governs workflow sequencing.

    line 52

≈ “Common” is an estimate: at least 1 in 5 of the 16,597 AGENTS.md files we read have a rule of the same kind, not the same words. “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
AGENTS.md

Contributor instructions

Treat this repository as an executable engineering standard, not a prompt collection.

  • Preserve source provenance and review depth. Never promote an indexed source to synthesized without recording the affected rule or runbook.
  • Prefer official MLX code and documentation over secondary performance claims.
  • Do not introduce a technique as “supported” until a reproducible MLX path and validation gate exist.
  • Keep SKILL.md compact. Put architecture detail in references/ and structured facts in assets/.
  • Scripts must be inspectable, non-destructive by default, and must not execute remote model code.
  • Daily automation may collect candidates and open a review change. It must not auto-merge research-derived recommendations.
  • Every optimization change needs a correctness check, benchmark metadata, and a rollback condition.
<!-- superplan-entry-instructions:start -->

Optional Superplan Operating Contract

When Superplan is installed, load and follow superplan-entry from the first available location:

  • .codex/skills/superplan-entry/SKILL.md
  • .superplan/skills/superplan-entry/SKILL.md
  • ${HOME}/.config/superplan/skills/superplan-entry/SKILL.md
  • ${HOME}/.codex/skills/superplan-entry/SKILL.md

If Superplan is unavailable, continue with the repository-native workflow in VALIDATION.md; optional orchestration must never make a fresh checkout unusable.

When Superplan is active:

  • No implementation before loading and following superplan-entry.
  • No broad repo exploration before loading and following superplan-entry.
  • No planning or repo-specific clarification before loading and following superplan-entry.
  • Keep workflow control internal: do not narrate skill names, routing, or command logs to the user.
  • If .superplan/ exists, treat the Superplan CLI as the execution control plane.
  • Prefer workspace harnesses, scripts, and custom workflows when superplan-entry routes you there.

Canonical loop when Superplan is active:

  1. Run superplan status --json.
  2. Claim or resume work with superplan run --json or superplan run <task_id> --json.
  3. Continue through the owning Superplan phase instead of improvising a parallel workflow.
  4. Use lifecycle commands such as superplan task runtime block, superplan task runtime request-feedback, and superplan task review complete; never hand-edit .superplan/runtime/.

Decision guardrails:

  • If Superplan readiness is missing, fall back to the repository-native workflow unless the user explicitly asked for Superplan itself.
  • If work is already shaped, resume the owning execution or review phase instead of routing from scratch.
  • If the request is large, ambiguous, or multi-workstream, route before implementing.
<!-- superplan-entry-instructions:end -->

MLX model porting requests

  • For any request about porting, converting, running, quantizing, benchmarking, or optimizing a model for MLX or Apple Silicon (e.g. "port this HF model to my Mac", "run Qwen on Apple Silicon", "make this faster on my M3", "fix NaN in my MLX port"), the domain source of truth is mlx-model-porting/SKILL.md - load it and its Trigger map before improvising.
  • When available, Superplan governs workflow sequencing; the skill always governs technical content.

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.