[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78Z9NDA999A767YM0SJY559":3,"skill-same:01M78Z9NDA999A767YM0SJY559":71},{"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":27,"commitSha":28,"skillDirectory":29,"forksCount":30,"repositoryHtmlUrl":31,"repositoryHomepageUrl":6,"ownerHtmlUrl":32,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":33,"install":34,"resources":46},"01M78Z9NDA999A767YM0SJY559","lightning",null,"Build, configure, debug, distribute, and deploy PyTorch Lightning and Lightning Fabric workflows using Trainer, LightningModule, LightningCLI, Fabric, accelerators, strategies, and serving utilities.","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\u002Frepositories\u002Frepo-skills\u002Flightning\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: lightning\ndescription: \"Build, configure, debug, distribute, and deploy PyTorch Lightning\n  and Lightning Fabric workflows using Trainer, LightningModule, LightningCLI,\n  Fabric, accelerators, strategies, and serving utilities.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Lightning Repo Skill\n\nUse this skill when working with Lightning, PyTorch Lightning, or Lightning Fabric training code, CLI\u002Fconfig-driven experiments, distributed accelerators, expert Fabric loops, or production prediction\u002Fserving workflows.\n\n## Start Here\n\n1. Prefer modern imports for new code: `import lightning as L`, `import lightning.pytorch as pl`, or `from lightning.fabric import Fabric`.\n2. Run a minimal import check before deeper debugging:\n\n```bash\npython -c \"import lightning as L; import lightning.pytorch as pl; from lightning.fabric import Fabric; print(L.__version__, pl.Trainer, Fabric)\"\n```\n\n3. Pick the route by user intent, not by source module name.\n4. Use bundled smoke scripts for safe local validation before suggesting long training, downloads, GPUs, multi-process launch, or servers.\n5. Treat original Lightning examples and tests as evidence only. This skill bundles reusable scripts and distilled references so future agents do not need the source checkout.\n\n## Route Map\n\n- `sub-skills\u002Ftraining-core\u002FSKILL.md`: standard `LightningModule`, `LightningDataModule`, `Trainer`, callbacks, loggers, checkpointing, tuning, reproducibility, conversion from raw PyTorch, and train\u002Fvalidate\u002Ftest\u002Fpredict loops.\n- `sub-skills\u002Ffabric-expert-loops\u002FSKILL.md`: expert-controlled PyTorch loops with `Fabric`, `fabric.setup`, `fabric.backward`, manual optimizer steps, launch, logging, checkpoint IO, and custom trainers.\n- `sub-skills\u002Fcli-configuration\u002FSKILL.md`: `LightningCLI`, `LightningArgumentParser`, YAML config, environment variables, `--print_config`, subclass modes, optimizer\u002Fscheduler injection, and saved config behavior.\n- `sub-skills\u002Fdistributed-accelerators\u002FSKILL.md`: `accelerator`, `devices`, `strategy`, `precision`, DDP, FSDP, DeepSpeed, model\u002Ftensor parallel, MPS\u002FTPU\u002FGPU, cluster, and backend troubleshooting.\n- `sub-skills\u002Fdeployment-serving\u002FSKILL.md`: prediction-only code, checkpoint inference, pure PyTorch conversion, TorchScript\u002FONNX\u002F`torch.export`, pruning\u002Fquantization, `ServableModule`, and serving validation.\n\n## Shared References\n\n- `references\u002Fpackage-overview.md`: package layout, install variants, import aliases, optional extras, and compatibility notes.\n- `references\u002Ftroubleshooting.md`: cross-cutting install\u002Fimport, dependency, version, optional-extra, and environment issues.\n- `references\u002Frepo-provenance.md`: source repository state, evidence paths, version, and refresh baseline.\n- `scripts\u002Flightning_env_report.py`: self-contained environment\u002Fimport diagnostic helper for Lightning installations.\n\n## Common Decisions\n\n- Use `Trainer` when Lightning should own loops, devices, precision, callbacks, logging, and checkpoints.\n- Use `Fabric` when the user needs a custom PyTorch loop but wants Lightning to handle device, precision, distributed setup, logging, or checkpoint helpers.\n- Use `LightningCLI` when classes should be instantiated from command-line\u002FYAML\u002Fenv config instead of hand-written argparse.\n- Use `distributed-accelerators` before recommending FSDP, DeepSpeed, TPU, MPS, FP8, or multi-node settings; runtime GPU\u002Fdistributed validation is environment-specific.\n- Use `deployment-serving` when the goal is inference, export, serving, or removing Lightning from a production runtime.\n\n## Safe Validation Commands\n\n```bash\npython scripts\u002Flightning_env_report.py --json\npython sub-skills\u002Ftraining-core\u002Fscripts\u002Flightning_smoke.py --help\npython sub-skills\u002Ffabric-expert-loops\u002Fscripts\u002Ffabric_smoke.py --help\npython sub-skills\u002Fcli-configuration\u002Fscripts\u002Flightning_cli_smoke.py --help\npython sub-skills\u002Fdistributed-accelerators\u002Fscripts\u002Fstrategy_config_check.py --help\npython sub-skills\u002Fdeployment-serving\u002Fscripts\u002Fservable_smoke.py --help\n```\n\nRun tiny CPU smoke executions only when the target environment has Lightning and Torch installed. Do not run long training, downloads, multi-process launch, server startup, or GPU-specific checks unless the user explicitly asks and the environment is suitable.\n\n## Compatibility Notes\n\n- New code should prefer the `lightning` package and `lightning.pytorch` namespace.\n- Existing code may still use `pytorch_lightning`; keep migration advice practical and avoid rewriting imports unless it is part of the task.\n- Some optional workflows require extras such as `jsonargparse[signatures]`, server packages, logger integrations, `deepspeed`, XLA, or accelerator-specific packages. Install the smallest extra that matches the selected workflow.\n","# Lightning Repo Skill\n\nUse this skill when working with Lightning, PyTorch Lightning, or Lightning Fabric training code, CLI\u002Fconfig-driven experiments, distributed accelerators, expert Fabric loops, or production prediction\u002Fserving workflows.\n\n## Start Here\n\n1. Prefer modern imports for new code: `import lightning as L`, `import lightning.pytorch as pl`, or `from lightning.fabric import Fabric`.\n2. Run a minimal import check before deeper debugging:\n\n```bash\npython -c \"import lightning as L; import lightning.pytorch as pl; from lightning.fabric import Fabric; print(L.__version__, pl.Trainer, Fabric)\"\n```\n\n3. Pick the route by user intent, not by source module name.\n4. Use bundled smoke scripts for safe local validation before suggesting long training, downloads, GPUs, multi-process launch, or servers.\n5. Treat original Lightning examples and tests as evidence only. This skill bundles reusable scripts and distilled references so future agents do not need the source checkout.\n\n## Route Map\n\n- `sub-skills\u002Ftraining-core\u002FSKILL.md`: standard `LightningModule`, `LightningDataModule`, `Trainer`, callbacks, loggers, checkpointing, tuning, reproducibility, conversion from raw PyTorch, and train\u002Fvalidate\u002Ftest\u002Fpredict loops.\n- `sub-skills\u002Ffabric-expert-loops\u002FSKILL.md`: expert-controlled PyTorch loops with `Fabric`, `fabric.setup`, `fabric.backward`, manual optimizer steps, launch, logging, checkpoint IO, and custom trainers.\n- `sub-skills\u002Fcli-configuration\u002FSKILL.md`: `LightningCLI`, `LightningArgumentParser`, YAML config, environment variables, `--print_config`, subclass modes, optimizer\u002Fscheduler injection, and saved config behavior.\n- `sub-skills\u002Fdistributed-accelerators\u002FSKILL.md`: `accelerator`, `devices`, `strategy`, `precision`, DDP, FSDP, DeepSpeed, model\u002Ftensor parallel, MPS\u002FTPU\u002FGPU, cluster, and backend troubleshooting.\n- `sub-skills\u002Fdeployment-serving\u002FSKILL.md`: prediction-only code, checkpoint inference, pure PyTorch conversion, TorchScript\u002FONNX\u002F`torch.export`, pruning\u002Fquantization, `ServableModule`, and serving validation.\n\n## Shared References\n\n- `references\u002Fpackage-overview.md`: package layout, install variants, import aliases, optional extras, and compatibility notes.\n- `references\u002Ftroubleshooting.md`: cross-cutting install\u002Fimport, dependency, version, optional-extra, and environment issues.\n- `references\u002Frepo-provenance.md`: source repository state, evidence paths, version, and refresh baseline.\n- `scripts\u002Flightning_env_report.py`: self-contained environment\u002Fimport diagnostic helper for Lightning installations.\n\n## Common Decisions\n\n- Use `Trainer` when Lightning should own loops, devices, precision, callbacks, logging, and checkpoints.\n- Use `Fabric` when the user needs a custom PyTorch loop but wants Lightning to handle device, precision, distributed setup, logging, or checkpoint helpers.\n- Use `LightningCLI` when classes should be instantiated from command-line\u002FYAML\u002Fenv config instead of hand-written argparse.\n- Use `distributed-accelerators` before recommending FSDP, DeepSpeed, TPU, MPS, FP8, or multi-node settings; runtime GPU\u002Fdistributed validation is environment-specific.\n- Use `deployment-serving` when the goal is inference, export, serving, or removing Lightning from a production runtime.\n\n## Safe Validation Commands\n\n```bash\npython scripts\u002Flightning_env_report.py --json\npython sub-skills\u002Ftraining-core\u002Fscripts\u002Flightning_smoke.py --help\npython sub-skills\u002Ffabric-expert-loops\u002Fscripts\u002Ffabric_smoke.py --help\npython sub-skills\u002Fcli-configuration\u002Fscripts\u002Flightning_cli_smoke.py --help\npython sub-skills\u002Fdistributed-accelerators\u002Fscripts\u002Fstrategy_config_check.py --help\npython sub-skills\u002Fdeployment-serving\u002Fscripts\u002Fservable_smoke.py --help\n```\n\nRun tiny CPU smoke executions only when the target environment has Lightning and Torch installed. Do not run long training, downloads, multi-process launch, server startup, or GPU-specific checks unless the user explicitly asks and the environment is suitable.\n\n## Compatibility Notes\n\n- New code should prefer the `lightning` package and `lightning.pytorch` namespace.\n- Existing code may still use `pytorch_lightning`; keep migration advice practical and avoid rewriting imports unless it is part of the task.\n- Some optional workflows require extras such as `jsonargparse[signatures]`, server packages, logger integrations, `deepspeed`, XLA, or accelerator-specific packages. Install the smallest extra that matches the selected workflow.\n",{"name":5,"license":23,"metadata":24,"description":7,"disable-model-invocation":26},"Apache 2.0",{"disco-role":25},"operating",true,"main","ac3fe1afa80fb9a09775ecfb2b6cc3ba850a2db6","skills\u002Frepositories\u002Frepo-skills\u002Flightning",27,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill","https:\u002F\u002Fgithub.com\u002FVectorSpaceLab","2026-09-03 10:25:21",{"source":8,"skillName":5,"commands":35,"prompt":45,"zipAvailable":26},[36,39,42],{"tool":37,"command":38},"npx","npx skills add VectorSpaceLab\u002FAREX-Skill --skill lightning",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill lightning",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill lightning","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002FSKILL.md",[47,53,57,61,65],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fpackage-overview.md","REFERENCE","参考文档",2991,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002Freferences\u002Fpackage-overview.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Frepo-provenance.md",1389,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002Freferences\u002Frepo-provenance.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Frepo-routing-metadata.json",446,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002Freferences\u002Frepo-routing-metadata.json",{"path":62,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":63,"sourceHtmlUrl":64},"references\u002Ftroubleshooting.md",2908,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002Freferences\u002Ftroubleshooting.md",{"path":66,"resourceType":67,"resourceTypeDesc":68,"sizeBytes":69,"sourceHtmlUrl":70},"scripts\u002Flightning_env_report.py","SCRIPT","脚本",2664,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Flightning\u002Fscripts\u002Flightning_env_report.py",[72,79,86,93,100,107],{"skillNo":73,"name":74,"nameZh":6,"description":75,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"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.","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":14,"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":14,"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":14,"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":14,"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":14,"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",[],[]]