[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M78WKDF69S31M6JC8ZMW2Y8Z":3,"skill-same:01M78WKDF69S31M6JC8ZMW2Y8Z":67},{"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},"01M78WKDF69S31M6JC8ZMW2Y8Z","workflows",null,"Compose and validate Earth2Studio deterministic and prognostic-plus-diagnostic inference workflows with coordinate-aware inputs, outputs, devices, checkpoints, and offline protocol checks.","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\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002FSKILL.md",[],[],"2026-11-15 14:19:17",false,"---\nname: workflows\ndescription: \"Compose and validate Earth2Studio deterministic and\n  prognostic-plus-diagnostic inference workflows with coordinate-aware inputs,\n  outputs, devices, checkpoints, and offline protocol checks.\"\ndisable-model-invocation: true\nmetadata:\n  disco-role: operating\nlicense: Apache 2.0\n---\n\n# Earth2Studio workflows\n\nUse this skill when a task needs a concrete Earth2Studio inference pipeline built\nfrom a prognostic model, a data source, an IO backend, and optionally a\ncoordinate-compatible diagnostic model. It owns the deterministic and\nprognostic-plus-diagnostic paths exposed by `earth2studio.run`; it does not own\nensemble orchestration, data-only retrieval, detailed backend selection, or\nremote serving.\n\n## Decide the path\n\n1. Clarify initialization times, forecast horizon, variables, spatial domain,\n   output format, and CPU\u002FGPU constraints. Use ISO-8601 strings, `datetime`, or\n   `np.datetime64` values for `time`.\n2. Select a prognostic class whose `input_coords()` can be supplied by the\n   selected `DataSource` or `ForecastSource`. Inspect its `output_coords()` to\n   learn the model step and output variables; do not assume all models use the\n   same grid or lead time.\n3. Add a diagnostic only when a derived field is required. Its\n   `input_coords()` must be mappable from each prognostic output, and its\n   `output_coords()` determines the variables written by `run.diagnostic`.\n4. Select an IO object and initialize it outside the workflow. The run function\n   mutates and returns the same IO object. See [API reference](references\u002Fapi-reference.md)\n   for the narrow IO contract and supported public backend names.\n5. Calculate `nsteps` from the model's advertised lead-time increment. A run\n   writes the initial state plus `nsteps` forecast steps, so the lead-time axis\n   has `nsteps + 1` entries.\n\n## Load components\n\nFor a packaged model, use the class's public loading pair; the package handle\nis lightweight, while `load_model` may access remote or cached assets:\n\n```python\nfrom earth2studio.models.px import \u003CPrognosticClass>\n\nprognostic = \u003CPrognosticClass>.load_model(\n    \u003CPrognosticClass>.load_default_package()\n)\n```\n\nUse the analogous pair from `earth2studio.models.dx` for a diagnostic. Model\nclasses can require targeted optional extras and model-specific hardware; do\nnot recommend an extra until the chosen class's installation notes are known.\nA network-free smoke path uses `Persistence`, `Identity`, `Random`, and\n`ZarrBackend`; it checks protocol and coordinate behavior without model\nweights. See [workflow recipes](references\u002Fworkflows.md).\n\n## Run deterministic inference\n\nConstruct `data` and `io`, inspect `prognostic.input_coords()`, then call:\n\n```python\nfrom earth2studio import run\n\nresult = run.deterministic(\n    time=[\"2024-01-01T00:00:00\"],\n    nsteps=8,\n    prognostic=prognostic,\n    data=data,\n    io=io,\n    output_coords=output_coords,  # omit or use OrderedDict({}) for all output\n    device=device,                # None selects CUDA when available, else CPU\n    verbose=True,\n    checkpoint=checkpoint,         # optional checkpoint manager\u002Fsession\n)\n```\n\n`run.deterministic` fetches the prognostic initial-condition variables and\nlead times, maps them to the model grid, iterates from the initial state,\napplies `output_coords` at each step, and calls `io.write`. It returns `io`, not a new\nresult wrapper. Use a small `nsteps` and `verbose=False` for a smoke run.\n\n## Run diagnostic inference\n\nKeep the same initial-condition and prognostic setup, load a diagnostic, and\ncall `run.diagnostic(time, nsteps, prognostic, diagnostic, data, io, ...)`.\nThe workflow maps each prognostic step to `diagnostic.input_coords()`, invokes\nthe diagnostic, then maps to `output_coords` before writing. Its output is the\ndiagnostic result; it does not retain the prognostic fields in the output\nbackend. If both are required, compose a custom workflow rather than assuming\nthis built-in path stores both.\n\n## Coordinate and horizon checks\n\nBefore a live run:\n\n- Compare `data` variables with `prognostic.input_coords()[\"variable\"]`.\n- Read the model's `lead_time` increment and use an integer `nsteps`.\n- Preserve coordinate key order: keys describe tensor dimensions. Common keys\n  are `batch`, `time`, `lead_time`, `variable`, `lat`, and `lon`.\n- Keep `output_coords` a subset of produced dimensions. Variable restrictions\n  must name produced variables; spatial restrictions may select or nearest-map\n  numeric 1-D coordinates. Empty arrays are used by model protocols for free\n  dimensions; do not use empty output overrides unless the backend contract\n  explicitly permits them.\n- For a diagnostic, check every required diagnostic dimension and variable can\n  be mapped from the prognostic output. Exact grid handshakes may still be\n  required by a model even where the workflow can numerically map coordinates.\n- Run the bundled offline checker before spending network or GPU resources:\n  `python path\u002Fto\u002Fcheck_workflow_config.py --config workflow.json`.\n\nSee [workflows](references\u002Fworkflows.md) for runnable CPU mock examples and\n[troubleshooting](references\u002Ftroubleshooting.md) for recovery by failure class.\n\n## Boundaries and omissions\n\nThis sub-skill intentionally omits `run.ensemble` and perturbation\u002Fbatch-size\norchestration, a catalog of IO backend options, custom model implementation,\nfull data-source selection, serving clients, and model-weight download\nprocedures. It names public interfaces and targeted-extra constraints but does\nnot claim exhaustive model, data, or backend coverage. Use the sibling skill\nfor deterministic forecast selection when the task is only model\u002Fdata\u002Fhorizon\nrecommendation; use data-fetch or installation guidance for those concerns.\n\n## Handoff checks\n\nReport the selected workflow, model\u002Fdata\u002Fdiagnostic classes, initialization\ntimes, `nsteps` and implied lead-time horizon, output coordinate restriction,\ndevice, IO backend, whether weights\u002Fdata are downloaded, and the validation\nperformed. Preserve unresolved coordinate, optional-extra, credential, and\nhardware limits instead of presenting a smoke test as a scientific forecast.\n\n- [API and signatures](references\u002Fapi-reference.md)\n- [Workflow recipes and validation](references\u002Fworkflows.md)\n- [Predictable failures](references\u002Ftroubleshooting.md)\n- [Offline configuration checker](scripts\u002Fcheck_workflow_config.py)\n","# Earth2Studio workflows\n\nUse this skill when a task needs a concrete Earth2Studio inference pipeline built\nfrom a prognostic model, a data source, an IO backend, and optionally a\ncoordinate-compatible diagnostic model. It owns the deterministic and\nprognostic-plus-diagnostic paths exposed by `earth2studio.run`; it does not own\nensemble orchestration, data-only retrieval, detailed backend selection, or\nremote serving.\n\n## Decide the path\n\n1. Clarify initialization times, forecast horizon, variables, spatial domain,\n   output format, and CPU\u002FGPU constraints. Use ISO-8601 strings, `datetime`, or\n   `np.datetime64` values for `time`.\n2. Select a prognostic class whose `input_coords()` can be supplied by the\n   selected `DataSource` or `ForecastSource`. Inspect its `output_coords()` to\n   learn the model step and output variables; do not assume all models use the\n   same grid or lead time.\n3. Add a diagnostic only when a derived field is required. Its\n   `input_coords()` must be mappable from each prognostic output, and its\n   `output_coords()` determines the variables written by `run.diagnostic`.\n4. Select an IO object and initialize it outside the workflow. The run function\n   mutates and returns the same IO object. See [API reference](references\u002Fapi-reference.md)\n   for the narrow IO contract and supported public backend names.\n5. Calculate `nsteps` from the model's advertised lead-time increment. A run\n   writes the initial state plus `nsteps` forecast steps, so the lead-time axis\n   has `nsteps + 1` entries.\n\n## Load components\n\nFor a packaged model, use the class's public loading pair; the package handle\nis lightweight, while `load_model` may access remote or cached assets:\n\n```python\nfrom earth2studio.models.px import \u003CPrognosticClass>\n\nprognostic = \u003CPrognosticClass>.load_model(\n    \u003CPrognosticClass>.load_default_package()\n)\n```\n\nUse the analogous pair from `earth2studio.models.dx` for a diagnostic. Model\nclasses can require targeted optional extras and model-specific hardware; do\nnot recommend an extra until the chosen class's installation notes are known.\nA network-free smoke path uses `Persistence`, `Identity`, `Random`, and\n`ZarrBackend`; it checks protocol and coordinate behavior without model\nweights. See [workflow recipes](references\u002Fworkflows.md).\n\n## Run deterministic inference\n\nConstruct `data` and `io`, inspect `prognostic.input_coords()`, then call:\n\n```python\nfrom earth2studio import run\n\nresult = run.deterministic(\n    time=[\"2024-01-01T00:00:00\"],\n    nsteps=8,\n    prognostic=prognostic,\n    data=data,\n    io=io,\n    output_coords=output_coords,  # omit or use OrderedDict({}) for all output\n    device=device,                # None selects CUDA when available, else CPU\n    verbose=True,\n    checkpoint=checkpoint,         # optional checkpoint manager\u002Fsession\n)\n```\n\n`run.deterministic` fetches the prognostic initial-condition variables and\nlead times, maps them to the model grid, iterates from the initial state,\napplies `output_coords` at each step, and calls `io.write`. It returns `io`, not a new\nresult wrapper. Use a small `nsteps` and `verbose=False` for a smoke run.\n\n## Run diagnostic inference\n\nKeep the same initial-condition and prognostic setup, load a diagnostic, and\ncall `run.diagnostic(time, nsteps, prognostic, diagnostic, data, io, ...)`.\nThe workflow maps each prognostic step to `diagnostic.input_coords()`, invokes\nthe diagnostic, then maps to `output_coords` before writing. Its output is the\ndiagnostic result; it does not retain the prognostic fields in the output\nbackend. If both are required, compose a custom workflow rather than assuming\nthis built-in path stores both.\n\n## Coordinate and horizon checks\n\nBefore a live run:\n\n- Compare `data` variables with `prognostic.input_coords()[\"variable\"]`.\n- Read the model's `lead_time` increment and use an integer `nsteps`.\n- Preserve coordinate key order: keys describe tensor dimensions. Common keys\n  are `batch`, `time`, `lead_time`, `variable`, `lat`, and `lon`.\n- Keep `output_coords` a subset of produced dimensions. Variable restrictions\n  must name produced variables; spatial restrictions may select or nearest-map\n  numeric 1-D coordinates. Empty arrays are used by model protocols for free\n  dimensions; do not use empty output overrides unless the backend contract\n  explicitly permits them.\n- For a diagnostic, check every required diagnostic dimension and variable can\n  be mapped from the prognostic output. Exact grid handshakes may still be\n  required by a model even where the workflow can numerically map coordinates.\n- Run the bundled offline checker before spending network or GPU resources:\n  `python path\u002Fto\u002Fcheck_workflow_config.py --config workflow.json`.\n\nSee [workflows](references\u002Fworkflows.md) for runnable CPU mock examples and\n[troubleshooting](references\u002Ftroubleshooting.md) for recovery by failure class.\n\n## Boundaries and omissions\n\nThis sub-skill intentionally omits `run.ensemble` and perturbation\u002Fbatch-size\norchestration, a catalog of IO backend options, custom model implementation,\nfull data-source selection, serving clients, and model-weight download\nprocedures. It names public interfaces and targeted-extra constraints but does\nnot claim exhaustive model, data, or backend coverage. Use the sibling skill\nfor deterministic forecast selection when the task is only model\u002Fdata\u002Fhorizon\nrecommendation; use data-fetch or installation guidance for those concerns.\n\n## Handoff checks\n\nReport the selected workflow, model\u002Fdata\u002Fdiagnostic classes, initialization\ntimes, `nsteps` and implied lead-time horizon, output coordinate restriction,\ndevice, IO backend, whether weights\u002Fdata are downloaded, and the validation\nperformed. Preserve unresolved coordinate, optional-extra, credential, and\nhardware limits instead of presenting a smoke test as a scientific forecast.\n\n- [API and signatures](references\u002Fapi-reference.md)\n- [Workflow recipes and validation](references\u002Fworkflows.md)\n- [Predictable failures](references\u002Ftroubleshooting.md)\n- [Offline configuration checker](scripts\u002Fcheck_workflow_config.py)\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\u002Fearth2studio\u002Fsub-skills\u002Fworkflows",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 workflows",{"tool":40,"command":41},"bunx","bunx skills add VectorSpaceLab\u002FAREX-Skill --skill workflows",{"tool":43,"command":44},"pnpm","pnpm dlx skills add VectorSpaceLab\u002FAREX-Skill --skill workflows","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002FSKILL.md",[47,53,57,61],{"path":48,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":51,"sourceHtmlUrl":52},"references\u002Fapi-reference.md","REFERENCE","参考文档",7153,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002Freferences\u002Fapi-reference.md",{"path":54,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":55,"sourceHtmlUrl":56},"references\u002Ftroubleshooting.md",6195,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002Freferences\u002Ftroubleshooting.md",{"path":58,"resourceType":49,"resourceTypeDesc":50,"sizeBytes":59,"sourceHtmlUrl":60},"references\u002Fworkflows.md",7075,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002Freferences\u002Fworkflows.md",{"path":62,"resourceType":63,"resourceTypeDesc":64,"sizeBytes":65,"sourceHtmlUrl":66},"scripts\u002Fcheck_workflow_config.py","SCRIPT","脚本",2626,"https:\u002F\u002Fgithub.com\u002FVectorSpaceLab\u002FAREX-Skill\u002Fblob\u002Fmain\u002Fskills\u002Frepositories\u002Frepo-skills\u002Fearth2studio\u002Fsub-skills\u002Fworkflows\u002Fscripts\u002Fcheck_workflow_config.py",[68,75,82,89,96,103],{"skillNo":69,"name":70,"nameZh":6,"description":71,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":72,"categories":73,"keywords":74,"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":76,"name":77,"nameZh":6,"description":78,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":79,"categories":80,"keywords":81,"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":83,"name":84,"nameZh":6,"description":85,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":86,"categories":87,"keywords":88,"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":90,"name":91,"nameZh":6,"description":92,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":93,"categories":94,"keywords":95,"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":97,"name":98,"nameZh":6,"description":99,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":100,"categories":101,"keywords":102,"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":104,"name":105,"nameZh":6,"description":106,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":6,"repositoryNo":12,"starsCount":13,"licenseSpdxId":14,"licenseFileUrl":6,"sourceHtmlUrl":107,"categories":108,"keywords":109,"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",[],[]]