[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M792Y0XXWZHYDJWD6M2GR5G9":3,"skill-same:01M792Y0XXWZHYDJWD6M2GR5G9":70},{"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":26,"commitSha":27,"skillDirectory":28,"forksCount":29,"repositoryHtmlUrl":30,"repositoryHomepageUrl":6,"ownerHtmlUrl":31,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":32,"install":33,"resources":45},"01M792Y0XXWZHYDJWD6M2GR5G9","pot",null,"Use POT\u002FPython Optimal Transport for optimal-transport solvers, Wasserstein distances, Sinkhorn, Gromov-Wasserstein, barycenters, unbalanced or partial OT, domain adaptation, Gaussian\u002FGMM and backend-aware scientific ML workflows.","VectorSpaceLab\u002FAREX-Skill","VectorSpaceLab","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F180637102?v=4","01M7538C5WPSJGWF7KHR4EFZ9F","01M7538C6R2GFP53NPXTCZNBRT",351,"MIT","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: pot\ndescription: \"Use POT\u002FPython Optimal Transport for optimal-transport solvers,\n  Wasserstein distances, Sinkhorn, Gromov-Wasserstein, barycenters, unbalanced\n  or partial OT, domain adaptation, Gaussian\u002FGMM and backend-aware scientific ML\n  workflows.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: MIT\n---\n\n# POT (Python Optimal Transport)\n\nUse this repo skill when a task involves POT, the `ot` import package, optimal transport, Wasserstein distances, Sinkhorn solvers, transport plans, cost matrices, Gromov-Wasserstein, unbalanced or partial mass transport, barycenters, sliced\u002FGaussian\u002FGMM OT, OT domain adaptation, or POT's NumPy\u002FPyTorch\u002FJAX\u002FTensorFlow\u002FCuPy backend behavior.\n\n## Start here\n\n1. Install or verify POT. The distribution is `POT`, but code imports `ot`.\n2. Run [scripts\u002Fcheck_pot_install.py](scripts\u002Fcheck_pot_install.py) when you need a fast base-package check for import, compiled extensions, and a tiny NumPy solve.\n3. Read [references\u002Fpackage-overview.md](references\u002Fpackage-overview.md) for package concepts, install routes, optional extras, and a solver-family map.\n4. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for cross-cutting install\u002Fimport, compiled-extension, optional-dependency, mixed-backend, and numerical-scale issues.\n5. Read [references\u002Frepo-provenance.md](references\u002Frepo-provenance.md) before deciding whether this skill is current for a checkout.\n\n## Sub-skill routes\n\n| If the user asks about... | Read |\n| --- | --- |\n| Exact OT, Wasserstein distance, `ot.solve`, `ot.solve_sample`, EMD\u002FEMD2, Sinkhorn, cost matrices, 1D\u002Fcircle\u002Fsparse\u002Flazy solvers, or `OTResult` | [sub-skills\u002Fcore-solvers\u002FSKILL.md](sub-skills\u002Fcore-solvers\u002FSKILL.md) |\n| Fixed-support or free-support barycenters, entropic\u002Fdebiased\u002Fconvolutional barycenters, or sample-cloud barycenters | [sub-skills\u002Fbarycenters\u002FSKILL.md](sub-skills\u002Fbarycenters\u002FSKILL.md) |\n| Gromov-Wasserstein, Fused GW, semirelaxed\u002Fpartial\u002Funbalanced\u002Fquantized GW, graph\u002Frelational alignment, GW barycenters, or GW dictionary learning | [sub-skills\u002Fgromov\u002FSKILL.md](sub-skills\u002Fgromov\u002FSKILL.md) |\n| Unbalanced OT, partial OT, outlier mass, relaxed marginals, transported mass `m`, UOT barycenters, or regularization paths | [sub-skills\u002Funbalanced-partial\u002FSKILL.md](sub-skills\u002Funbalanced-partial\u002FSKILL.md) |\n| Sliced\u002Fmax\u002Fspherical sliced Wasserstein, Gaussian\u002FBures\u002FGMM OT, low-rank\u002Ffactored\u002FNystroem\u002FBSP\u002Fsemidiscrete\u002FSGOT\u002FCOOT\u002Fstochastic solvers, or large-scale approximation choices | [sub-skills\u002Fsliced-gaussian-large-scale\u002FSKILL.md](sub-skills\u002Fsliced-gaussian-large-scale\u002FSKILL.md) |\n| OT domain adaptation estimators, mapping transport, source\u002Ftarget sample alignment, JCPOT, WDA\u002FEWCA optional routes, or nearest Brenier potentials | [sub-skills\u002Fdomain-adaptation\u002FSKILL.md](sub-skills\u002Fdomain-adaptation\u002FSKILL.md) |\n| NumPy\u002FTorch\u002FJAX\u002FTensorFlow\u002FCuPy backends, mixed-backend errors, optional backend checks, gradient modes, or batch OT solvers | [sub-skills\u002Fbackend-and-batch\u002FSKILL.md](sub-skills\u002Fbackend-and-batch\u002FSKILL.md) |\n\n## Minimal install and smoke check\n\n```bash\npip install POT\npython - \u003C\u003C'PY'\nimport ot\nprint(ot.__version__)\nPY\npython scripts\u002Fcheck_pot_install.py --json\n```\n\nThe base install should support NumPy\u002FSciPy workflows plus compiled extensions used by exact EMD, partial OT, and BSP-OT. Optional extras are task-specific; do not install `POT[all]` unless the user explicitly wants all optional packages and accepts licensing\u002Fruntime implications.\n\n## Solver-family decision hints\n\n- Use `ot.solve(M, ...)` when the user already has a cost matrix and wants a unified result object.\n- Use `ot.solve_sample(Xs, Xt, ...)` when the user has samples and wants POT to compute the cost matrix or choose sample-specific methods.\n- Use classical functions such as `ot.emd`, `ot.emd2`, `ot.sinkhorn`, and `ot.sinkhorn2` when the user needs the historical API or a specific solver.\n- Use unbalanced or partial APIs when total mass should not be fully conserved.\n- Use GW\u002FFGW APIs when source and target samples live in different spaces but have internal distance\u002Ffeature structures.\n- Use sliced, Gaussian\u002FGMM, low-rank, lazy, stochastic, semidiscrete, or batch routes before building huge dense cost\u002Fplan matrices.\n- Use optional backend routes only after the active environment verifies the corresponding framework.\n\n## Validation checklist\n\nFor every POT workflow, check:\n\n- Input arrays are finite, shaped as documented, and use one numerical backend per solver call.\n- Histograms are nonnegative and aligned with cost-matrix rows\u002Fcolumns.\n- Cost matrix scale matches the chosen `reg`, `reg_m`, tolerance, and approximation family.\n- Returned plans are finite, nonnegative within tolerance, and have expected shape\u002Fmass\u002Fmarginals.\n- Result objects expose the values needed by the task (`value`, `value_linear`, `value_quad`, `plan`, `potentials`, `X`, `b`, or `log`).\n- Any optional backend, plotting, CVX, DR, GNN, or GeomLoss path is installed and verified in the environment that will run it.\n","# POT (Python Optimal Transport)\n\nUse this repo skill when a task involves POT, the `ot` import package, optimal transport, Wasserstein distances, Sinkhorn solvers, transport plans, cost matrices, Gromov-Wasserstein, unbalanced or partial mass transport, barycenters, sliced\u002FGaussian\u002FGMM OT, OT domain adaptation, or POT's NumPy\u002FPyTorch\u002FJAX\u002FTensorFlow\u002FCuPy backend behavior.\n\n## Start here\n\n1. Install or verify POT. The distribution is `POT`, but code imports `ot`.\n2. Run [scripts\u002Fcheck_pot_install.py](scripts\u002Fcheck_pot_install.py) when you need a fast base-package check for import, compiled extensions, and a tiny NumPy solve.\n3. Read [references\u002Fpackage-overview.md](references\u002Fpackage-overview.md) for package concepts, install routes, optional extras, and a solver-family map.\n4. Read [references\u002Ftroubleshooting.md](references\u002Ftroubleshooting.md) for cross-cutting install\u002Fimport, compiled-extension, optional-dependency, mixed-backend, and numerical-scale issues.\n5. Read [references\u002Frepo-provenance.md](references\u002Frepo-provenance.md) before deciding whether this skill is current for a checkout.\n\n## Sub-skill routes\n\n| If the user asks about... | Read |\n| --- | --- |\n| Exact OT, Wasserstein distance, `ot.solve`, `ot.solve_sample`, EMD\u002FEMD2, Sinkhorn, cost matrices, 1D\u002Fcircle\u002Fsparse\u002Flazy solvers, or `OTResult` | [sub-skills\u002Fcore-solvers\u002FSKILL.md](sub-skills\u002Fcore-solvers\u002FSKILL.md) |\n| Fixed-support or free-support barycenters, entropic\u002Fdebiased\u002Fconvolutional barycenters, or sample-cloud barycenters | [sub-skills\u002Fbarycenters\u002FSKILL.md](sub-skills\u002Fbarycenters\u002FSKILL.md) |\n| Gromov-Wasserstein, Fused GW, semirelaxed\u002Fpartial\u002Funbalanced\u002Fquantized GW, graph\u002Frelational alignment, GW barycenters, or GW dictionary learning | [sub-skills\u002Fgromov\u002FSKILL.md](sub-skills\u002Fgromov\u002FSKILL.md) |\n| Unbalanced OT, partial OT, outlier mass, relaxed marginals, transported mass `m`, UOT barycenters, or regularization paths | [sub-skills\u002Funbalanced-partial\u002FSKILL.md](sub-skills\u002Funbalanced-partial\u002FSKILL.md) |\n| Sliced\u002Fmax\u002Fspherical sliced Wasserstein, Gaussian\u002FBures\u002FGMM OT, low-rank\u002Ffactored\u002FNystroem\u002FBSP\u002Fsemidiscrete\u002FSGOT\u002FCOOT\u002Fstochastic solvers, or large-scale approximation choices | [sub-skills\u002Fsliced-gaussian-large-scale\u002FSKILL.md](sub-skills\u002Fsliced-gaussian-large-scale\u002FSKILL.md) |\n| OT domain adaptation estimators, mapping transport, source\u002Ftarget sample alignment, JCPOT, WDA\u002FEWCA optional routes, or nearest Brenier potentials | [sub-skills\u002Fdomain-adaptation\u002FSKILL.md](sub-skills\u002Fdomain-adaptation\u002FSKILL.md) |\n| NumPy\u002FTorch\u002FJAX\u002FTensorFlow\u002FCuPy backends, mixed-backend errors, optional backend checks, gradient modes, or batch OT solvers | [sub-skills\u002Fbackend-and-batch\u002FSKILL.md](sub-skills\u002Fbackend-and-batch\u002FSKILL.md) |\n\n## Minimal install and smoke check\n\n```bash\npip install POT\npython - \u003C\u003C'PY'\nimport ot\nprint(ot.__version__)\nPY\npython scripts\u002Fcheck_pot_install.py --json\n```\n\nThe base install should support NumPy\u002FSciPy workflows plus compiled extensions used by exact EMD, partial OT, and BSP-OT. Optional extras are task-specific; do not install `POT[all]` unless the user explicitly wants all optional packages and accepts licensing\u002Fruntime implications.\n\n## Solver-family decision hints\n\n- Use `ot.solve(M, ...)` when the user already has a cost matrix and wants a unified result object.\n- Use `ot.solve_sample(Xs, Xt, ...)` when the user has samples and wants POT to compute the cost matrix or choose sample-specific methods.\n- Use classical functions such as `ot.emd`, `ot.emd2`, `ot.sinkhorn`, and `ot.sinkhorn2` when the user needs the historical API or a specific solver.\n- Use unbalanced or partial APIs when total mass should not be fully conserved.\n- Use GW\u002FFGW APIs when source and target samples live in different spaces but have internal distance\u002Ffeature structures.\n- Use sliced, Gaussian\u002FGMM, low-rank, lazy, stochastic, semidiscrete, or batch routes before building huge dense cost\u002Fplan matrices.\n- Use optional backend routes only after the active environment verifies the corresponding framework.\n\n## Validation checklist\n\nFor every POT workflow, check:\n\n- Input arrays are finite, shaped as documented, and use one numerical backend per solver call.\n- Histograms are nonnegative and aligned with cost-matrix rows\u002Fcolumns.\n- Cost matrix scale matches the chosen `reg`, `reg_m`, tolerance, and approximation family.\n- Returned plans are finite, nonnegative within tolerance, and have expected shape\u002Fmass\u002Fmarginals.\n- Result objects expose the values needed by the task (`value`, `value_linear`, `value_quad`, `plan`, `potentials`, `X`, `b`, or `log`).\n- Any optional backend, plotting, CVX, DR, GNN, or GeomLoss path is installed and verified in the environment that will run it.\n",{"name":5,"license":14,"metadata":23,"description":7,"disable-model-invocation":25},{"disco-role":24},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Fpot",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":34,"prompt":44,"zipAvailable":25},[35,38,41],{"tool":36,"command":37},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill pot",{"tool":39,"command":40},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill pot",{"tool":42,"command":43},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill pot","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002FSKILL.md",[46,52,56,60,64],{"path":47,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":50,"sourceHtmlUrl":51},"references\u002Fpackage-overview.md","REFERENCE","参考文档",5451,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002Freferences\u002Fpackage-overview.md",{"path":53,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":54,"sourceHtmlUrl":55},"references\u002Frepo-provenance.md",2362,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002Freferences\u002Frepo-provenance.md",{"path":57,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":58,"sourceHtmlUrl":59},"references\u002Frepo-routing-metadata.json",433,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002Freferences\u002Frepo-routing-metadata.json",{"path":61,"resourceType":48,"resourceTypeDesc":49,"sizeBytes":62,"sourceHtmlUrl":63},"references\u002Ftroubleshooting.md",4591,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002Freferences\u002Ftroubleshooting.md",{"path":65,"resourceType":66,"resourceTypeDesc":67,"sizeBytes":68,"sourceHtmlUrl":69},"scripts\u002Fcheck_pot_install.py","SCRIPT","脚本",4074,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fpot\u002Fscripts\u002Fcheck_pot_install.py",[71,79,86,93,100,107],{"skillNo":72,"name":73,"nameZh":6,"description":74,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":76,"categories":77,"keywords":78,"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.","Apache-2.0","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-triton-opt\u002FSKILL.md",[],[],{"skillNo":80,"name":81,"nameZh":6,"description":82,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":83,"categories":84,"keywords":85,"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":87,"name":88,"nameZh":6,"description":89,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":90,"categories":91,"keywords":92,"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":94,"name":95,"nameZh":6,"description":96,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":97,"categories":98,"keywords":99,"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":101,"name":102,"nameZh":6,"description":103,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":104,"categories":105,"keywords":106,"publishedAt":18},"01M799ND2J4WNC2PGAZ0A06NDF","passnet-orchestrate","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.","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Ftask-oriented\u002FPassNet\u002Fskills\u002Fpassnet-orchestrate\u002FSKILL.md",[],[],{"skillNo":108,"name":109,"nameZh":6,"description":110,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":75,"licenseFileUrl":6,"sourceHtmlUrl":111,"categories":112,"keywords":113,"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",[],[]]