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

mlx-porting-skill

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

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 workflow control internal: do not narrate skill names, routing, or command logs…

The file

Show its rules and text

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

14 rules. About 0 are common, 6 are distinctive, and 8 are very specific to this project.

  • ≈0

    Common · estimate

    Many files like this have a rule of this kind.

  • ≈6

    Distinctive · estimate

    This author's own choices. Worth a look.

  • 8

    Very specific

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

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

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

    line 4
  2. Very specific:

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

    line 12
  3. Distinctive:

    When Superplan is active:

    line 16
  4. Very specific:

    No implementation before loading and following superplan-entry.

    line 17
  5. Very specific:

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

    line 18
  6. Very specific:

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

    line 19
  7. Distinctive:

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

    line 20
  8. Very specific:

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

    line 21
  9. Very specific:

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

    line 22
  10. Very specific:

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

    line 28
  11. Distinctive:

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

    line 31
  12. Distinctive:

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

    line 33
  13. Distinctive:

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

    line 34
  14. Distinctive:

    When available, Superplan governs workflow sequencing.

    line 40

≈ “Common” is an estimate: at least 1 in 5 of the 12,729 CLAUDE.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
CLAUDE.md
<!-- 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.