[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M799ND2J4WNC2PGAZ0A06NDF":3,"skill-same:01M799ND2J4WNC2PGAZ0A06NDF":44},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":15,"categories":16,"keywords":17,"publishedAt":18,"linkOnly":19,"markdownContent":20,"markdownBody":21,"frontMatter":22,"refName":23,"commitSha":24,"skillDirectory":25,"forksCount":26,"repositoryHtmlUrl":27,"repositoryHomepageUrl":6,"ownerHtmlUrl":28,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":29,"install":30,"resources":43},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate",null,"Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert decisions. For solving one concrete sample end to end, use passnet-solve as the entry skill; consult this skill only when you need broader planning or a specific decision gate.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: passnet-orchestrate\ndescription: >\n  Round\u002Fbatch planning and decision support for PassNet graph optimization. Use for\n  multi-sample triage, worker allocation, eval-budget policy, and post-eval keep\u002Frevert\n  decisions. For solving one concrete sample end to end, use passnet-solve as the entry\n  skill; consult this skill only when you need broader planning or a specific decision gate.\n---\n\nThis skill is the **planning and decision** layer for PassNet. It is not the single-sample\nentry point. For one concrete sample, start with **passnet-solve**; it owns the end-to-end\nloop and calls passnet-pattern-fusion, passnet-triton-opt, and passnet-feedback at the right\ntime. Use this skill when planning a multi-sample round, choosing which sample families to\ndispatch, auditing whether a line of attack is overhead-bound, or deciding whether to keep,\nrevert, or stop after completed evaluations.\n\nFor context, a **sample** = several **graph variants** of the same subgraph (different dtypes —\nfloat32 \u002F float16 \u002F bfloat16 — and seeds\u002Fbatch dirs). You write passes; the harness\npattern-matches them into each variant's graph, checks correctness vs eager, and measures\nend-to-end speedup. Your deliverable is a final report (§8).\n\nThis skill is self-contained: every decision below is made from each variant's `model.py`\n(the computation), `weight_meta.py` (shapes\u002Fdtypes), and the evaluation results. It does not\ndepend on any external helper script. It does, at two points, rely on *capturing the real\ngraph and running the real matcher\u002Fkernel* (to confirm a pattern matches and a kernel is\ncorrect before spending a GPU eval) — that is a local, GPU-free check you can run yourself.\nThe `passnet-feedback` scripts package that check for convenience; use them if present, but\nthe flow never requires them and you must have a hand fallback when they can't capture a\ngraph.\n\n---\n\n## 1. The score is the strategy\n\nFour metrics are reported; the **AS Score** (an ES-weighted geometric mean of per-variant\n\"rectified speedups\") is the headline, and the other three (G-Mean Speedup, Correctness,\nfast_1) move with it. Optimize the AS Score. Two facts about it drive every decision below:\n\n**The rectification cliff.** Per variant, your outcome is worth roughly:\n\n| outcome                                   | worth (rectified speedup) |\n|-------------------------------------------|---------------------------|\n| no pass matched, or a crash\u002Fruntime error | **~0.1**                  |\n| matched but numerically wrong             | **~0.15**                 |\n| matched + correct, end-to-end speedup `s` | **~s** (even when s \u003C 1)  |\n\nSo a **matched, correct pass that runs at 0.8× scores ~8× better than not matching (0.1).**\nSlow-but-correct is a *good* outcome; not-matching is a disaster.\n\n**The geometric-mean trap.** The sample score is a geometric mean across **all** variants.\nOne variant at 0.1 drags the whole sample down hard — a single red variant outweighs a hero\nresult on another. **Consistency across every variant beats a peak on one.**\n\nConsequences this skill enforces (internalize these — they explain every rule that follows):\n1. **Never finish with an empty or non-matching `pass_dir`.** A floor pass is mandatory.\n   Matching even a *free-in-eager* region for a sub-1.0 score is far better than 0.1 — when\n   that's the only region you can bind to, take it (a constrained floor of ~0.5 still beats\n   0.1 by ~5×).\n2. **Never ship a change that turns a previously-green variant red.** Protect the gmean.\n3. **Prefer ONE pattern that covers every variant** over per-variant passes — fewer ways to\n   leave a variant unmatched, and one evaluation validates them all. The way to do this is to\n   write patterns with NO shape\u002Fscalar literals that differ across variants.\n4. **You do NOT have to cover every observable output.** A single matching pass already\n   modifies the graph (no 0.1); any output your passes don't produce simply runs in eager and\n   still scores. So target the **highest-value single region** rather than trying to absorb\n   the whole graph. (Tiny diffs may appear on outputs your kernel never touched — e.g. eager\n   dtype-cast nondeterminism — and they pass baseline tolerance; don't chase them.)\n\n(The exact tolerance weights and scoring formula are mechanics — see passnet-skill \u002F its\nreferences. You don't need them to make decisions; you need the cliff and the trap.\n\nWhen the harness reports an **authoritative aggregated score**, trust THAT over any estimate.\nA variant is \"correct\" at the dtype's *baseline* tolerance — not the strict bit-exact column.\nRead the end-to-end speedup, the success\u002Ffailed status, and baseline-tolerance correctness;\ndo not be alarmed by a nonzero diff that is still within baseline tolerance.)\n\n---\n\n## 2. \"Can I even win?\" — the cost gate\n\nThe compiled path pays a **fixed per-call tax** (graph-guard + interpretation + wrapper +\nlaunch overhead) that does not exist in eager. It is small on tiny graphs and grows with\ngraph size; each Triton kernel launch adds more on top. You don't need the exact numbers —\nyou need the rule they imply:\n\n> **You only win when the eager work you absorb into your kernel(s) per launch exceeds the\n> tax you add.** Replacing one cheap op on a small graph loses; absorbing many ops, or\n> replacing genuinely heavy memory-bound work, wins.\n\nCalibrate the real tax for *this machine and graph* from your first evaluation (compare the\ncompiled median against eager minus the work you removed) and reuse it when estimating later\nregions. The detailed performance model lives in **passnet-triton-opt**; bring just enough\nintuition here to triage floor-vs-ambitious in §3.\n\n---\n\n## 2.2 The one heavy-op exception — non-overlapping conv reduces to a patch matmul\n\nThe right question is never the op's *name*, it is its *regime*. A vendor kernel\n(cuDNN\u002FcuBLAS) is near-optimal only for (a) the shapes\u002Fparameters it has tuned kernels for and\n(b) the *general* form of its op class. You can beat it only when the op's concrete parameters\nput it OUTSIDE that efficient regime AND make it equal to a cheaper computation you can express\nas a legal Triton kernel. Otherwise you are competing with a vendor library on its home turf and\nwill lose. Derive this from the parameters in front of you — do not memorize a per-op verdict.\n\nThe clearest checkable win, and the one to actively look for:\n\n- **A convolution whose windows do not overlap** — `stride == kernel_size` along each spatial\n  dim, `kernel_size > 1`, `padding == 0`. Each output reads a disjoint input patch (no input is\n  reused), so the conv is *exactly* a dense matmul of flattened patches by the flattened weight\n  (`patches @ W.reshape(Co,-1).T` plus bias). cuDNN does not specialize for this — it runs its\n  general convolution path (implicit-GEMM \u002F im2col \u002F Winograd) built for the overlapping case,\n  which for an odd kernel\u002Fchannel shape can be far off a well-shaped GEMM. A `tl.dot`\n  patch-gather kernel that also folds the flatten\u002Ftranspose\u002Ftail into its epilogue can win by a\n  wide margin. Confirm `stride == kernel_size` and `kernel_size > 1` from the parameters.\n\nWhy the *same* rewrite usually LOSES on the other conv\u002Fmatmul shapes — i.e. why the reliable\ndefault is \"leave the op in aten and fuse its elementwise tail\":\n\n- **1×1 conv** already *is* a pointwise matmul (PyTorch lowers it to a cuBLAS GEMM); there is no\n  general-conv overhead to remove, so a hand `tl.dot` competes head-to-head with cuBLAS.\n- **overlapping conv** (`stride \u003C kernel_size`, e.g. 3×3 s1): writing it as a matmul needs\n  im2col, which materializes a ~kernel_volume× larger matrix — the exact memory blow-up\n  cuDNN's implicit-GEMM\u002FWinograd avoids. You pay more, not less.\n- **depthwise \u002F grouped conv**: memory-bound with specialized vendor kernels; a hand kernel\n  rarely wins and grouped indexing is bug-prone.\n- **large\u002Fgeneral dense matmul**: cuBLAS's sweet spot.\n\nNone of this is an absolute rule — **the completed eval is always the arbiter.** The lines above\nare strong *priors*, not prohibitions: if the concrete parameters give you a specific reason to\nbelieve a case sits outside the vendor's efficient regime (e.g. a tiny\u002Fdegenerate matmul, or a\nmemory-bound op you can fuse with a long tail into one kernel), you may try it — but only AFTER\nbanking the tail\u002Ffloor pass, and you KEEP it only if a completed eval beats that floor. Do not\nspend budget rewriting an op that is squarely in the vendor's sweet spot on a hunch, and do not\nskip the non-overlapping case just because no rule forbids it.\n\nTwo matchability facts (independent of the above): `conv1d\u002F2d\u002F3d`, `matmul`, `F.linear` are\nC-bound functions the pattern tracer binds to fine — \"it's a big cuDNN op\" never means the\npattern can't match.\n\nDiscipline (unchanged and mandatory): **always ship the tail\u002Ffloor pass FIRST** (S3); only then\nattempt a rewrite as an additional ambitious region; REVERT (S5\u002FGATE e) if a completed eval does\nnot beat the banked floor. The rewrite is upside insurance layered on top of the floor, never a\nreplacement for it.\n\n---\n\n## 2.1 Round triage gate — choose likely-amortizable samples first\n\nWhen planning a multi-sample round, do not dispatch workers randomly across small graphs.\nSpend a cheap triage pass first and label each candidate sample:\n\n- `likely_amortizable`: at least one legal single-output region absorbs substantial real\n  compute per launch: a large-output broadcast\u002Fbinary op, a sizeable reduction plus its\n  arithmetic, a long elementwise\u002Fnorm chain over enough elements, or a compute tail that can\n  be fused without reimplementing a vendor-optimal heavy op.\n  Judge this from candidate regions, not only whole-sample labels: a sample with global\n  returned values or producer fanout can still be likely amortizable when a downstream\n  consumer-side region leaves the shared producer outside the pattern and returns one legal\n  output.\n- `downside_cap_only`: only tiny regions, layout\u002Fview\u002Freshape-only work, returned views,\n  split\u002Ffanout layout tails, or cheap consumers behind boundaries that are not worth\n  repairing. These can still justify a floor pass to avoid 0.1, but they should not consume\n  scarce worker slots in a performance-strategy round unless you need calibration examples.\n- `blocked_by_contract`: every promising compute region would require multiple externally\n  observable outputs, hiding a shared producer with outside consumers, RNG\u002Fdata-dependent\n  work, or a call form that cannot be recovered by exact\u002Fmanual-FX matching. These are\n  pattern-fusion lessons, not performance targets.\n- `unstable_eval_risk`: previous or local evidence suggests evaluator timing instability,\n  timeout risk, or many variants with heavy compile cost. Track this separately from\n  numeric, no-match, and unauthorized-operator failures; it may justify rerunning an\n  unchanged confirmed state, not rewriting the kernel.\n\nDispatch priority for performance validation:\n1. `likely_amortizable` long memory-bound elementwise or broadcast-affine-activation chains:\n   layout\u002Fbroadcast producers plus multiple affine, activation, residual, or normalization\n   consumers that can be contained in one single-output region. Repeated round evidence shows\n   these are the best first allocation for performance-strategy validation because they can\n   save multiple memory passes per Triton launch.\n2. Clean normalization-affine compute prefixes and concat-to-normalization-affine prefixes:\n   allocate formal workers to them after verifier\u002Fprobe success, but record mixed outcomes\n   separately. The same static family can produce strong wins, near-eager correct states, or\n   a reverted floor depending on size, branch structure, dtype boundaries, and whether the\n   profitable prefix is truly the actual winning region.\n3. Local-region candidates recovered by a backward slice from a promising output. Allow\n   shared, returned, vendor-heavy, or otherwise risky producers to stay outside the pattern\n   as inputs when the downstream region itself has one output and absorbs enough compute.\n   Repeated evidence shows this avoids over-pruning while preserving the single-output\n   contract.\n4. Other `likely_amortizable` samples with all key anchors matchable.\n5. `likely_amortizable` but one boundary uncertain, if a cheap pre-flight can settle it.\n6. A small number of reduction-only or vendor-tail controls. Allocate these deliberately,\n   not as filler: repeated results show they often end correct-but-slow unless a larger\n   compute-containing region is both legal and numerically clean.\n7. Defer `blocked_by_contract` unless the round is specifically about matcher behavior.\n\nFor batch planning, keep separate fields for `triage_family`, `worker_confirmed_family`,\nand `actual_winning_region_family`. Do not credit a successful larger replacement to the\ninitial triage family when the completed evaluation shows the winning region was really a\ndifferent family, such as a compute-plus-normalization prefix, a layout materialization tail,\nor a vendor-heavy replacement. Use family-level completed-evaluation counts to adjust the\nnext batch allocation: wins above eager, correct-but-slow, numeric-preflight blocks,\ncorrectness regressions on larger regions, and larger-region attempts.\n\nThis gate is benchmark-general: the goal is to spend workers where absorbed eager work can\nplausibly pay for wrapper\u002Fframework\u002Flaunch tax, then use completed evaluations to confirm.\n\n---\n\n## 3. The decision flow\n\nFollow this top to bottom. Gates are marked **(a)–(e)**; sub-skill hand-offs are marked\n**→→ CALL**.\n\n```\nS0. SET UP  (mechanics — see passnet-skill)\n    - Read graph_list + every variant's model.py and weight_meta.py.\n    - In service mode, confirm service health and verify uploaded pass files with \u002Ffiles before any \u002Fevaluate call.\n    - In Codex managed sandboxes, try bounded normal localhost curl first; if it fails, retry once and then use the approved escalated localhost path if available. Do not interpret sandboxed connection failures as service downtime.\n    - Clear stale files from pass_dir (it is imported as a package; leftovers shadow yours).\n\nS1. CHARACTERIZE  (no GPU; read the graphs, then verify matchability with the real matcher)\n    - For each variant list: ops in their EXACT written call form, tensor shapes, dtypes.\n    - Mark each node matchable \u002F unmatchable for normal callable patterns (the rules are in\n      passnet-pattern-fusion). RNG\u002Fdata-dependent nodes are hard walls. Keyword-form Python\n      functional calls are walls for callable patterns, but a high-value single-output region\n      may be recoverable with an exact manual FX `GraphModule` pattern; require real matcher\n      proof before treating it as legal. In-place \u002F augmented-assign ops (a node written as\n      `x op= c`, or a call flagged in-place) often normalize to a different form than your\n      pattern produces; bind to neighbours unless passnet-pattern-fusion proves an exact\n      pattern can match and the replacement preserves the eager mutation semantics across\n      repeated calls.\n    - Partition the graph into maximal matchable REGIONS, each with exactly ONE value\n      consumed outside it. Eyeballing model.py tells you the candidate regions, but whether a\n      given op actually matches is often NOT visible by eye — confirm it with the real matcher\n      (capture the graph + run the subgraph matcher, see S3 pre-flight) before you commit the\n      strategy to a region.\n    - Mark region economics before authoring: compute-heavy and large-output regions are\n      likely amortizable; layout\u002Fview\u002Freshape-only regions, returned views, and split\u002Ffanout\n      layout tails are downside caps unless they bridge compute or remove a real\n      materialization.\n    - Classify the sample against the archetype table (§4) — this names your line of attack.\n    - Cross-variant literal check: do shape\u002Fscalar LITERALS differ across variants? If yes,\n      a shared pattern must avoid those literals (or you need per-shape passes). Every\n      variant must end with >=1 matching pass.\n\nS2. CEILING TRIAGE          ===== GATE (a): FLOOR vs AMBITIOUS =====\n    Estimate, per region, whether absorbed eager work clearly exceeds the tax (§2).\n    - Total eager work tiny \u002F no region absorbs more than the tax\n            -> OVERHEAD-BOUND. Target = a safe FLOOR only. (Ceiling \u003C 1; do not chase >1.)\n    - The only legal matchable regions are layout\u002Fview\u002Freshape\u002Fsplit-fanout floors\n            -> DOWNSIDE CAP. Evaluate the safest correct state if needed, but do not tune it\n               blindly; stop after a completed correct eval unless a larger compute-containing\n               region becomes legal.\n    - The dominant cost is a heavy conv\u002Fmatmul in the vendor sweet spot (1×1, depthwise\u002Fgrouped,\n      overlapping conv, or a general dense matmul) with no worthwhile cheap tail\n            -> DEFAULT to not reimplementing it: floor on an adjacent node; accept ~1.0.\n      Precondition: you checked §2.2. The clearest upside case (below) is a non-overlapping conv\n      (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`); the others are strong-prior\n      walls, not absolute — a completed eval may still justify a rewrite in a specific\n      off-regime shape.\n    - There is a fusible region whose absorbed work clearly beats the tax, OR a heavy op that\n      §2.2 shows sits outside the vendor's regime and equals a cheaper computation\n            -> REAL UPSIDE. Ambitious path enabled.\n\nS3. SHIP THE FLOOR FIRST  (cap the downside before taking any risk)\n    Pick the single most trivially-correct matchable region — one compute node you cannot get\n    numerically wrong. This caps EVERY variant at \"matched + correct.\"\n    →→ CALL passnet-pattern-fusion  — author the floor pass (pattern + replacement + a single\n       kernel; use the shared-dispatch layout from the start even for one pass).\n    - PRE-FLIGHT (no GPU) — MANDATORY before every eval (this is the single biggest lever for\n      not wasting evals). Check two things:\n        (1) MATCH: re-read your pattern against each variant's model.py — exactly one output?\n            exact call form (method vs function, positional vs kwargs, no in-place op inside)?\n            literals equal across the variants it must cover? every inside-node consumed only\n            inside? Confirm it would match EVERY variant.\n        (2) NUMERICS: run your kernel once on inputs of the right shape\u002Fdtype and compare to\n            the eager computation at the dtype's baseline tolerance. Index-arithmetic kernels\n            (copies, permutes, strided gathers) are the #1 source of silent wrong answers —\n            always numerically check them before an eval.\n      The reliable way to do BOTH checks without a GPU eval is to reproduce the harness\n      locally: capture each variant's real graph (compile the model with a graph-capturing\n      backend, or trace it) and run the actual subgraph matcher with your pattern against it,\n      then run your kernel on correctly-shaped\u002Fdtyped inputs and compare to eager. The\n      passnet-feedback checker packages exactly this — use it if available. But it is only a\n      convenience: it can itself fail to capture some graphs (e.g. ones using advanced integer-\n      tensor indexing or other data-dependent ops). When it fails, fall back to capturing the\n      graph yourself the same way and running the matcher\u002Fnumeric compare directly — do NOT\n      skip the pre-flight and \"just try an eval.\" Reading model.py by eye is the weakest form\n      of this check and misses non-obvious unmatchable forms; prefer the real matcher.\n    - EVALUATE  (GPU eval #1).                ===== GATE (e) applies after every eval =====\n        * service upload unconfirmed -> do NOT evaluate; fix upload\u002Flisting first.\n        * empty\u002Finterrupted\u002Fnon-JSON eval response -> no metrics exist; retry or fix service access\u002Fstate before making strategy conclusions.\n        * not matched \u002F wrong -> fix MATCH or NUMERICS and re-eval; a floor that doesn't\n          match is worse than useless.\n        * matched + correct  -> snapshot this pass_dir as BEST-KNOWN-GOOD; calibrate the tax\n          from this eval's numbers.\n    - If GATE (a) said FLOOR-only -> go S7. Else -> S4.\n\nS4. BUILD UPSIDE — one region at a time\n    Choose the single highest-expected-gain region not yet addressed.\n    →→ CALL passnet-pattern-fusion  — pick which ops to absorb into the region, author the\n       pattern, and (for >=2 passes) wire the shared-dispatch architecture.\n       GATE (b): any time you author or repair a pattern, or decide what to fuse, you are\n       in passnet-pattern-fusion — not here, not passnet-triton-opt.\n    - PRE-FLIGHT (no GPU), MANDATORY — same two checks as S3 (match every variant + numeric\n      sanity at baseline tolerance). Fix any match\u002Fnumeric problem BEFORE spending a GPU eval.\n    - EVALUATE (GPU eval #k). Read per-variant status + speedups + the authoritative score.\n\nS5. ===== GATE (e): REVERT or KEEP =====   (run after EVERY eval)\n    - Authoritative score \u003C BEST-KNOWN-GOOD, OR any variant that was green is now red\n            -> REVERT to BEST-KNOWN-GOOD immediately. Do not stack a new change on a worse\n               base. Diagnose from the log, then try a DIFFERENT single change or abandon the\n               region.\n    - Otherwise -> this becomes the new BEST-KNOWN-GOOD. Continue.\n\nS6. ===== GATE (c): matched + correct but SLOW? =====\n    - A region matches and is correct but its speedup is below the ceiling, OR correctness\n      misses by a SMALL numeric margin (a dtype-tolerance miss, not a gross bug)\n            →→ CALL passnet-triton-opt  — perf tuning and\u002For numeric-fidelity fix. Change ONE\n               class at a time (perf XOR numeric). Re-eval -> back to S5.\n    - A completed eval is matched and correct but slower than eager, and the region is already\n      maximal or only layout\u002Fview\u002Ffanout work remains\n            -> OVERHEAD-BOUND STOP. Keep the best completed state as the floor\u002Fdownside cap;\n               do not spend evaluations on block-size sweeps or tiny independent kernels.\n    - A wider legal attempt completed but scored lower than the floor or narrow state\n            -> REVERT and STOP that line unless a different likely-amortizable region remains.\n    - A broad manual-FX attempt is matched and correct but unstable or slower after absorbing\n      an in-place node\n            -> REVERT to the best state and consider a narrower downstream region that leaves\n               the side effect in eager.\n    - Matched, correct, at\u002Fnear ceiling -> this region is done.\n\n    ===== GATE (d): STOP? =====  Stop when ANY of:\n        * best score >= ~0.9 x your estimated ceiling, OR\n        * GPU-eval budget exhausted AND a matched+correct pass is in place, OR\n        * the last 2 evals produced no improvement, OR\n        * no un-addressed region has expected gain greater than the tax.\n    Otherwise pick the next region -> S4.\n    CEILING SANITY: if a dominant conv is the reason your ceiling is ~1.0, first confirm (§2.2)\n    it is NOT a non-overlapping conv (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`)\n    — that one case has a much higher ceiling via a patch-matmul rewrite. Do NOT \"preserve\n    budget\" by stopping early when that specific reformulation remains unattempted and evals\n    remain. (For 1×1 \u002F depthwise \u002F general matmul a ~1.0 ceiling IS correct — don't chase them.)\n\nS7. FINAL REPORT (§8). Make sure BEST-KNOWN-GOOD is what is on disk.\n```\n\nCompact tree:\n\n```\nread sample -> characterize -> ceiling triage (a)\n   overhead-bound \u002F vendor-heavy  -> floor (b) -> eval -> report\n   real upside                    -> floor (b) -> eval -> [loop: pick region (b) -> eval\n                                                           -> revert-or-keep (e)\n                                                           -> if slow\u002Fnear-miss tune (c)\n                                                           -> stop? (d)] -> report\n```\n\n---\n\n## 4. Graph-shape archetypes → line of attack (operator-AGNOSTIC)\n\nClassify by **dataflow structure, tensor-size regime, and matchability — never by which\noperator it is**. (The right kernel is derived from the graph in front of you; this table\nonly tells you *where the upside lives* and *what to try first*.)\n\n| structural shape | size regime | line of attack | rough ceiling |\n|---|---|---|---|\n| a chain of cheap elementwise\u002Fnormalize ops feeding ONE output | any | fuse the maximal matchable region into one kernel | good if tensors large; ~1.0 if tiny |\n| a reduction over a large axis, then arithmetic on the result | ms-scale tensors | one fused reduction kernel producing the final output | among the highest (often >1.5×) |\n| a broadcast\u002Fexpand feeding a binary op that WRITES a large output | large output | one shape-aware kernel; absorb the layout ops | strong even alone |\n| a heavy conv\u002Fmatmul + a cheap tail — 1×1 conv, depthwise\u002Fgrouped conv, overlapping conv, general dense matmul | any | default: leave the heavy op in the graph; fuse only the tail. Rewriting the op is usually a loss (vendor sweet spot) — try only if parameters suggest off-regime AND a completed eval beats the floor | bounded by tail size |\n| a non-overlapping conv (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`) | any | reformulate as a `tl.dot` patch-gather kernel + fused tail; the conv is the region ANCHOR, not a wall. Ship a tail floor first | can be large |\n| tiny total eager time (a couple of cheap ops) | small | overhead-bound: ship a floor, accept \u003C 1 | \u003C 1 |\n| mostly layout ops (view\u002Freshape\u002Fpermute\u002Ftranspose) + 1 compute op | any | replace the compute op only; absorb adjacent layout for free | modest |\n| the only matchable region is a layout op whose result is RETURNED directly (a view eager never materializes) | any | replacing it FORCES a copy eager skips, so it scores \u003C 1 — but it still matches; take it ONLY as a last-resort floor to escape 0.1 | \u003C 1, but >> 0.1 |\n| split\u002Ffanout layout region with multiple externally observable consumers | any | single-output floor or separate consumer-side passes only; do not hide the shared producer | \u003C 1 unless each pass absorbs real compute |\n| graph contains RNG \u002F data-dependent \u002F unrecovered call-form \u002F in-place nodes | any | those nodes are walls by default; try exact manual FX only for valuable single-output call-form blockers, otherwise fuse around them | bounded by what's left |\n\nRules for using this table:\n- **Matchability overrides structure.** A graph can look exactly like a high-upside row (a\n  reduction-then-arithmetic chain, say) yet score \u003C 1, because the op that would anchor the\n  fusion is in a form a normal callable pattern cannot reproduce, or because an in-place,\n  RNG, or data-dependent node severs the region. So BEFORE you commit to an ambitious row,\n  confirm the anchor op actually matches. For kwargs-form Python functional blockers, first\n  try the normal callable form; if it near-misses and the region is valuable, use\n  passnet-pattern-fusion's manual FX pattern path and verify it with the real matcher.\n  **Verify matchability with the real matcher** (the passnet-feedback checker, or a graph\n  capture you do yourself per S1) before building on a region — not just before the eval.\n- Pick the row that matches the **structure** AND whose anchor op is matchable, then hand the\n  region to **passnet-pattern-fusion** to turn into a concrete pattern + kernel.\n- Layout-only ops are ~free in eager: absorbing them pays only when it lets you bridge two\n  compute ops into one kernel or erase a materialization — not as a goal in itself. The one\n  exception is the last-resort floor above: when EVERY compute op is unmatchable, materializing\n  a returned view is the only way to modify the graph, and a ~0.5 beats a 0.1.\n- If two rows apply, prefer the one with the larger absorbed-work-per-launch.\n- Your kernel can be faster than eager in isolation yet the sample still lands near 1.0,\n  because an unmatchable neighbour you couldn't absorb stays in BOTH paths. The ceiling is set\n  by absorbed work, not total work — estimate it from what you can actually bind to.\n\n---\n\n## 5. Dead ends (DON'T) and disciplines (DO)\n\n**DON'T** (each line is a path that scores badly — avoid it):\n- **Finish with an empty or non-matching `pass_dir`.** That's the 0.1 floor; a slow correct\n  pass is ~8× better.\n- **Return more than one value from a pattern.** Multi-output crashes the variant -> 0.1.\n  If two intermediates are observable, that's two separate passes (passnet-pattern-fusion).\n- **Add a second pass without the shared-dispatch architecture.** With >=2 passes the harness\n  silently drops any pass whose replacement function differs -> variants stop matching.\n- **Re-implement a vendor-optimal heavy op in a custom kernel that does the SAME work** — a\n  general dense matmul, a 1×1 conv (already a pointwise GEMM), a depthwise\u002Fgrouped conv, or an\n  overlapping conv, when it sits in the vendor's efficient regime. You will lose to the library;\n  fuse its cheap tail instead. (The clearest exception is not \"the same work\": a non-overlapping\n  conv — `stride == kernel_size`, `kernel_size > 1`, `padding == 0` — is algebraically a dense\n  patch matmul while cuDNN runs a heavier general path, so a `tl.dot` patch-gather rewrite is a\n  real algorithm change worth pursuing; see §2.2. This red line is a strong prior — a completed\n  eval can still justify a rewrite for a provably off-regime shape. Also: never conclude a heavy\n  op is unmatchable — it is a C-bound function that binds fine.)\n- **Chase >1.0 on an overhead-bound sample.** The tax caps the ceiling below 1 — take the\n  floor and move on.\n- **Tune a correct-but-slow tiny\u002Flayout-only\u002Ffanout floor by reflex.** First ask whether a\n  larger legal compute-containing region exists; if not, stop with the floor.\n- **Make multi-change rewrites between evals.** Regressions become un-diagnosable. One\n  change-class per eval.\n- **Build on top of a change that lowered the score.** Revert to BEST-KNOWN-GOOD first.\n- **Put RNG \u002F data-dependent \u002F unrecovered call-form nodes inside a pattern.** They are\n  region boundaries; including them without exact matcher proof means no match.\n- **Evade the anti-cheat** (operator laundering, dispatch tricks, returning precomputed eager\n  results). It's classified as hacking, scores 0 on the leaderboard, and is usually slower\n  than eager anyway.\n- **Spend a GPU eval to discover a match failure** you could have caught by running the real\n  matcher against the captured graph, or a numeric bug you could have caught by running the\n  kernel once on correctly-shaped inputs.\n- **Mis-judge correctness from a strict bit-exact comparison.** A variant counts as correct\n  at its dtype's *baseline* tolerance, which is loose for fp16\u002Fbf16. A small nonzero diff —\n  especially on an output your kernel never produced — is usually fine. Read the authoritative\n  speedup\u002Fscore, not the strict-equal column.\n- **Abandon a region as \"infeasible\" because your first kernel was wrong.** A wrong result is\n  a numeric bug to fix (one change-class), not proof the strategy can't work.\n\n**DO** (process discipline that the trajectories show pays off):\n- **Ship a trivially-correct floor pass first**, then build upside on a known-good base.\n- **One change-class per iteration** (match | numeric | perf) so every eval is attributable.\n- **Track a BEST-KNOWN-GOOD snapshot** and revert to it on any regression. In service mode\n  keep a local copy of every uploaded version.\n- **Write patterns with no shape literals when variants differ only by shape** — one pass\n  then covers all variants and one eval validates them.\n- **Calibrate the per-call tax from your first eval** and reuse it in ceiling estimates.\n- **Maximize ops absorbed per launch** rather than shaving an already-tiny kernel.\n- **Recognize overhead-bound samples early and accept a sub-1.0 floor.**\n- **Classify evaluator timing instability separately** from no-match, numeric,\n  unauthorized-operator, timeout, and OOM failures. If the pass pre-flights cleanly and\n  successful variants are correct, an unchanged rerun can be a valid use of budget.\n- **Abandon a fundamentally-losing line of attack early** (don't sink evals into fighting a\n  vendor kernel or a region whose absorbed work can't beat the tax) — but distinguish \"wrong\n  strategy\" from \"right strategy, buggy kernel\": fix the bug before abandoning.\n- **Read the authoritative result.** Use end-to-end speedup + success status + baseline-\n  tolerance correctness as ground truth; treat any other estimate as a hint, not a verdict.\n\n---\n\n## 6. GPU-eval budget & iteration discipline\n\nGPU evaluations cost minutes (many trials × many variants) and there is a hard per-eval\ntimeout. Treat them as the scarce resource and plan around them:\n\n- **Budget ~6–8 GPU evals per sample.** If you're past that without progress, ship\n  BEST-KNOWN-GOOD and stop.\n- **Eval #1 is always the floor pass** — it buys downside insurance and calibrates the tax.\n  Never spend eval #1 on an ambitious multi-pass attempt.\n- **Pre-flight before every eval is mandatory** (both checks in S3: match-every-variant +\n  numeric sanity at baseline tolerance — by hand or with the optional checker). A GPU eval\n  that only learns \"didn't match\" or \"kernel was wrong\" is wasted; the budget assumes you\n  never spend one that way. Done well, this drives wasted evals toward zero.\n- **One change-class per eval** — so each eval answers exactly one question.\n- **Many-variant samples (tens to 100+ graphs) risk timeout.** There, minimize compile cost:\n  no autotune, a single fixed kernel config, the fewest passes, and a small fixed set of\n  compile-time specializations. (The *how* is passnet-triton-opt; the *decision to do it* is\n  yours, here, based on variant count.)\n- **Snapshot every evaluated pass_dir state** so reverting is instant.\n\n---\n\n## 7. Generalization & anti-copy\n\nThe sample you are given will differ from anything you've seen. **Derive the optimization\nfrom the dataflow in `model.py` and the shapes\u002Fdtypes in `weight_meta.py` in front of you** —\nnot from a remembered \"for operator X do Y\" recipe. If you catch yourself recalling a\nper-operator formula, stop and re-derive it from the actual graph; the held-out set is built\nto punish memorized answers. This skill deliberately gives you *decision structure* (where to\nstart, what to try, what to avoid), and leaves the operator-specific kernel math to be worked\nout per problem in passnet-pattern-fusion \u002F passnet-triton-opt.\n\n---\n\n## 8. Final report\n\nEnd your work with:\n- **Final AS Score** (from the last evaluation) and whether the pass matched.\n- **Per-variant summary**: dtype → matched? correct? speedup.\n- **Pass files** you created and a one-paragraph strategy description.\n- If below the ceiling you estimated: the specific blocker (overhead-bound, vendor op,\n  numeric limit, timeout, …).\n- Do NOT write result files to disk; your reply text is the result.\n\n---\n\n## 9. Where things live (boundary map)\n\n| skill | owns |\n|---|---|\n| **passnet-orchestrate** (this) | the decisions: where to start, what to try, dead ends, floor-vs-ambitious, revert\u002Fstop, eval budget |\n| **passnet-pattern-fusion** | authoring patterns that match, choosing fusion regions, multi-pass shared-dispatch wiring, kernel templates |\n| **passnet-triton-opt** | making a matched kernel fast (block\u002Fgrid\u002Fwarps\u002Fautotune\u002Flaunch) and numerically faithful per dtype |\n| **passnet-skill** | mechanics: fetching the problem, the pass-file format, how evaluation is invoked |\n| **passnet-feedback** (optional) | scripts that give the same analysis\u002Fpre-flight\u002Flog-parsing faster — never required by this flow |\n\nThis skill is the **strategy** half and **passnet-skill** is the **mechanics** half; use them\ntogether (this one to decide, that one for how to fetch\u002Fformat\u002Fevaluate). If you only need to\nknow *how* to do a mechanical step, go straight to passnet-skill; for *what to do and in what\norder*, stay here.\n","This skill is the **planning and decision** layer for PassNet. It is not the single-sample\nentry point. For one concrete sample, start with **passnet-solve**; it owns the end-to-end\nloop and calls passnet-pattern-fusion, passnet-triton-opt, and passnet-feedback at the right\ntime. Use this skill when planning a multi-sample round, choosing which sample families to\ndispatch, auditing whether a line of attack is overhead-bound, or deciding whether to keep,\nrevert, or stop after completed evaluations.\n\nFor context, a **sample** = several **graph variants** of the same subgraph (different dtypes —\nfloat32 \u002F float16 \u002F bfloat16 — and seeds\u002Fbatch dirs). You write passes; the harness\npattern-matches them into each variant's graph, checks correctness vs eager, and measures\nend-to-end speedup. Your deliverable is a final report (§8).\n\nThis skill is self-contained: every decision below is made from each variant's `model.py`\n(the computation), `weight_meta.py` (shapes\u002Fdtypes), and the evaluation results. It does not\ndepend on any external helper script. It does, at two points, rely on *capturing the real\ngraph and running the real matcher\u002Fkernel* (to confirm a pattern matches and a kernel is\ncorrect before spending a GPU eval) — that is a local, GPU-free check you can run yourself.\nThe `passnet-feedback` scripts package that check for convenience; use them if present, but\nthe flow never requires them and you must have a hand fallback when they can't capture a\ngraph.\n\n---\n\n## 1. The score is the strategy\n\nFour metrics are reported; the **AS Score** (an ES-weighted geometric mean of per-variant\n\"rectified speedups\") is the headline, and the other three (G-Mean Speedup, Correctness,\nfast_1) move with it. Optimize the AS Score. Two facts about it drive every decision below:\n\n**The rectification cliff.** Per variant, your outcome is worth roughly:\n\n| outcome                                   | worth (rectified speedup) |\n|-------------------------------------------|---------------------------|\n| no pass matched, or a crash\u002Fruntime error | **~0.1**                  |\n| matched but numerically wrong             | **~0.15**                 |\n| matched + correct, end-to-end speedup `s` | **~s** (even when s \u003C 1)  |\n\nSo a **matched, correct pass that runs at 0.8× scores ~8× better than not matching (0.1).**\nSlow-but-correct is a *good* outcome; not-matching is a disaster.\n\n**The geometric-mean trap.** The sample score is a geometric mean across **all** variants.\nOne variant at 0.1 drags the whole sample down hard — a single red variant outweighs a hero\nresult on another. **Consistency across every variant beats a peak on one.**\n\nConsequences this skill enforces (internalize these — they explain every rule that follows):\n1. **Never finish with an empty or non-matching `pass_dir`.** A floor pass is mandatory.\n   Matching even a *free-in-eager* region for a sub-1.0 score is far better than 0.1 — when\n   that's the only region you can bind to, take it (a constrained floor of ~0.5 still beats\n   0.1 by ~5×).\n2. **Never ship a change that turns a previously-green variant red.** Protect the gmean.\n3. **Prefer ONE pattern that covers every variant** over per-variant passes — fewer ways to\n   leave a variant unmatched, and one evaluation validates them all. The way to do this is to\n   write patterns with NO shape\u002Fscalar literals that differ across variants.\n4. **You do NOT have to cover every observable output.** A single matching pass already\n   modifies the graph (no 0.1); any output your passes don't produce simply runs in eager and\n   still scores. So target the **highest-value single region** rather than trying to absorb\n   the whole graph. (Tiny diffs may appear on outputs your kernel never touched — e.g. eager\n   dtype-cast nondeterminism — and they pass baseline tolerance; don't chase them.)\n\n(The exact tolerance weights and scoring formula are mechanics — see passnet-skill \u002F its\nreferences. You don't need them to make decisions; you need the cliff and the trap.\n\nWhen the harness reports an **authoritative aggregated score**, trust THAT over any estimate.\nA variant is \"correct\" at the dtype's *baseline* tolerance — not the strict bit-exact column.\nRead the end-to-end speedup, the success\u002Ffailed status, and baseline-tolerance correctness;\ndo not be alarmed by a nonzero diff that is still within baseline tolerance.)\n\n---\n\n## 2. \"Can I even win?\" — the cost gate\n\nThe compiled path pays a **fixed per-call tax** (graph-guard + interpretation + wrapper +\nlaunch overhead) that does not exist in eager. It is small on tiny graphs and grows with\ngraph size; each Triton kernel launch adds more on top. You don't need the exact numbers —\nyou need the rule they imply:\n\n> **You only win when the eager work you absorb into your kernel(s) per launch exceeds the\n> tax you add.** Replacing one cheap op on a small graph loses; absorbing many ops, or\n> replacing genuinely heavy memory-bound work, wins.\n\nCalibrate the real tax for *this machine and graph* from your first evaluation (compare the\ncompiled median against eager minus the work you removed) and reuse it when estimating later\nregions. The detailed performance model lives in **passnet-triton-opt**; bring just enough\nintuition here to triage floor-vs-ambitious in §3.\n\n---\n\n## 2.2 The one heavy-op exception — non-overlapping conv reduces to a patch matmul\n\nThe right question is never the op's *name*, it is its *regime*. A vendor kernel\n(cuDNN\u002FcuBLAS) is near-optimal only for (a) the shapes\u002Fparameters it has tuned kernels for and\n(b) the *general* form of its op class. You can beat it only when the op's concrete parameters\nput it OUTSIDE that efficient regime AND make it equal to a cheaper computation you can express\nas a legal Triton kernel. Otherwise you are competing with a vendor library on its home turf and\nwill lose. Derive this from the parameters in front of you — do not memorize a per-op verdict.\n\nThe clearest checkable win, and the one to actively look for:\n\n- **A convolution whose windows do not overlap** — `stride == kernel_size` along each spatial\n  dim, `kernel_size > 1`, `padding == 0`. Each output reads a disjoint input patch (no input is\n  reused), so the conv is *exactly* a dense matmul of flattened patches by the flattened weight\n  (`patches @ W.reshape(Co,-1).T` plus bias). cuDNN does not specialize for this — it runs its\n  general convolution path (implicit-GEMM \u002F im2col \u002F Winograd) built for the overlapping case,\n  which for an odd kernel\u002Fchannel shape can be far off a well-shaped GEMM. A `tl.dot`\n  patch-gather kernel that also folds the flatten\u002Ftranspose\u002Ftail into its epilogue can win by a\n  wide margin. Confirm `stride == kernel_size` and `kernel_size > 1` from the parameters.\n\nWhy the *same* rewrite usually LOSES on the other conv\u002Fmatmul shapes — i.e. why the reliable\ndefault is \"leave the op in aten and fuse its elementwise tail\":\n\n- **1×1 conv** already *is* a pointwise matmul (PyTorch lowers it to a cuBLAS GEMM); there is no\n  general-conv overhead to remove, so a hand `tl.dot` competes head-to-head with cuBLAS.\n- **overlapping conv** (`stride \u003C kernel_size`, e.g. 3×3 s1): writing it as a matmul needs\n  im2col, which materializes a ~kernel_volume× larger matrix — the exact memory blow-up\n  cuDNN's implicit-GEMM\u002FWinograd avoids. You pay more, not less.\n- **depthwise \u002F grouped conv**: memory-bound with specialized vendor kernels; a hand kernel\n  rarely wins and grouped indexing is bug-prone.\n- **large\u002Fgeneral dense matmul**: cuBLAS's sweet spot.\n\nNone of this is an absolute rule — **the completed eval is always the arbiter.** The lines above\nare strong *priors*, not prohibitions: if the concrete parameters give you a specific reason to\nbelieve a case sits outside the vendor's efficient regime (e.g. a tiny\u002Fdegenerate matmul, or a\nmemory-bound op you can fuse with a long tail into one kernel), you may try it — but only AFTER\nbanking the tail\u002Ffloor pass, and you KEEP it only if a completed eval beats that floor. Do not\nspend budget rewriting an op that is squarely in the vendor's sweet spot on a hunch, and do not\nskip the non-overlapping case just because no rule forbids it.\n\nTwo matchability facts (independent of the above): `conv1d\u002F2d\u002F3d`, `matmul`, `F.linear` are\nC-bound functions the pattern tracer binds to fine — \"it's a big cuDNN op\" never means the\npattern can't match.\n\nDiscipline (unchanged and mandatory): **always ship the tail\u002Ffloor pass FIRST** (S3); only then\nattempt a rewrite as an additional ambitious region; REVERT (S5\u002FGATE e) if a completed eval does\nnot beat the banked floor. The rewrite is upside insurance layered on top of the floor, never a\nreplacement for it.\n\n---\n\n## 2.1 Round triage gate — choose likely-amortizable samples first\n\nWhen planning a multi-sample round, do not dispatch workers randomly across small graphs.\nSpend a cheap triage pass first and label each candidate sample:\n\n- `likely_amortizable`: at least one legal single-output region absorbs substantial real\n  compute per launch: a large-output broadcast\u002Fbinary op, a sizeable reduction plus its\n  arithmetic, a long elementwise\u002Fnorm chain over enough elements, or a compute tail that can\n  be fused without reimplementing a vendor-optimal heavy op.\n  Judge this from candidate regions, not only whole-sample labels: a sample with global\n  returned values or producer fanout can still be likely amortizable when a downstream\n  consumer-side region leaves the shared producer outside the pattern and returns one legal\n  output.\n- `downside_cap_only`: only tiny regions, layout\u002Fview\u002Freshape-only work, returned views,\n  split\u002Ffanout layout tails, or cheap consumers behind boundaries that are not worth\n  repairing. These can still justify a floor pass to avoid 0.1, but they should not consume\n  scarce worker slots in a performance-strategy round unless you need calibration examples.\n- `blocked_by_contract`: every promising compute region would require multiple externally\n  observable outputs, hiding a shared producer with outside consumers, RNG\u002Fdata-dependent\n  work, or a call form that cannot be recovered by exact\u002Fmanual-FX matching. These are\n  pattern-fusion lessons, not performance targets.\n- `unstable_eval_risk`: previous or local evidence suggests evaluator timing instability,\n  timeout risk, or many variants with heavy compile cost. Track this separately from\n  numeric, no-match, and unauthorized-operator failures; it may justify rerunning an\n  unchanged confirmed state, not rewriting the kernel.\n\nDispatch priority for performance validation:\n1. `likely_amortizable` long memory-bound elementwise or broadcast-affine-activation chains:\n   layout\u002Fbroadcast producers plus multiple affine, activation, residual, or normalization\n   consumers that can be contained in one single-output region. Repeated round evidence shows\n   these are the best first allocation for performance-strategy validation because they can\n   save multiple memory passes per Triton launch.\n2. Clean normalization-affine compute prefixes and concat-to-normalization-affine prefixes:\n   allocate formal workers to them after verifier\u002Fprobe success, but record mixed outcomes\n   separately. The same static family can produce strong wins, near-eager correct states, or\n   a reverted floor depending on size, branch structure, dtype boundaries, and whether the\n   profitable prefix is truly the actual winning region.\n3. Local-region candidates recovered by a backward slice from a promising output. Allow\n   shared, returned, vendor-heavy, or otherwise risky producers to stay outside the pattern\n   as inputs when the downstream region itself has one output and absorbs enough compute.\n   Repeated evidence shows this avoids over-pruning while preserving the single-output\n   contract.\n4. Other `likely_amortizable` samples with all key anchors matchable.\n5. `likely_amortizable` but one boundary uncertain, if a cheap pre-flight can settle it.\n6. A small number of reduction-only or vendor-tail controls. Allocate these deliberately,\n   not as filler: repeated results show they often end correct-but-slow unless a larger\n   compute-containing region is both legal and numerically clean.\n7. Defer `blocked_by_contract` unless the round is specifically about matcher behavior.\n\nFor batch planning, keep separate fields for `triage_family`, `worker_confirmed_family`,\nand `actual_winning_region_family`. Do not credit a successful larger replacement to the\ninitial triage family when the completed evaluation shows the winning region was really a\ndifferent family, such as a compute-plus-normalization prefix, a layout materialization tail,\nor a vendor-heavy replacement. Use family-level completed-evaluation counts to adjust the\nnext batch allocation: wins above eager, correct-but-slow, numeric-preflight blocks,\ncorrectness regressions on larger regions, and larger-region attempts.\n\nThis gate is benchmark-general: the goal is to spend workers where absorbed eager work can\nplausibly pay for wrapper\u002Fframework\u002Flaunch tax, then use completed evaluations to confirm.\n\n---\n\n## 3. The decision flow\n\nFollow this top to bottom. Gates are marked **(a)–(e)**; sub-skill hand-offs are marked\n**→→ CALL**.\n\n```\nS0. SET UP  (mechanics — see passnet-skill)\n    - Read graph_list + every variant's model.py and weight_meta.py.\n    - In service mode, confirm service health and verify uploaded pass files with \u002Ffiles before any \u002Fevaluate call.\n    - In Codex managed sandboxes, try bounded normal localhost curl first; if it fails, retry once and then use the approved escalated localhost path if available. Do not interpret sandboxed connection failures as service downtime.\n    - Clear stale files from pass_dir (it is imported as a package; leftovers shadow yours).\n\nS1. CHARACTERIZE  (no GPU; read the graphs, then verify matchability with the real matcher)\n    - For each variant list: ops in their EXACT written call form, tensor shapes, dtypes.\n    - Mark each node matchable \u002F unmatchable for normal callable patterns (the rules are in\n      passnet-pattern-fusion). RNG\u002Fdata-dependent nodes are hard walls. Keyword-form Python\n      functional calls are walls for callable patterns, but a high-value single-output region\n      may be recoverable with an exact manual FX `GraphModule` pattern; require real matcher\n      proof before treating it as legal. In-place \u002F augmented-assign ops (a node written as\n      `x op= c`, or a call flagged in-place) often normalize to a different form than your\n      pattern produces; bind to neighbours unless passnet-pattern-fusion proves an exact\n      pattern can match and the replacement preserves the eager mutation semantics across\n      repeated calls.\n    - Partition the graph into maximal matchable REGIONS, each with exactly ONE value\n      consumed outside it. Eyeballing model.py tells you the candidate regions, but whether a\n      given op actually matches is often NOT visible by eye — confirm it with the real matcher\n      (capture the graph + run the subgraph matcher, see S3 pre-flight) before you commit the\n      strategy to a region.\n    - Mark region economics before authoring: compute-heavy and large-output regions are\n      likely amortizable; layout\u002Fview\u002Freshape-only regions, returned views, and split\u002Ffanout\n      layout tails are downside caps unless they bridge compute or remove a real\n      materialization.\n    - Classify the sample against the archetype table (§4) — this names your line of attack.\n    - Cross-variant literal check: do shape\u002Fscalar LITERALS differ across variants? If yes,\n      a shared pattern must avoid those literals (or you need per-shape passes). Every\n      variant must end with >=1 matching pass.\n\nS2. CEILING TRIAGE          ===== GATE (a): FLOOR vs AMBITIOUS =====\n    Estimate, per region, whether absorbed eager work clearly exceeds the tax (§2).\n    - Total eager work tiny \u002F no region absorbs more than the tax\n            -> OVERHEAD-BOUND. Target = a safe FLOOR only. (Ceiling \u003C 1; do not chase >1.)\n    - The only legal matchable regions are layout\u002Fview\u002Freshape\u002Fsplit-fanout floors\n            -> DOWNSIDE CAP. Evaluate the safest correct state if needed, but do not tune it\n               blindly; stop after a completed correct eval unless a larger compute-containing\n               region becomes legal.\n    - The dominant cost is a heavy conv\u002Fmatmul in the vendor sweet spot (1×1, depthwise\u002Fgrouped,\n      overlapping conv, or a general dense matmul) with no worthwhile cheap tail\n            -> DEFAULT to not reimplementing it: floor on an adjacent node; accept ~1.0.\n      Precondition: you checked §2.2. The clearest upside case (below) is a non-overlapping conv\n      (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`); the others are strong-prior\n      walls, not absolute — a completed eval may still justify a rewrite in a specific\n      off-regime shape.\n    - There is a fusible region whose absorbed work clearly beats the tax, OR a heavy op that\n      §2.2 shows sits outside the vendor's regime and equals a cheaper computation\n            -> REAL UPSIDE. Ambitious path enabled.\n\nS3. SHIP THE FLOOR FIRST  (cap the downside before taking any risk)\n    Pick the single most trivially-correct matchable region — one compute node you cannot get\n    numerically wrong. This caps EVERY variant at \"matched + correct.\"\n    →→ CALL passnet-pattern-fusion  — author the floor pass (pattern + replacement + a single\n       kernel; use the shared-dispatch layout from the start even for one pass).\n    - PRE-FLIGHT (no GPU) — MANDATORY before every eval (this is the single biggest lever for\n      not wasting evals). Check two things:\n        (1) MATCH: re-read your pattern against each variant's model.py — exactly one output?\n            exact call form (method vs function, positional vs kwargs, no in-place op inside)?\n            literals equal across the variants it must cover? every inside-node consumed only\n            inside? Confirm it would match EVERY variant.\n        (2) NUMERICS: run your kernel once on inputs of the right shape\u002Fdtype and compare to\n            the eager computation at the dtype's baseline tolerance. Index-arithmetic kernels\n            (copies, permutes, strided gathers) are the #1 source of silent wrong answers —\n            always numerically check them before an eval.\n      The reliable way to do BOTH checks without a GPU eval is to reproduce the harness\n      locally: capture each variant's real graph (compile the model with a graph-capturing\n      backend, or trace it) and run the actual subgraph matcher with your pattern against it,\n      then run your kernel on correctly-shaped\u002Fdtyped inputs and compare to eager. The\n      passnet-feedback checker packages exactly this — use it if available. But it is only a\n      convenience: it can itself fail to capture some graphs (e.g. ones using advanced integer-\n      tensor indexing or other data-dependent ops). When it fails, fall back to capturing the\n      graph yourself the same way and running the matcher\u002Fnumeric compare directly — do NOT\n      skip the pre-flight and \"just try an eval.\" Reading model.py by eye is the weakest form\n      of this check and misses non-obvious unmatchable forms; prefer the real matcher.\n    - EVALUATE  (GPU eval #1).                ===== GATE (e) applies after every eval =====\n        * service upload unconfirmed -> do NOT evaluate; fix upload\u002Flisting first.\n        * empty\u002Finterrupted\u002Fnon-JSON eval response -> no metrics exist; retry or fix service access\u002Fstate before making strategy conclusions.\n        * not matched \u002F wrong -> fix MATCH or NUMERICS and re-eval; a floor that doesn't\n          match is worse than useless.\n        * matched + correct  -> snapshot this pass_dir as BEST-KNOWN-GOOD; calibrate the tax\n          from this eval's numbers.\n    - If GATE (a) said FLOOR-only -> go S7. Else -> S4.\n\nS4. BUILD UPSIDE — one region at a time\n    Choose the single highest-expected-gain region not yet addressed.\n    →→ CALL passnet-pattern-fusion  — pick which ops to absorb into the region, author the\n       pattern, and (for >=2 passes) wire the shared-dispatch architecture.\n       GATE (b): any time you author or repair a pattern, or decide what to fuse, you are\n       in passnet-pattern-fusion — not here, not passnet-triton-opt.\n    - PRE-FLIGHT (no GPU), MANDATORY — same two checks as S3 (match every variant + numeric\n      sanity at baseline tolerance). Fix any match\u002Fnumeric problem BEFORE spending a GPU eval.\n    - EVALUATE (GPU eval #k). Read per-variant status + speedups + the authoritative score.\n\nS5. ===== GATE (e): REVERT or KEEP =====   (run after EVERY eval)\n    - Authoritative score \u003C BEST-KNOWN-GOOD, OR any variant that was green is now red\n            -> REVERT to BEST-KNOWN-GOOD immediately. Do not stack a new change on a worse\n               base. Diagnose from the log, then try a DIFFERENT single change or abandon the\n               region.\n    - Otherwise -> this becomes the new BEST-KNOWN-GOOD. Continue.\n\nS6. ===== GATE (c): matched + correct but SLOW? =====\n    - A region matches and is correct but its speedup is below the ceiling, OR correctness\n      misses by a SMALL numeric margin (a dtype-tolerance miss, not a gross bug)\n            →→ CALL passnet-triton-opt  — perf tuning and\u002For numeric-fidelity fix. Change ONE\n               class at a time (perf XOR numeric). Re-eval -> back to S5.\n    - A completed eval is matched and correct but slower than eager, and the region is already\n      maximal or only layout\u002Fview\u002Ffanout work remains\n            -> OVERHEAD-BOUND STOP. Keep the best completed state as the floor\u002Fdownside cap;\n               do not spend evaluations on block-size sweeps or tiny independent kernels.\n    - A wider legal attempt completed but scored lower than the floor or narrow state\n            -> REVERT and STOP that line unless a different likely-amortizable region remains.\n    - A broad manual-FX attempt is matched and correct but unstable or slower after absorbing\n      an in-place node\n            -> REVERT to the best state and consider a narrower downstream region that leaves\n               the side effect in eager.\n    - Matched, correct, at\u002Fnear ceiling -> this region is done.\n\n    ===== GATE (d): STOP? =====  Stop when ANY of:\n        * best score >= ~0.9 x your estimated ceiling, OR\n        * GPU-eval budget exhausted AND a matched+correct pass is in place, OR\n        * the last 2 evals produced no improvement, OR\n        * no un-addressed region has expected gain greater than the tax.\n    Otherwise pick the next region -> S4.\n    CEILING SANITY: if a dominant conv is the reason your ceiling is ~1.0, first confirm (§2.2)\n    it is NOT a non-overlapping conv (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`)\n    — that one case has a much higher ceiling via a patch-matmul rewrite. Do NOT \"preserve\n    budget\" by stopping early when that specific reformulation remains unattempted and evals\n    remain. (For 1×1 \u002F depthwise \u002F general matmul a ~1.0 ceiling IS correct — don't chase them.)\n\nS7. FINAL REPORT (§8). Make sure BEST-KNOWN-GOOD is what is on disk.\n```\n\nCompact tree:\n\n```\nread sample -> characterize -> ceiling triage (a)\n   overhead-bound \u002F vendor-heavy  -> floor (b) -> eval -> report\n   real upside                    -> floor (b) -> eval -> [loop: pick region (b) -> eval\n                                                           -> revert-or-keep (e)\n                                                           -> if slow\u002Fnear-miss tune (c)\n                                                           -> stop? (d)] -> report\n```\n\n---\n\n## 4. Graph-shape archetypes → line of attack (operator-AGNOSTIC)\n\nClassify by **dataflow structure, tensor-size regime, and matchability — never by which\noperator it is**. (The right kernel is derived from the graph in front of you; this table\nonly tells you *where the upside lives* and *what to try first*.)\n\n| structural shape | size regime | line of attack | rough ceiling |\n|---|---|---|---|\n| a chain of cheap elementwise\u002Fnormalize ops feeding ONE output | any | fuse the maximal matchable region into one kernel | good if tensors large; ~1.0 if tiny |\n| a reduction over a large axis, then arithmetic on the result | ms-scale tensors | one fused reduction kernel producing the final output | among the highest (often >1.5×) |\n| a broadcast\u002Fexpand feeding a binary op that WRITES a large output | large output | one shape-aware kernel; absorb the layout ops | strong even alone |\n| a heavy conv\u002Fmatmul + a cheap tail — 1×1 conv, depthwise\u002Fgrouped conv, overlapping conv, general dense matmul | any | default: leave the heavy op in the graph; fuse only the tail. Rewriting the op is usually a loss (vendor sweet spot) — try only if parameters suggest off-regime AND a completed eval beats the floor | bounded by tail size |\n| a non-overlapping conv (`stride == kernel_size`, `kernel_size > 1`, `padding == 0`) | any | reformulate as a `tl.dot` patch-gather kernel + fused tail; the conv is the region ANCHOR, not a wall. Ship a tail floor first | can be large |\n| tiny total eager time (a couple of cheap ops) | small | overhead-bound: ship a floor, accept \u003C 1 | \u003C 1 |\n| mostly layout ops (view\u002Freshape\u002Fpermute\u002Ftranspose) + 1 compute op | any | replace the compute op only; absorb adjacent layout for free | modest |\n| the only matchable region is a layout op whose result is RETURNED directly (a view eager never materializes) | any | replacing it FORCES a copy eager skips, so it scores \u003C 1 — but it still matches; take it ONLY as a last-resort floor to escape 0.1 | \u003C 1, but >> 0.1 |\n| split\u002Ffanout layout region with multiple externally observable consumers | any | single-output floor or separate consumer-side passes only; do not hide the shared producer | \u003C 1 unless each pass absorbs real compute |\n| graph contains RNG \u002F data-dependent \u002F unrecovered call-form \u002F in-place nodes | any | those nodes are walls by default; try exact manual FX only for valuable single-output call-form blockers, otherwise fuse around them | bounded by what's left |\n\nRules for using this table:\n- **Matchability overrides structure.** A graph can look exactly like a high-upside row (a\n  reduction-then-arithmetic chain, say) yet score \u003C 1, because the op that would anchor the\n  fusion is in a form a normal callable pattern cannot reproduce, or because an in-place,\n  RNG, or data-dependent node severs the region. So BEFORE you commit to an ambitious row,\n  confirm the anchor op actually matches. For kwargs-form Python functional blockers, first\n  try the normal callable form; if it near-misses and the region is valuable, use\n  passnet-pattern-fusion's manual FX pattern path and verify it with the real matcher.\n  **Verify matchability with the real matcher** (the passnet-feedback checker, or a graph\n  capture you do yourself per S1) before building on a region — not just before the eval.\n- Pick the row that matches the **structure** AND whose anchor op is matchable, then hand the\n  region to **passnet-pattern-fusion** to turn into a concrete pattern + kernel.\n- Layout-only ops are ~free in eager: absorbing them pays only when it lets you bridge two\n  compute ops into one kernel or erase a materialization — not as a goal in itself. The one\n  exception is the last-resort floor above: when EVERY compute op is unmatchable, materializing\n  a returned view is the only way to modify the graph, and a ~0.5 beats a 0.1.\n- If two rows apply, prefer the one with the larger absorbed-work-per-launch.\n- Your kernel can be faster than eager in isolation yet the sample still lands near 1.0,\n  because an unmatchable neighbour you couldn't absorb stays in BOTH paths. The ceiling is set\n  by absorbed work, not total work — estimate it from what you can actually bind to.\n\n---\n\n## 5. Dead ends (DON'T) and disciplines (DO)\n\n**DON'T** (each line is a path that scores badly — avoid it):\n- **Finish with an empty or non-matching `pass_dir`.** That's the 0.1 floor; a slow correct\n  pass is ~8× better.\n- **Return more than one value from a pattern.** Multi-output crashes the variant -> 0.1.\n  If two intermediates are observable, that's two separate passes (passnet-pattern-fusion).\n- **Add a second pass without the shared-dispatch architecture.** With >=2 passes the harness\n  silently drops any pass whose replacement function differs -> variants stop matching.\n- **Re-implement a vendor-optimal heavy op in a custom kernel that does the SAME work** — a\n  general dense matmul, a 1×1 conv (already a pointwise GEMM), a depthwise\u002Fgrouped conv, or an\n  overlapping conv, when it sits in the vendor's efficient regime. You will lose to the library;\n  fuse its cheap tail instead. (The clearest exception is not \"the same work\": a non-overlapping\n  conv — `stride == kernel_size`, `kernel_size > 1`, `padding == 0` — is algebraically a dense\n  patch matmul while cuDNN runs a heavier general path, so a `tl.dot` patch-gather rewrite is a\n  real algorithm change worth pursuing; see §2.2. This red line is a strong prior — a completed\n  eval can still justify a rewrite for a provably off-regime shape. Also: never conclude a heavy\n  op is unmatchable — it is a C-bound function that binds fine.)\n- **Chase >1.0 on an overhead-bound sample.** The tax caps the ceiling below 1 — take the\n  floor and move on.\n- **Tune a correct-but-slow tiny\u002Flayout-only\u002Ffanout floor by reflex.** First ask whether a\n  larger legal compute-containing region exists; if not, stop with the floor.\n- **Make multi-change rewrites between evals.** Regressions become un-diagnosable. One\n  change-class per eval.\n- **Build on top of a change that lowered the score.** Revert to BEST-KNOWN-GOOD first.\n- **Put RNG \u002F data-dependent \u002F unrecovered call-form nodes inside a pattern.** They are\n  region boundaries; including them without exact matcher proof means no match.\n- **Evade the anti-cheat** (operator laundering, dispatch tricks, returning precomputed eager\n  results). It's classified as hacking, scores 0 on the leaderboard, and is usually slower\n  than eager anyway.\n- **Spend a GPU eval to discover a match failure** you could have caught by running the real\n  matcher against the captured graph, or a numeric bug you could have caught by running the\n  kernel once on correctly-shaped inputs.\n- **Mis-judge correctness from a strict bit-exact comparison.** A variant counts as correct\n  at its dtype's *baseline* tolerance, which is loose for fp16\u002Fbf16. A small nonzero diff —\n  especially on an output your kernel never produced — is usually fine. Read the authoritative\n  speedup\u002Fscore, not the strict-equal column.\n- **Abandon a region as \"infeasible\" because your first kernel was wrong.** A wrong result is\n  a numeric bug to fix (one change-class), not proof the strategy can't work.\n\n**DO** (process discipline that the trajectories show pays off):\n- **Ship a trivially-correct floor pass first**, then build upside on a known-good base.\n- **One change-class per iteration** (match | numeric | perf) so every eval is attributable.\n- **Track a BEST-KNOWN-GOOD snapshot** and revert to it on any regression. In service mode\n  keep a local copy of every uploaded version.\n- **Write patterns with no shape literals when variants differ only by shape** — one pass\n  then covers all variants and one eval validates them.\n- **Calibrate the per-call tax from your first eval** and reuse it in ceiling estimates.\n- **Maximize ops absorbed per launch** rather than shaving an already-tiny kernel.\n- **Recognize overhead-bound samples early and accept a sub-1.0 floor.**\n- **Classify evaluator timing instability separately** from no-match, numeric,\n  unauthorized-operator, timeout, and OOM failures. If the pass pre-flights cleanly and\n  successful variants are correct, an unchanged rerun can be a valid use of budget.\n- **Abandon a fundamentally-losing line of attack early** (don't sink evals into fighting a\n  vendor kernel or a region whose absorbed work can't beat the tax) — but distinguish \"wrong\n  strategy\" from \"right strategy, buggy kernel\": fix the bug before abandoning.\n- **Read the authoritative result.** Use end-to-end speedup + success status + baseline-\n  tolerance correctness as ground truth; treat any other estimate as a hint, not a verdict.\n\n---\n\n## 6. GPU-eval budget & iteration discipline\n\nGPU evaluations cost minutes (many trials × many variants) and there is a hard per-eval\ntimeout. Treat them as the scarce resource and plan around them:\n\n- **Budget ~6–8 GPU evals per sample.** If you're past that without progress, ship\n  BEST-KNOWN-GOOD and stop.\n- **Eval #1 is always the floor pass** — it buys downside insurance and calibrates the tax.\n  Never spend eval #1 on an ambitious multi-pass attempt.\n- **Pre-flight before every eval is mandatory** (both checks in S3: match-every-variant +\n  numeric sanity at baseline tolerance — by hand or with the optional checker). A GPU eval\n  that only learns \"didn't match\" or \"kernel was wrong\" is wasted; the budget assumes you\n  never spend one that way. Done well, this drives wasted evals toward zero.\n- **One change-class per eval** — so each eval answers exactly one question.\n- **Many-variant samples (tens to 100+ graphs) risk timeout.** There, minimize compile cost:\n  no autotune, a single fixed kernel config, the fewest passes, and a small fixed set of\n  compile-time specializations. (The *how* is passnet-triton-opt; the *decision to do it* is\n  yours, here, based on variant count.)\n- **Snapshot every evaluated pass_dir state** so reverting is instant.\n\n---\n\n## 7. Generalization & anti-copy\n\nThe sample you are given will differ from anything you've seen. **Derive the optimization\nfrom the dataflow in `model.py` and the shapes\u002Fdtypes in `weight_meta.py` in front of you** —\nnot from a remembered \"for operator X do Y\" recipe. If you catch yourself recalling a\nper-operator formula, stop and re-derive it from the actual graph; the held-out set is built\nto punish memorized answers. This skill deliberately gives you *decision structure* (where to\nstart, what to try, what to avoid), and leaves the operator-specific kernel math to be worked\nout per problem in passnet-pattern-fusion \u002F passnet-triton-opt.\n\n---\n\n## 8. Final report\n\nEnd your work with:\n- **Final AS Score** (from the last evaluation) and whether the pass matched.\n- **Per-variant summary**: dtype → matched? correct? speedup.\n- **Pass files** you created and a one-paragraph strategy description.\n- If below the ceiling you estimated: the specific blocker (overhead-bound, vendor op,\n  numeric limit, timeout, …).\n- Do NOT write result files to disk; your reply text is the result.\n\n---\n\n## 9. Where things live (boundary map)\n\n| skill | owns |\n|---|---|\n| **passnet-orchestrate** (this) | the decisions: where to start, what to try, dead ends, floor-vs-ambitious, revert\u002Fstop, eval budget |\n| **passnet-pattern-fusion** | authoring patterns that match, choosing fusion regions, multi-pass shared-dispatch wiring, kernel templates |\n| **passnet-triton-opt** | making a matched kernel fast (block\u002Fgrid\u002Fwarps\u002Fautotune\u002Flaunch) and numerically faithful per dtype |\n| **passnet-skill** | mechanics: fetching the problem, the pass-file format, how evaluation is invoked |\n| **passnet-feedback** (optional) | scripts that give the same analysis\u002Fpre-flight\u002Flog-parsing faster — never required by this flow |\n\nThis skill is the **strategy** half and **passnet-skill** is the **mechanics** half; use them\ntogether (this one to decide, that one for how to fetch\u002Fformat\u002Fevaluate). If you only need to\nknow *how* to do a mechanical step, go straight to passnet-skill; for *what to do and in what\norder*, stay here.\n",{"name":5,"description":7},"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":31,"prompt":41,"zipAvailable":42},[32,35,38],{"tool":33,"command":34},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill passnet-orchestrate",{"tool":36,"command":37},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill passnet-orchestrate",{"tool":39,"command":40},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill passnet-orchestrate","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",true,[],[45,52,59,66,73,80],{"skillNo":46,"name":47,"nameZh":6,"description":48,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":49,"categories":50,"keywords":51,"publishedAt":18},"01M799NYSH1R3RVAHSM2D88Y84","passnet-triton-opt","Make a single PassNet Triton kernel fast AND numerically faithful: performance model (when a replacement can win at all), block\u002Fgrid\u002Fwarp tuning, autotune policy, launch overhead, and per-op numeric recipes to pass the dtype baseline tolerances. Use when a pass matches and is correct but speedup below expected, or when correctness fails by small numeric margins.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":53,"name":54,"nameZh":6,"description":55,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":56,"categories":57,"keywords":58,"publishedAt":18},"01M799NS5APEC0N1FZ7XZVW6BN","passnet-solve","END-TO-END playbook for solving one PassNet sample: analyze the computation graphs, decide the optimization strategy (what to fuse, what to replace, what to leave alone), drive the iteration loop, and maximize the sample score. This is the ENTRY skill — invoke it first for any PassNet optimization task; it tells you when to use passnet-pattern-fusion, passnet-triton-opt and passnet-feedback.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-solve\u002FSKILL.md",[],[],{"skillNo":60,"name":61,"nameZh":6,"description":62,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":63,"categories":64,"keywords":65,"publishedAt":18},"01M799NNY9BKSM21V5R7QVTBJX","passnet-skill","PassNet GPU kernel optimization via compiler passes. Design and implement Triton-based optimization passes, create pass files under .\u002Fpass_dir\u002F, self-evaluate with pass_evaluator, and iterate to maximize GPU speedup.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-skill\u002FSKILL.md",[],[],{"skillNo":67,"name":68,"nameZh":6,"description":69,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":18},"01M799NHH6NP7Z1RK77KGXAN6S","passnet-pattern-fusion","Author PassNet pass files: write patterns that actually MATCH the FX graph, pick fusion regions (which ops to absorb into one Triton kernel), and structure multi-pass submissions with the mandatory shared-dispatch architecture. Use when creating or fixing pattern()\u002Freplacement_args()\u002Freplacement_func() files, when a pass \"failed to match\", or when deciding how to fuse multiple kernels\u002Fops.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-pattern-fusion\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":18},"01M799N8SBTMY02ZDG2AZF5ZWE","passnet-feedback","Fast, deterministic feedback for PassNet work: pre-flight pattern\u002Fmatch verification WITHOUT burning a GPU evaluation, per-node bottleneck analysis of a sample's graphs, and eval-log parsing into per-variant status + estimated score + failure classification. Use BEFORE every GPU evaluation (check_pattern), at the START of a sample (analyze_graph), and AFTER every evaluation (parse_eval_log).","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-feedback\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":18},"01M799N5J50300PMTGY5HVJN9R","prompt_template_rendering","Render PromptSource-style Jinja prompt templates into natural-language input\u002Ftarget pairs with answer choices, deterministic choices, skip handling, and structured diagnostics.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPaperBench\u002Fskills\u002Fwhat-will-my-model-forget\u002Fskill\u002Fp3_promptsource\u002Fprompt_template_rendering\u002FSKILL.md",[],[]]